• Home
  • Raw
  • Download

Lines Matching refs:line

117 def find_project_index(line, project_patterns):  argument
120 if pattern.match(line):
238 for line in buildlog:
239 if warning_pattern.match(line):
240 warning_lines.append(line)
247 path = os.path.normpath(re.sub(':.*$', '', line))
285 def normalize_warning_line(line, flags, android_root=None): argument
287 line = re.sub(u'[\u2018\u2019]', '\'', line)
289 line = re.sub(u'[^\x00-\x7f]', ' ', line)
290 line = line.strip()
291 first_column = line.find(':')
292 return normalize_path(line[:first_column], flags,
293 android_root) + line[first_column:]
311 for line in infile:
312 if warning_pattern.match(line):
313 normalized_line = normalize_warning_line(line, flags)
315 unique_warnings[normalized_line] = generate_cs_link(line, flags)
318 result = re.match(r'.+Package:.+chromeos-base/chromeos-chrome-', line)
320 platform_version = 'R' + line.split('chrome-')[1].split('_')[0]
322 result = re.match(r'.+Source\sunpacked\sin\s(.+)', line)
326 result = re.match(r'.+USE:\s*([^\s]*).*', line)
335 def add_normalized_line_to_warnings(line, flags, android_root, unique_warnings): argument
337 normalized_line = normalize_warning_line(line, flags, android_root)
339 unique_warnings[normalized_line] = generate_cs_link(line, flags,
372 for line in infile:
374 if rustc_file_position.match(line):
376 line = line.strip().replace('--> ', '') + ': ' + prev_warning
378 line, flags, android_root, unique_warnings)
387 if warning_pattern.match(line):
388 if warning_without_file.match(line):
390 prev_warning = line
393 line, flags, android_root, unique_warnings)
399 result = re.search('(?<=^PLATFORM_VERSION=).*', line)
402 result = re.search('(?<=^TARGET_PRODUCT=).*', line)
405 result = re.search('(?<=^TARGET_BUILD_VARIANT=).*', line)
408 result = re.search('(?<=^TOP=).*', line)
517 for line, link, pattern_idx, project_idx in result:
519 pattern['members'].append(line)
521 warning_messages.append(line)