/frameworks/webview/chromium/tools/ |
H A D | run_webview_cts.py | 21 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 D | memreport.py | 27 import re namespace 69 regexps[region_filter] = re.compile(region_filter)
|
H A D | merge_common.py | 19 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 D | merge_to_android.py | 22 import re namespace 267 re.match(r'^platform/(frameworks/.+)$', repo) or 268 re.match(r'^platform/external/chromium_org/?(.*?)(-history)?$', repo))
|
H A D | merge_from_chromium.py | 22 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 D | test.py | 13 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 D | build_font.py | 28 import re namespace 221 return re.sub(r'[^\w-]+', '', string)
|
H A D | build_font_single.py | 29 import re namespace 205 return re.sub(r'[^\w-]+', '', string)
|
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 26 import re namespace
|
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 30 import re namespace
|
/frameworks/native/opengl/libs/GLES_trace/tools/ |
H A D | genapi.py | 38 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 D | glgen.py | 21 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 D | apilint.py | 29 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 D | reg.py | 24 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 D | testrunner.py | 5 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'^$')
|