Home | History | Annotate | Download | only in foozzie

Lines Matching refs:line1

182 def caret_match(line1, line2):
183 if (not line1 or
185 len(line1) > MAX_LINE_LENGTH or
188 return bool(CARET_RE.match(line1) and CARET_RE.match(line2))
198 def ignore_by_regexp(line1, line2, allowed):
199 if len(line1) > MAX_LINE_LENGTH or len(line2) > MAX_LINE_LENGTH:
202 match1 = exp.match(line1)
233 for ((line1, lookahead1), (line2, lookahead2)) in itertools.izip_longest(
237 assert not (line1 is None and line2 is None)
240 if line1 is None:
243 return '- %s' % short_line_output(line1), source
246 if line1 == line2:
250 if line1.startswith(ORIGINAL_SOURCE_PREFIX):
251 source = line1[len(ORIGINAL_SOURCE_PREFIX):]
259 if ignore_by_regexp(line1, line2, allowed):
264 '- %s\n+ %s' % (short_line_output(line1), short_line_output(line2)),