Lines Matching refs:line
76 def is_comment(line):
77 return (comment_block_start_pattern.match(line) or
78 comment_block_middle_pattern.match(line) or
79 comment_block_end_pattern.match(line) or
80 single_line_comment_pattern.match(line))
83 def is_empty_line(line):
84 return empty_line_pattern.match(line)
91 for line in f.xreadlines():
92 if is_comment(line) or is_empty_line(line):
94 # The below will be the first real line after comments and newlines.
95 if line.startswith('#if 0 '):
97 elif line.startswith('#if ') or line.startswith('#ifdef '):
181 for line_num, line in f.ChangedContents():
186 if pattern.match(line):
190 f.LocalPath(), line_num, line)))
350 'If this change affects a client API, please add a summary line '