Lines Matching refs:linenr
1426 my ($linenr, $remain, $off) = @_;
1427 my $line = $linenr - 1;
1603 my ($linenr, $remain, $off) = @_;
1609 ($statement, $condition, $linenr, $remain, $off, $level) =
1610 ctx_statement_block($linenr, $remain, $off);
1614 return ($level, $linenr, @chunks);
1620 ($statement, $condition, $linenr, $remain, $off, $level) =
1621 ctx_statement_block($linenr, $remain, $off);
1628 return ($level, $linenr, @chunks);
1632 my ($linenr, $remain, $outer, $open, $close, $off) = @_;
1634 my $start = $linenr - 1;
1682 my ($linenr, $remain) = @_;
1684 my ($level, @r) = ctx_block_get($linenr, $remain, 1, '{', '}', 0);
1688 my ($linenr, $remain) = @_;
1690 my ($level, @r) = ctx_block_get($linenr, $remain, 0, '{', '}', 0);
1694 my ($linenr, $remain, $off) = @_;
1696 my ($level, @r) = ctx_block_get($linenr, $remain, 0, '(', ')', $off);
1700 my ($linenr, $remain) = @_;
1702 return ctx_block_get($linenr, $remain, 0, '{', '}', 0);
1705 my ($linenr, $remain, $off) = @_;
1707 return ctx_block_get($linenr, $remain, 0, '(', ')', $off);
1729 for (my $linenr = $first_line; $linenr < $end_line; $linenr++) {
1730 my $line = $rawlines[$linenr - 1];
1732 if ($linenr == $first_line and $line =~ m@^.\s*\*@) {
1761 my ($linenr, $cnt) = @_;
1763 my $offset = $linenr - 1;
1777 my ($linenr, $lc) = @_;
1779 my $stat_real = raw_line($linenr, 0);
1780 for (my $count = $linenr + 1; $count <= $lc; $count++) {
1788 my ($linenr, $cnt, $here) = @_;
1792 $herectx .= raw_line($linenr, $n) . "\n";
2191 my ($linenr, $line) = @_;
2194 LINENR => $linenr,
2201 my ($linenr, $line) = @_;
2204 LINENR => $linenr,
2363 my $linenr=0;
2435 $linenr++;
2462 for (my $ln = $linenr + 1; $cnt > 0; $ln++) {
2482 $rawlines[$linenr] =~ m@^.\s*(?:\*\*+| \*)(?:\s|$)@)
2514 $linenr = 0;
2517 $linenr++;
2522 my $rawline = $rawlines[$linenr - 1];
2538 $first_line = $linenr + 1;
2582 $here = "#$linenr: " if (!$file);
2618 $prefix = "$filename:$linenr: ";
2693 my $curline = $linenr;
2826 if (!defined $lines[$linenr]) {
2829 } elsif ($rawlines[$linenr] !~ /^\s*signed-off-by:\s*(.*)/i) {
2831 …st be immediately followed by Signed-off-by:\n" . "$here\n" . $rawline . "\n" .$rawlines[$linenr]);
2834 … and Signed-off-by: name/email do not match \n" . "$here\n" . $rawline . "\n" .$rawlines[$linenr]);
2920 defined $rawlines[$linenr] &&
2921 $rawlines[$linenr] =~ /^\s*\("([^"]+)"\)/) {
2925 defined $rawlines[$linenr] &&
2926 $rawlines[$linenr] =~ /^\s*[^"]+"\)/) {
2929 $rawlines[$linenr] =~ /^\s*([^"]+)"\)/;
3131 my $ln = $linenr + 1;
3395 …if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file…
3577 $last_blank_line != ($linenr - 1)) {
3584 $last_blank_line = $linenr;
3669 defined $lines[$linenr] &&
3670 $lines[$linenr] !~ /^[ \+]\t{$tabs,$tabs}return/)) {
3702 if ($linenr > $suppress_statement &&
3705 ctx_statement_block($linenr, $realcnt, 0);
3783 my @ctx = ctx_block_outer($linenr, $realcnt);
3806 my ($level, @ctx) = ctx_statement_level($linenr, $realcnt, 0);
3816 my $ctx_ln = $linenr;
3851 ctx_statement_block($linenr, $realcnt, 0)
3924 my $stat_real = raw_line($linenr, $cond_lines);
3956 print "$linenr > .$outline\n";
3957 print "$linenr > $curr_values\n";
3958 print "$linenr > $curr_vars\n";
4117 if (!defined $suppress_export{$linenr} &&
4122 $suppress_export{$linenr} = 2;
4124 if (defined $suppress_export{$linenr} &&
4125 $suppress_export{$linenr} == 2) {
5002 my $rl = raw_line($linenr, $n);
5029 my $herectx = get_stat_here($linenr, $cnt, $here);
5056 $linenr >= 3 &&
5057 $lines[$linenr - 3] =~ /^[ +]/ &&
5058 $lines[$linenr - 3] !~ /^[ +]\s*$Ident\s*:/) {
5129 ctx_statement_block($linenr, $realcnt, 0)
5148 if (!defined $suppress_whiletrailers{$linenr} &&
5193 $stat_real = raw_line($linenr, $cond_lines)
5268 my ($s, $c) = ctx_statement_block($linenr, $realcnt, 0);
5360 my $ln = $linenr;
5367 ctx_statement_block($linenr, $realcnt, 0);
5425 my $herectx = get_stat_here($linenr, $stmt_cnt, $here);
5499 my $herectx = get_stat_here($linenr, $cnt, $here);
5523 my $ln = $linenr;
5528 ctx_statement_block($linenr, $realcnt, 0);
5540 my $herectx = get_stat_here($linenr, $cnt, $here);
5554 my $herectx = get_stat_here($linenr, $cnt, $here);
5564 ctx_statement_full($linenr, $realcnt, 1);
5572 my $ln = $linenr - 1;
5624 if (!defined $suppress_ifbraces{$linenr - 1} &&
5635 ctx_statement_full($linenr, $realcnt, $-[0]);
5668 my $herectx = get_stat_here($linenr, $cnt, $here);
5715 $last_coalesced_string_linenr != $linenr - 1) {
5733 $last_coalesced_string_linenr = $linenr;
5845 if ($lines[$linenr - 2] =~ /^\+(\t*)if\s*\(\s*$tested\s*\)\s*$/) {
5850 if ($lines[$linenr - 1] =~ /^\+(\t+)$func\s*\(\s*$tested\s*\)\s*;\s*$/) {
5870 $linenr > 3) {
5872 my $testline = $lines[$linenr - 3];
5874 my ($s, $c) = ctx_statement_block($linenr - 3, $realcnt, 0);
6049 if (!ctx_has_comment($first_line, $linenr)) {
6076 if (!ctx_has_comment($first_line, $linenr)) {
6094 if (!ctx_has_comment($first_line, $linenr)) {
6102 if (!ctx_has_comment($first_line, $linenr)) {
6284 $lc = $lc + $linenr;
6285 for (my $count = $linenr; $count <= $lc; $count++) {
6305 $stat_real = get_stat_real($linenr, $lc);
6312 my $stat_real = get_stat_real($linenr, $lc);
6434 $lc = $lc + $linenr;
6435 my $stat_real = get_stat_real($linenr, $lc);
6445 $lc = $lc + $linenr;
6446 my $stat_real = get_stat_real($linenr, $lc);
6522 my $rl = raw_line($linenr, $n);
6576 my $herectx = get_stat_here($linenr, $cnt, $here);
6665 my $herectx = get_stat_here($linenr, $cnt, $here);
6897 $lc = $lc + $linenr;
6898 my $stat_real = get_stat_real($linenr, $lc);