Lines Matching refs:lines
621 my @lines = split('\n', $text);
623 foreach my $line (@lines) {
700 my @lines = split("\n", $output);
702 return ($id, $desc) if ($#lines < 0);
704 if ($lines[0] =~ /^error: short SHA1 $commit is ambiguous\./) {
714 …} elsif ($lines[0] =~ /^fatal: ambiguous argument '$commit': unknown revision or path not in the w…
716 $id = substr($lines[0], 0, 12);
717 $desc = substr($lines[0], 41);
726 my @lines = ();
765 @lines = ();
1078 last if (!defined $lines[$line]);
1079 next if ($lines[$line] =~ /^-/);
1082 $blk .= $lines[$line] . "\n";
1276 if ($lines[$line] =~ /^.\s*#\s*(?:ifndef|ifdef|if)\s/) {
1278 } elsif ($lines[$line] =~ /^.\s*#\s*(?:else|elif)\b/) {
1280 } elsif ($lines[$line] =~ /^.\s*#\s*endif\b/) {
1284 foreach my $c (split(//, $lines[$line])) {
1707 my @lines = split("\n", $output, -1);
1708 splice(@lines, 1, 1);
1709 $output = join("\n", @lines);
1746 my @lines = ();
1764 fixup_current_range(\$lines[$range_last_linenr], $delta_offset--, -1);
1768 push(@lines, ${$inserted}{'LINE'});
1771 fixup_current_range(\$lines[$range_last_linenr], $delta_offset++, 1);
1775 push(@lines, $line);
1782 return @lines;
2067 push(@lines, $line);
2088 foreach my $line (@lines) {
2535 for (; $cnt > 0 && defined $lines[$ln - 1]; $ln++) {
2536 $f = $lines[$ln - 1];
2537 $cnt-- if ($lines[$ln - 1] !~ /^-/);
2538 $is_end = $lines[$ln - 1] =~ /^\+/;
2543 if ($lines[$ln - 1] =~ /^\+\s*(?:bool|tristate)\s*\"/) {
2545 } elsif ($lines[$ln - 1] =~ /^\+\s*(?:---)?help(?:---)?$/) {
2681 …if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file…
2908 defined $lines[$linenr] &&
2909 $lines[$linenr] !~ /^[ \+]\t{$tabs,$tabs}return/)) {
2979 (!defined $lines[$realline_next - 1] ||
2980 substr($lines[$realline_next - 1], $off_next) =~ /^\s*$/)) {
3077 defined $lines[$ctx_ln - 1] &&
3078 $lines[$ctx_ln - 1] =~ /^-/)) {
3080 $ctx_skip-- if (!defined $lines[$ctx_ln - 1] || $lines[$ctx_ln - 1] !~ /^-/);
3087 if ($ctx !~ /{\s*/ && defined($lines[$ctx_ln - 1]) && $lines[$ctx_ln - 1] =~ /^\+\s*{/) {
3094 defined $lines[$ctx_ln - 1])
3096 my ($nlength, $nindent) = line_stats($lines[$ctx_ln - 1]);
3297 exists $lines[$realline_next - 1] &&
3299 ($lines[$realline_next - 1] =~ /EXPORT_SYMBOL.*\((.*)\)/ ||
3300 $lines[$realline_next - 1] =~ /EXPORT_UNUSED_SYMBOL.*\((.*)\)/)) {
3525 if ($lines[$ln - 1] =~ m{\bprintk\(}) {
4216 $lines[$linenr - 3] =~ /^[ +]/ &&
4217 $lines[$linenr - 3] !~ /^[ +]\s*$Ident\s*:/) {
4916 if ($lines[$linenr - 2] =~ /^\+(\t*)if\s*\(\s*$tested\s*\)\s*$/) {
4921 if ($lines[$linenr - 1] =~ /^\+(\t+)$func\s*\(\s*$tested\s*\)\s*;\s*$/) {
4943 my $testline = $lines[$linenr - 3];
5547 my $fline = $lines[$prevline - 1];