Searched defs:re (Results 251 - 275 of 1081) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/skia/tools/copyright/
H A Dfileparser.py9 import re namespace
27 self._copyright_pattern = re.compile('copyright', re.IGNORECASE)
28 self._attribute_pattern = re.compile(
29 'copyright.*\D(\d{4})\W*(\w.*[\w.])', re.IGNORECASE)
74 self._comment_pattern = re.compile('/\*.*?\*/', re.DOTALL)
/external/chromium_org/third_party/skia/tools/
H A Dtest_gpuveto.py13 import re namespace
106 matches = re.findall('[\d]+\.[\d]+', output)
121 matches = re.findall('[\d]+\.[\d]+', output)
/external/chromium_org/tools/check_ecs_deps/
H A Dcheck_ecs_deps.py10 import re namespace
147 forbidden_regexp = re.compile(string.join(map(re.escape,
149 mapping_regexp = re.compile(r"\s*([^/]*) => (.*)")
150 blessed_regexp = re.compile(r"(%s)[-0-9.]*\.so" % string.join(map(re.escape,
152 built_regexp = re.compile(re.escape(build_dir + os.sep))
/external/chromium_org/tools/
H A Dcheck_grd_for_unused_strings.py14 import re namespace
60 id_regex = re.compile('IDS_[A-Z0-9_]+')
76 src_regex = re.compile('\.(([chm])|(mm)|(cc)|(cp)|(cpp)|(xib)|(py))$')
H A Dipc_messages_log.py24 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,
/external/chromium_org/tools/cr/cr/actions/
H A Dadb.py7 import re namespace
29 pattern = re.compile(r'\S+\s+(\d+)\s+.*{CR_PROCESS}')
31 match = re.match(pattern, line)
/external/chromium_org/tools/findit/
H A Dstacktrace.py5 import re namespace
10 SYZYASAN_STACK_FRAME_PATTERN = re.compile(
12 FILE_PATH_AND_LINE_PATTERN = re.compile(r'(.*?):(\d+)(:\d+)?')
143 callstack_start_pattern = re.compile(r'^(.*) stack:$')
161 crash_callstack_start_pattern1 = re.compile(
164 crash_callstack_start_pattern2 = re.compile(
167 allocation_callstack_start_pattern = re.compile(
170 location_callstack_start_pattern = re.compile(
188 crash_callstack_start_pattern1 = re.compile(r'^==\d+== ?[A-Z]+:')
189 crash_callstack_start_pattern2 = re
[all...]
/external/chromium_org/tools/flakiness/
H A Dfind_flakiness.py12 import re namespace
99 test_start = re.compile('\[\s+RUN\s+\] ' + test_name_regex)
/external/chromium_org/tools/gn/
H A Dlast_commit_position.py22 import re namespace
54 regex = re.compile(r'\s*Cr-Commit-Position: refs/heads/master@\{#(\d+)\}\s*')
/external/chromium_org/tools/grit/grit/format/
H A Dhtml_inline_unittest.py10 import re namespace
/external/chromium_org/tools/grit/grit/gather/
H A Dadmin_template.py9 import re namespace
33 re.MULTILINE | re.DOTALL)
38 re.MULTILINE)
H A Dpolicy_json_unittest.py9 import re namespace
162 expected = eval(re.sub('<ph.*ph>', '$1', original))
/external/chromium_org/tools/grit/grit/
H A Dpseudo_rtl.py11 import re namespace
45 re.I | re.S # html tokens are case-insensitive
/external/chromium_org/tools/grit/grit/tool/
H A Dpostprocess_unittest.py12 import re namespace
52 smarter = re.compile(r'(DUMMY)(.*)')
/external/chromium_org/tools/gyp/pylib/gyp/
H A DMSVSUserFile.py8 import re namespace
49 elif re.search(r'[ \t\n]', arg):
106 # Currently these are all "dummy" values that we're just setting
H A Dxcode_ninja.py18 import re namespace
129 if target_extras is not None and re.search(target_extras, target_name):
138 if not re.search(executable_target_pattern, target_name):
/external/chromium_org/tools/gyp/test/lib/
H A DTestMac.py9 import re namespace
21 pattern = re.compile('^Non-fat file: (.*) is architecture: (.*)$')
23 pattern = re.compile('^Architectures in the fat file: (.*) are: (.*)$')
/external/chromium_org/tools/gyp/test/win/
H A Dgyptest-link-base-address.py13 import re namespace
28 image_base_reg_ex = re.compile('.*\s+([0-9]+) image base.*', re.DOTALL)
/external/chromium_org/tools/gyp/tools/
H A Dpretty_gyp.py10 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
[all...]
H A Dpretty_sln.py18 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/json_schema_compiler/
H A Dschema_loader.py6 import re namespace
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/
H A Dmmap_classifier.py12 import re namespace
60 re.compile(filters['mmap_file']) if 'mmap_file' in filters else None)
62 re.compile(filters['mmap_prot']) if 'mmap_prot' in filters else None)
63 except re.error, descr:
/external/chromium_org/tools/metrics/histograms/
H A Dupdate_histogram_enum.py13 import re namespace
42 START_REGEX = re.compile(start_marker)
43 ITEM_REGEX = re.compile(r'^(\w+)')
44 ITEM_REGEX_WITH_INIT = re.compile(r'(\w+)\s*=\s*(\d+)')
45 END_REGEX = re.compile(end_marker)
115 SOURCE_COMMENT_REGEX = re.compile('^ Generated from ')
H A Dupdate_use_counter_css.py14 import re namespace
31 return re.sub(r'([a-zA-Z])([A-Z])', r'\1-\2', enum_name).lower()
40 ENUM_REGEX = re.compile(r"""CSSProperty(.*): # capture the enum name
43 """, re.VERBOSE)
/external/chromium_org/tools/perf/measurements/
H A Dloading_measurement_analyzer.py22 import re namespace
96 m = re.match('.* [(](.*)[)]', key)
119 output_key = '%60s: ' % re.sub(' [(].*[)]', '', key)
137 re.sub(' [(].*[)]', '', key))

Completed in 439 milliseconds

<<11121314151617181920>>