Lines Matching refs:re
52 import re
236 warning_pattern = re.compile('^/[^ ]*/[^ ]*: warning: .*')
247 path = os.path.normpath(re.sub(':.*$', '', line))
287 line = re.sub(u'[\u2018\u2019]', '\'', line)
289 line = re.sub(u'[^\x00-\x7f]', ' ', line)
305 warning_pattern = re.compile(chrome_warning_pattern)
318 result = re.match(r'.+Package:.+chromeos-base/chromeos-chrome-', line)
322 result = re.match(r'.+Source\sunpacked\sin\s(.+)', line)
326 result = re.match(r'.+USE:\s*([^\s]*).*', line)
362 warning_pattern = re.compile('(^[^ ]*/[^ ]*: warning: .*)|(^warning: .*)')
363 warning_without_file = re.compile('^warning: .*')
364 rustc_file_position = re.compile('^[ ]+--> [^ ]*/[^ ]*:[0-9]+:[0-9]+')
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)
576 project_patterns = [re.compile(p[1]) for p in project_list]