Lines Matching refs:linenr
1360 my ($linenr, $remain, $off) = @_;
1361 my $line = $linenr - 1;
1537 my ($linenr, $remain, $off) = @_;
1543 ($statement, $condition, $linenr, $remain, $off, $level) =
1544 ctx_statement_block($linenr, $remain, $off);
1548 return ($level, $linenr, @chunks);
1554 ($statement, $condition, $linenr, $remain, $off, $level) =
1555 ctx_statement_block($linenr, $remain, $off);
1562 return ($level, $linenr, @chunks);
1566 my ($linenr, $remain, $outer, $open, $close, $off) = @_;
1568 my $start = $linenr - 1;
1616 my ($linenr, $remain) = @_;
1618 my ($level, @r) = ctx_block_get($linenr, $remain, 1, '{', '}', 0);
1622 my ($linenr, $remain) = @_;
1624 my ($level, @r) = ctx_block_get($linenr, $remain, 0, '{', '}', 0);
1628 my ($linenr, $remain, $off) = @_;
1630 my ($level, @r) = ctx_block_get($linenr, $remain, 0, '(', ')', $off);
1634 my ($linenr, $remain) = @_;
1636 return ctx_block_get($linenr, $remain, 0, '{', '}', 0);
1639 my ($linenr, $remain, $off) = @_;
1641 return ctx_block_get($linenr, $remain, 0, '(', ')', $off);
1655 for (my $linenr = $first_line; $linenr < $end_line; $linenr++) {
1656 my $line = $rawlines[$linenr - 1];
1658 if ($linenr == $first_line and $line =~ m@^.\s*\*@) {
1687 my ($linenr, $cnt) = @_;
1689 my $offset = $linenr - 1;
1703 my ($linenr, $lc) = @_;
1705 my $stat_real = raw_line($linenr, 0);
1706 for (my $count = $linenr + 1; $count <= $lc; $count++) {
1714 my ($linenr, $cnt, $here) = @_;
1718 $herectx .= raw_line($linenr, $n) . "\n";
2117 my ($linenr, $line) = @_;
2120 LINENR => $linenr,
2127 my ($linenr, $line) = @_;
2130 LINENR => $linenr,
2276 my $linenr=0;
2346 $linenr++;
2373 for (my $ln = $linenr + 1; $cnt > 0; $ln++) {
2393 $rawlines[$linenr] =~ m@^.\s*(?:\*\*+| \*)(?:\s|$)@)
2425 $linenr = 0;
2428 $linenr++;
2433 my $rawline = $rawlines[$linenr - 1];
2448 $first_line = $linenr + 1;
2492 $here = "#$linenr: " if (!$file);
2528 $prefix = "$filename:$linenr: ";
2701 if (!defined $lines[$linenr]) {
2704 } elsif ($rawlines[$linenr] !~ /^\s*signed-off-by:\s*(.*)/i) {
2706 …st be immediately followed by Signed-off-by:\n" . "$here\n" . $rawline . "\n" .$rawlines[$linenr]);
2709 … and Signed-off-by: name/email do not match \n" . "$here\n" . $rawline . "\n" .$rawlines[$linenr]);
2795 defined $rawlines[$linenr] &&
2796 $rawlines[$linenr] =~ /^\s*\("([^"]+)"\)/) {
2800 defined $rawlines[$linenr] &&
2801 $rawlines[$linenr] =~ /^\s*[^"]+"\)/) {
2804 $rawlines[$linenr] =~ /^\s*([^"]+)"\)/;
2962 my $ln = $linenr + 1;
3182 …if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file…
3364 $last_blank_line != ($linenr - 1)) {
3371 $last_blank_line = $linenr;
3456 defined $lines[$linenr] &&
3457 $lines[$linenr] !~ /^[ \+]\t{$tabs,$tabs}return/)) {
3489 if ($linenr > $suppress_statement &&
3492 ctx_statement_block($linenr, $realcnt, 0);
3570 my @ctx = ctx_block_outer($linenr, $realcnt);
3593 my ($level, @ctx) = ctx_statement_level($linenr, $realcnt, 0);
3603 my $ctx_ln = $linenr;
3638 ctx_statement_block($linenr, $realcnt, 0)
3711 my $stat_real = raw_line($linenr, $cond_lines);
3743 print "$linenr > .$outline\n";
3744 print "$linenr > $curr_values\n";
3745 print "$linenr > $curr_vars\n";
3893 if (!defined $suppress_export{$linenr} &&
3898 $suppress_export{$linenr} = 2;
3900 if (defined $suppress_export{$linenr} &&
3901 $suppress_export{$linenr} == 2) {
4770 my $rl = raw_line($linenr, $n);
4813 $linenr >= 3 &&
4814 $lines[$linenr - 3] =~ /^[ +]/ &&
4815 $lines[$linenr - 3] !~ /^[ +]\s*$Ident\s*:/) {
4886 ctx_statement_block($linenr, $realcnt, 0)
4905 if (!defined $suppress_whiletrailers{$linenr} &&
4928 $stat_real = raw_line($linenr, $cond_lines)
5003 my ($s, $c) = ctx_statement_block($linenr, $realcnt, 0);
5094 my $ln = $linenr;
5101 ctx_statement_block($linenr, $realcnt, 0);
5159 my $herectx = get_stat_here($linenr, $stmt_cnt, $here);
5232 my $herectx = get_stat_here($linenr, $cnt, $here);
5256 my $ln = $linenr;
5261 ctx_statement_block($linenr, $realcnt, 0);
5273 my $herectx = get_stat_here($linenr, $cnt, $here);
5287 my $herectx = get_stat_here($linenr, $cnt, $here);
5297 ctx_statement_full($linenr, $realcnt, 1);
5305 my $ln = $linenr - 1;
5357 if (!defined $suppress_ifbraces{$linenr - 1} &&
5368 ctx_statement_full($linenr, $realcnt, $-[0]);
5401 my $herectx = get_stat_here($linenr, $cnt, $here);
5448 $last_coalesced_string_linenr != $linenr - 1) {
5466 $last_coalesced_string_linenr = $linenr;
5578 if ($lines[$linenr - 2] =~ /^\+(\t*)if\s*\(\s*$tested\s*\)\s*$/) {
5583 if ($lines[$linenr - 1] =~ /^\+(\t+)$func\s*\(\s*$tested\s*\)\s*;\s*$/) {
5603 $linenr > 3) {
5605 my $testline = $lines[$linenr - 3];
5607 my ($s, $c) = ctx_statement_block($linenr - 3, $realcnt, 0);
5782 if (!ctx_has_comment($first_line, $linenr)) {
5810 if (!ctx_has_comment($first_line, $linenr)) {
5828 if (!ctx_has_comment($first_line, $linenr)) {
6016 $lc = $lc + $linenr;
6017 for (my $count = $linenr; $count <= $lc; $count++) {
6033 $stat_real = get_stat_real($linenr, $lc);
6040 my $stat_real = get_stat_real($linenr, $lc);
6163 $lc = $lc + $linenr;
6164 my $stat_real = get_stat_real($linenr, $lc);
6174 $lc = $lc + $linenr;
6175 my $stat_real = get_stat_real($linenr, $lc);
6252 my $rl = raw_line($linenr, $n);
6306 my $herectx = get_stat_here($linenr, $cnt, $here);
6367 my $prevline = $linenr;
6392 my $herectx = get_stat_here($linenr, $cnt, $here);
6623 $lc = $lc + $linenr;
6624 my $stat_real = get_stat_real($linenr, $lc);