Lines Matching refs:lines
789 my @lines = split('\n', $text);
791 foreach my $line (@lines) {
878 my @lines = split("\n", $output);
880 return ($id, $desc) if ($#lines < 0);
882 if ($lines[0] =~ /^error: short SHA1 $commit is ambiguous\./) {
892 …} elsif ($lines[0] =~ /^fatal: ambiguous argument '$commit': unknown revision or path not in the w…
895 $id = substr($lines[0], 0, 12);
896 $desc = substr($lines[0], 41);
905 my @lines = ();
926 my $lines = `git log --no-color --no-merges --pretty=format:'%H %s' $git_range`;
927 foreach my $line (split(/\n/, $lines)) {
978 @lines = ();
1296 last if (!defined $lines[$line]);
1297 next if ($lines[$line] =~ /^-/);
1300 $blk .= $lines[$line] . "\n";
1494 if ($lines[$line] =~ /^.\s*#\s*(?:ifndef|ifdef|if)\s/) {
1496 } elsif ($lines[$line] =~ /^.\s*#\s*(?:else|elif)\b/) {
1498 } elsif ($lines[$line] =~ /^.\s*#\s*endif\b/) {
1502 foreach my $c (split(//, $lines[$line])) {
1927 my @lines = split("\n", $output, -1);
1928 splice(@lines, 1, 1);
1929 $output = join("\n", @lines);
1966 my @lines = ();
1984 fixup_current_range(\$lines[$range_last_linenr], $delta_offset--, -1);
1988 push(@lines, ${$inserted}{'LINE'});
1991 fixup_current_range(\$lines[$range_last_linenr], $delta_offset++, 1);
1995 push(@lines, $line);
2002 return @lines;
2289 push(@lines, $line);
2310 foreach my $line (@lines) {
2773 for (; $cnt > 0 && defined $lines[$ln - 1]; $ln++) {
2774 $f = $lines[$ln - 1];
2775 $cnt-- if ($lines[$ln - 1] !~ /^-/);
2776 $is_end = $lines[$ln - 1] =~ /^\+/;
2781 if ($lines[$ln - 1] =~ /^\+\s*(?:bool|tristate)\s*\"/) {
2783 } elsif ($lines[$ln - 1] =~ /^\+\s*(?:---)?help(?:---)?$/) {
2927 …if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file…
3202 defined $lines[$linenr] &&
3203 $lines[$linenr] !~ /^[ \+]\t{$tabs,$tabs}return/)) {
3267 (!defined $lines[$realline_next - 1] ||
3268 substr($lines[$realline_next - 1], $off_next) =~ /^\s*$/)) {
3365 defined $lines[$ctx_ln - 1] &&
3366 $lines[$ctx_ln - 1] =~ /^-/)) {
3368 $ctx_skip-- if (!defined $lines[$ctx_ln - 1] || $lines[$ctx_ln - 1] !~ /^-/);
3375 if ($ctx !~ /{\s*/ && defined($lines[$ctx_ln - 1]) && $lines[$ctx_ln - 1] =~ /^\+\s*{/) {
3382 defined $lines[$ctx_ln - 1])
3384 my ($nlength, $nindent) = line_stats($lines[$ctx_ln - 1]);
3623 exists $lines[$realline_next - 1] &&
3625 ($lines[$realline_next - 1] =~ /EXPORT_SYMBOL.*\((.*)\)/ ||
3626 $lines[$realline_next - 1] =~ /EXPORT_UNUSED_SYMBOL.*\((.*)\)/)) {
3842 if ($lines[$ln - 1] =~ m{\bprintk\(}) {
4533 $lines[$linenr - 3] =~ /^[ +]/ &&
4534 $lines[$linenr - 3] !~ /^[ +]\s*$Ident\s*:/) {
5319 if ($lines[$linenr - 2] =~ /^\+(\t*)if\s*\(\s*$tested\s*\)\s*$/) {
5324 if ($lines[$linenr - 1] =~ /^\+(\t+)$func\s*\(\s*$tested\s*\)\s*;\s*$/) {
5346 my $testline = $lines[$linenr - 3];
5746 my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0));
6087 my $fline = $lines[$prevline - 1];