Lines Matching refs:lines
295 my @lines = ();
322 @lines = ();
507 last if (!defined $lines[$line]);
508 next if ($lines[$line] =~ /^-/);
511 $blk .= $lines[$line] . "\n";
694 if ($lines[$line] =~ /^.\s*#\s*(?:ifndef|ifdef|if)\s/) {
696 } elsif ($lines[$line] =~ /^.\s*#\s*(?:else|elif)\b/) {
698 } elsif ($lines[$line] =~ /^.\s*#\s*endif\b/) {
702 foreach my $c (split(//, $lines[$line])) {
1258 push(@lines, $line);
1278 foreach my $line (@lines) {
1438 while ($cnt > 0 && defined $lines[$ln - 1]) {
1439 $f = $lines[$ln - 1];
1440 $cnt-- if ($lines[$ln - 1] !~ /^-/);
1441 $is_end = $lines[$ln - 1] =~ /^\+/;
1478 …if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file…
1552 (!defined $lines[$realline_next - 1] ||
1553 substr($lines[$realline_next - 1], $off_next) =~ /^\s*$/)) {
1643 defined $lines[$ctx_ln - 1] &&
1644 $lines[$ctx_ln - 1] =~ /^-/)) {
1646 $ctx_skip-- if (!defined $lines[$ctx_ln - 1] || $lines[$ctx_ln - 1] !~ /^-/);
1653 if ($ctx !~ /{\s*/ && defined($lines[$ctx_ln -1]) && $lines[$ctx_ln - 1] =~ /^\+\s*{/) {
1659 defined $lines[$ctx_ln - 1])
1661 my ($nlength, $nindent) = line_stats($lines[$ctx_ln - 1]);
1821 exists $lines[$realline_next - 1] &&
1823 ($lines[$realline_next - 1] =~ /EXPORT_SYMBOL.*\((.*)\)/ ||
1824 $lines[$realline_next - 1] =~ /EXPORT_UNUSED_SYMBOL.*\((.*)\)/)) {
1962 if ($lines[$ln - 1] =~ m{\bprintk\(}) {
2450 while ($cnt > 0 && defined $lines[$ln - 1] &&
2451 $lines[$ln - 1] =~ /^(?:-|..*\\$)/)
2454 $cnt-- if ($lines[$ln - 1] !~ /^-/);
2469 if ($off != 0 || $lines[$ln - 1] !~ /^-/) {
2470 $rest .= substr($lines[$ln - 1], $off) . "\n";