/external/chromium_org/tools/checkdeps/ |
cpp_checker.py | 9 import re namespace 34 _EXTRACT_INCLUDE_PATH = re.compile( 89 # Check to see if we're at / inside a #if 0 block
|
graphdeps.py | 21 import re namespace 109 #if re.search(self.incl, rel_path) and not re.search(self.excl, rel_path): 181 # parent that we're about to add. 205 if not re.search(self.incl, edge_spec) or \ 206 re.search(self.excl, edge_spec): 216 if self.hilite_fanouts and re.search(self.hilite_fanouts, src): 222 if self.hilite_fanins and re.search(self.hilite_fanins, dst):
|
java_checker.py | 9 import re namespace 71 for package in re.findall('^package ([\w\.]+);', line): 90 for clazz in re.findall('^import\s+(?:static\s+)?([\w\.]+)\s*;', line): 104 # This is code, so we're finished reading imports for this file.
|
/external/chromium_org/tools/cr/cr/actions/ |
adb.py | 7 import re namespace 28 pattern = re.compile(r'\S+\s+(\d+)\s+.*{CR_PROCESS}') 30 match = re.match(pattern, line)
|
/external/chromium_org/tools/flakiness/ |
find_flakiness.py | 12 import re namespace 99 test_start = re.compile('\[\s+RUN\s+\] ' + test_name_regex)
|
/external/chromium_org/tools/grit/grit/format/ |
html_inline_unittest.py | 10 import re namespace
|
/external/chromium_org/tools/grit/grit/gather/ |
admin_template.py | 9 import re namespace 33 re.MULTILINE | re.DOTALL) 38 re.MULTILINE)
|
policy_json_unittest.py | 9 import re namespace 162 expected = eval(re.sub('<ph.*ph>', '$1', original))
|
/external/chromium_org/tools/grit/grit/ |
pseudo_rtl.py | 11 import re namespace 45 re.I | re.S # html tokens are case-insensitive
|
/external/chromium_org/tools/grit/grit/tool/ |
postprocess_unittest.py | 12 import re namespace 52 smarter = re.compile(r'(DUMMY)(.*)')
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
MSVSUserFile.py | 8 import re namespace 49 elif re.search(r'[ \t\n]', arg): 106 # Currently these are all "dummy" values that we're just setting
|
/external/chromium_org/tools/gyp/test/mac/ |
gyptest-archs.py | 13 import re namespace 28 if not re.match(expected, o, re.DOTALL):
|
/external/chromium_org/tools/gyp/test/win/ |
gyptest-link-base-address.py | 13 import re namespace 28 image_base_reg_ex = re.compile('.*\s+([0-9]+) image base.*', re.DOTALL)
|
/external/chromium_org/tools/gyp/tools/ |
pretty_gyp.py | 10 import re namespace 13 # Regex to remove comments when we're counting braces. 14 COMMENT_RE = re.compile(r'\s*#.*') 16 # Regex to remove quoted strings when we're counting braces. 21 QUOTE_RE = re.compile(QUOTE_RE_STR) 30 search_re = re.compile(r'(.*?)(#)(.*)') 43 search_re = re.compile(r'(.*?)' + QUOTE_RE_STR) 64 lines (lines that matche the double_*_brace re's above) before 71 double_open_brace_re = re.compile(r'(.*?[\[\{\(,])(\s*)([\[\{\(])') 72 double_close_brace_re = re.compile(r'(.*?[\]\}\)],?)(\s*)([\]\}\)])' [all...] |
pretty_sln.py | 18 import re namespace 41 begin_project = re.compile(('^Project\("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942' 44 end_project = re.compile('^EndProject$') 46 begin_dep = re.compile('ProjectSection\(ProjectDependencies\) = postProject$') 48 end_dep = re.compile('EndProjectSection$') 50 dep_line = re.compile(' *({.*}) = ({.*})$')
|
/external/chromium_org/tools/ |
ipc_messages_log.py | 24 import re namespace 89 msg_def_re = re.compile( 91 msg_start_re = re.compile( 99 match = re.match(msg_start_re, line) 103 match = re.match(msg_def_re, line) 123 unknown_msg_re = re.compile('\[unknown type (\d+)\]') 126 match = re.search(unknown_msg_re, line) 128 line = re.sub(unknown_msg_re,
|
safely-roll-blink.py | 14 import re namespace 35 new_content = re.sub(old_line, new_line, content, 1) 36 old_rev = re.search(old_line, content).group(2)
|
unused-symbols-report.py | 23 import re namespace 47 sym = re.sub(r', std::allocator<\S+\s+>', '', sym) 60 symbol_re = re.compile(r"'\.text\.(\S+)' in file '(\S+)'$") 61 path_re = re.compile(r"^out/[^/]+/[^/]+/([^/]+)/(.*)$")
|
/external/chromium_org/tools/metrics/histograms/ |
find_unmapped_histograms.py | 18 import re namespace 22 ADJACENT_C_STRING_REGEX = re.compile(r""" 28 """, re.VERBOSE) 29 CONSTANT_REGEX = re.compile(r""" 34 """, re.VERBOSE) 35 HISTOGRAM_REGEX = re.compile(r""" 42 """, re.VERBOSE) 78 Useful to re-combine strings that were split across multiple lines to satisfy
|
/external/chromium_org/tools/perf/benchmarks/ |
maps.py | 9 import re namespace 21 total = re.search('total=([0-9]+)', test_results).group(1) 22 render = re.search('render=([0-9.]+),([0-9.]+)', test_results).group(2)
|
/external/chromium_org/tools/perf/measurements/ |
loading_measurement_analyzer.py | 22 import re namespace 96 m = re.match('.* [(](.*)[)]', key) 119 output_key = '%60s: ' % re.sub(' [(].*[)]', '', key) 137 re.sub(' [(].*[)]', '', key))
|
/external/chromium_org/tools/perf_expectations/ |
update_perf_expectations.py | 6 """Prepare tests that require re-baselining for input to make_expectations.py. 8 The regularly running perf-AV tests require re-baselineing of expectations 66 import re namespace 75 """Parses input contents and obtains tests to be re-baselined. 101 """Parses input reg-ex filter and obtains tests to be re-baselined. 110 search_string = re.compile(tests_to_update) 122 """Modifies value of tests that are to re-baselined:
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
posix_platform_backend.py | 6 import re namespace 43 ps_line_re = re.compile(
|
/external/chromium_org/tools/usb_ids/ |
usb_ids.py | 7 import re namespace 9 VENDOR_PATTERN = re.compile("^(?P<id>[0-9a-fA-F]{4})\s+(?P<name>.+)$") 10 PRODUCT_PATTERN = re.compile("^\t(?P<id>[0-9a-fA-F]{4})\s+(?P<name>.+)$")
|
/external/chromium_org/tools/valgrind/asan/ |
asan_symbolize.py | 10 import re namespace 15 file_name = re.sub(".*" + path_to_cut, "", file_name) 16 file_name = re.sub(".*asan_[a-z_]*.cc:[0-9]*", "_asan_rtl_", file_name) 17 file_name = re.sub(".*crtstuff.c:0", "???:0", file_name)
|