Lines Matching refs:line_num
324 for line_num, line in f.ChangedContents():
326 problems.append(' %s:%d' % (f.LocalPath(), line_num))
343 for line_num, line in f.ChangedContents():
347 problems.append(' %s:%d' % (f.LocalPath(), line_num))
380 for line_num, line in f.ChangedContents():
386 problems.append(' %s:%d:' % (f.LocalPath(), line_num))
392 for line_num, line in f.ChangedContents():
413 problems.append(' %s:%d:' % (f.LocalPath(), line_num))
455 for line_num, line in f.ChangedContents():
457 problems.append(' %s:%d' % (f.LocalPath(), line_num))
490 changed_lines = [line for line_num, line in f.ChangedContents()]
544 for line_num, line in f.ChangedContents():
546 errors.append(' %s:%d' % (f.LocalPath(), line_num))
574 for line_num, line in scope:
577 problem_linenums.append((line_num, previous_line_num))
579 problem_linenums.append((line_num, previous_line_num))
584 problem_linenums.append((line_num, previous_line_num))
586 problem_linenums.append((line_num, previous_line_num))
591 problem_linenums.append((line_num, previous_line_num))
593 problem_linenums.append(line_num)
595 previous_line_num = line_num
598 for (line_num, previous_line_num) in problem_linenums:
599 if line_num in changed_linenums or previous_line_num in changed_linenums:
600 warnings.append(' %s:%d' % (file_path, line_num))
629 line_num = 0
641 line_num += 1
645 line_num -= 1
656 line_num -= 1
662 for line in contents[line_num:]:
663 line_num += 1
672 current_scope.append((line_num, line))
696 changed_linenums = set(line_num for line_num, _ in f.ChangedContents())
709 for line_num, line in f.ChangedContents():
711 errors.append(' %s:%d %s' % (f.LocalPath(), line_num, line))
747 for line_num, line in f.ChangedContents():
749 problems.append((f.LocalPath(), line_num, line))
812 for line_num, line