Searched defs:re (Results 1 - 15 of 15) sorted by relevance

/frameworks/webview/chromium/tools/
H A Drun_webview_cts.py21 import re namespace
75 passes = set(re.findall(r'.*: (.*) PASS', stdout))
76 failures = set(re.findall(r'.*: (.*) FAIL', stdout))
112 print ('More than 5 new passes? Either you''re running webview classic, or '
H A Dmemreport.py27 import re namespace
69 regexps[region_filter] = re.compile(region_filter)
H A Dmerge_common.py19 import re namespace
161 conflicts_deleted_by_us = re.findall(r'^(?:DD|DU) ([^\n]+)$', status,
162 flags=re.MULTILINE)
171 # into a directory we don't delete. Let them get re-added; they will get
172 # re-deleted if they are still in a directory we delete.
173 conflicts_renamed_by_them = re.findall(r'^UA ([^\n]+)$', status,
174 flags=re.MULTILINE)
182 conflicts = re.findall(r'^((DD|AU|UD|UA|DU|AA|UU) [^\n]+)$', status,
183 flags=re.MULTILINE)
H A Dmerge_to_android.py22 import re namespace
267 re.match(r'^platform/(frameworks/.+)$', repo) or
268 re.match(r'^platform/external/chromium_org/?(.*?)(-history)?$', repo))
H A Dmerge_from_chromium.py22 import re namespace
123 match = re.match('(.*?)@(.*)', url_plus_sha1)
319 return re.search(r'^[MADRC]', status, flags=re.MULTILINE) is not None
383 return re.search(r'^git-svn-id: .*@([0-9]+)', commit_message,
384 flags=re.MULTILINE).group(1)
/frameworks/compile/slang/tests/
H A Dtest.py13 import re namespace
153 bc_dst = re.sub('tmp\/', cts_res_raw_path, bc_src, 1)
156 java_dst = re.sub('tmp\/', cts_src_path, java_src, 1)
/frameworks/base/tools/layoutlib/rename_font/
H A Dbuild_font.py28 import re namespace
221 return re.sub(r'[^\w-]+', '', string)
H A Dbuild_font_single.py29 import re namespace
205 return re.sub(r'[^\w-]+', '', string)
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py26 import re namespace
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py30 import re namespace
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dgenapi.py38 import re namespace
296 m = re.search(self.API_ENTRY_REGEX, apientry)
305 m = re.search(self.API_ENTRY_REGEX, apientry)
313 m = re.search(self.CALL_GL_API_REGEX, callsite)
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py21 import re namespace
157 if re.search('_BIT($|\d*_)', name):
161 if not re.search('0x[0-9A-Fa-f]+', value):
/frameworks/base/tools/apilint/
H A Dapilint.py29 import re, sys, collections, traceback namespace
82 raw = re.sub("<.+?>", "", raw)
84 raw = re.split("[\s(),;]+", raw)
103 ident = re.sub("<.+?>", "", ident)
160 re_blame = re.compile("^([a-z0-9]{7,}) \(<([^>]+)>.+?\) (.+?)$")
216 if re.match("android\.R\.[a-z]+", clazz.fullname): return
220 if re.match("[A-Z0-9_]+", f.name) is None:
234 if re.match("android\.R\.[a-z]+", clazz.fullname): return
236 if re.search("[A-Z]{2,}", clazz.name) is not None:
238 if re
[all...]
/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py24 import io,os,re,string,sys namespace
521 headerSym = '__' + re.sub('\.h', '_h_', os.path.basename(self.genOpts.filename))
565 # prototypes separately for this feature. They're only printed in
995 regVersions = re.compile(self.genOpts.versions)
996 regEmitVersions = re.compile(self.genOpts.emitversions)
997 regAddExtensions = re.compile(self.genOpts.addExtensions)
998 regRemoveExtensions = re.compile(self.genOpts.removeExtensions)
1045 re.match(pat, self.genOpts.defaultExtensions)):
1052 # forcing extensions into an interface even if they're not
1060 # extensions from an interface even if they're tagge
[all...]
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py5 import re namespace
287 all_matches = re.findall('\s' + self.pattern + '$', stdout, flags=re.MULTILINE)
463 regex_status_code = re.compile(r'^INSTRUMENTATION_STATUS_CODE: -?(\d+)')
464 regex_name = re.compile(r'^INSTRUMENTATION_STATUS: test=(.*)')
465 regex_begin_stack = re.compile(r'^INSTRUMENTATION_STATUS: stack=(.*)')
466 regex_end_stack = re.compile(r'^$')

Completed in 1626 milliseconds