Lines Matching refs:count
163 my $count; # -1 or number of leading whitespace characters (except newline) in curr…
354 if (@nested_conds_indents != 0 && substr($_, $count, 1) eq ":") {
367 …@nested_indents[-1] = $count == $stmt_indent ? $stmt_indent : -@nested_indents[-1]; # allow $stmt_…
375 report("indent = $count != $comment_indent within multi-line comment")
376 if $count != $comment_indent;
379 … report("indent = ".($count + $tweak)." != $comment_indent at end of multi-line comment")
380 if $count + $tweak != $comment_indent;
397 …report_flexibly($line_before, "entire-line comment indent = $count_before != $count (of following …
398 $contents_before) if !$sloppy_cmt && $count_before != -1 && $count_before != $count;
403 if ($count == $ref_indent) { # indentation is like for (normal) code in this line
412 if (!$sloppy_cmt && $count != $ref_indent) {
413 report("intra-line comment indent = $count != $ref_indent") if $in_comment == 0;
414 report("multi-line comment indent = $count != $ref_indent") if $in_comment < 0;
421 return if $line_before > 0 && $count == $count_before;
424 return if $expr_indent != 0 && $count == $stmt_indent;
428 return if $stmt_indent < $count && $count < $expr_indent &&
432 report("indent = $count != $ref_indent for $ref_desc".
436 if $count != $ref_indent && $count != $alt_indent;
562 $count = length($1); # actual indentation
574 $count = -1; # do not check indentation
619 if ($count > 0) {
622 $count--;
708 report("indent = $count != 0 for '#'") if $count != 0;
722 $count = -1; # do not check indentation of first line of preprocessor directive
931 … if ($count == $block_indent - $preproc_offset # body began with same indentation as preceding code
941 …check_indent() if $count >= 0; # not for start of preprocessor directive and not if multi-line str…
1239 $count_before = $count;