/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | process_newdb_perf_test_logs.py | 17 import re namespace 39 matches = re.search(regex, line) 60 matches = re.search(regex, line)
|
/frameworks/rs/tests/lldb/tests/harness/ |
H A D | RS_funs.py | 26 import re namespace 1386 tokens = re.findall(r"[^(),;]+", line)
|
H A D | test_base_remote.py | 20 import re namespace 71 old_path = re.findall(r"[^ :]+", lines[1])[1]
|
H A D | test_base.py | 21 import re namespace 92 '''check whether we're interested in the function''' 282 match = re.search(regex, text)
|
H A D | util_android.py | 21 import re namespace 121 command and re-issues it anew with the same parameters. In case of 181 if re.search('\n', message): 269 pid_output = re.sub(r'\*.+\*', '', pid_output)
|
/frameworks/base/tools/stringslint/ |
H A D | stringslint.py | 25 import re, sys namespace 92 if re.search("CHAR[ _-]LIMIT=(\d+|NONE|none)", comment.text) is None: 113 if re.search("\d-\d", text): 124 if len(re.findall("%[^%]", text)) > 1: 125 if len(re.findall("%[^\d]", text)) > 0: 132 if gc.tail and re.search("%[^%]", gc.tail): badsub = True 133 if re.match("{.*xliff.*}g", gc.tag): 141 if gc.text and re.search("%[^%]", gc.text): badsub = True
|
/frameworks/support/leanback/ |
H A D | generatef.py | 19 import re namespace 44 line = re.sub(r'([^\.])getContext\(\)', r'\1FragmentUtil.getContext({}Fragment.this)'.format(w), line); 48 content = re.sub(r'\*\/\n(@.*\n|)(public |abstract public |abstract |)class', '* @deprecated use {@link ' + w + 'SupportFragment}\n */\n@Deprecated\n\\1\\2class', content) 49 content = re.sub(r'\*\/\n public (static class|interface|final static class|abstract static class)', '* @deprecated use {@link ' + w + 'SupportFragment}\n */\n @Deprecated\n public \\1', content) 67 content = re.sub(r'\*\/\npublic class', '* @deprecated use {@link VideoSupportFragmentGlueHost}\n */\n@Deprecated\npublic class', content) 85 content = re.sub(r'\*\/\npublic class', '* @deprecated use {@link PlaybackSupportFragmentGlueHost}\n */\n@Deprecated\npublic class', content) 105 content = re.sub(r'\*\/\npublic class', '* @deprecated use {@link DetailsSupportFragmentBackgroundController}\n */\n@Deprecated\npublic class', content)
|
/frameworks/base/tests/JankBench/scripts/ |
H A D | adbutil.py | 2 import re namespace 34 wakefulness = re.search('mWakefulness=([a-zA-Z]+)', output)
|
/frameworks/base/tools/aapt2/tools/consumers/ |
H A D | positional_arguments.py | 9 import re namespace 64 for m in re.finditer("%[-#+ 0,(]?\d*[bBhHsScCdoxXeEfgGaAtTn]", data):
|
/frameworks/base/tools/aapt2/tools/ |
H A D | extract_unicode_properties.py | 7 import re namespace 39 prog = re.compile(r"^(?P<first>\w{4})(..(?P<last>\w{4}))?\W+;\W+(?P<prop>\w+)")
|
/frameworks/rs/tests/lldb/tests/testcases/ |
H A D | reduce_common.py | 15 import re namespace 59 match = re.search(funcs_match, line) 70 # We've popped the functions we're interested in off the list
|
H A D | test_call_api_funs.py | 19 import re namespace 41 func_name_sub = re.compile(r'[%s\s]+' % string.punctuation) 64 test_name = 'test_%s_%s' % (re.sub(func_name_sub, '_', line), count)
|
H A D | test_reduction_combiner.py | 17 import re namespace 65 match = re.search(r'(^0(-\d+)?(,\d+([-]\d*)?)*)$', cpu_spec)
|
/frameworks/layoutlib/rename_font/ |
H A D | build_font.py | 28 import re namespace 224 return re.sub(r'[^\w-]+', '', string)
|
H A D | build_font_single.py | 29 import re namespace 208 return re.sub(r'[^\w-]+', '', string)
|
/frameworks/ml/nn/tools/ |
H A D | sync_enums_to_hal.py | 33 import re namespace 225 if re.match("^ */\*\* \w.*[^/]$", line):
|
/frameworks/rs/ |
H A D | build_rs.py | 26 import re namespace
|
/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/compile/slang/tests/ |
H A D | slang_test.py | 26 import re namespace 191 bc_dst = re.sub(r'tmp\/', cts_res_raw_path, bc_src, 1) 194 java_dst = re.sub(r'tmp\/', cts_src_path, java_src, 1)
|
/frameworks/ml/nn/tools/test_generator/tests/ |
H A D | test.py | 26 import re namespace
|
/frameworks/native/opengl/tools/glgen2/ |
H A D | glgen.py | 21 import re namespace 120 if re.search('Win32', name): 147 if re.search('Win32', name): 171 if re.search('_BIT($|\d*_)', name): 173 if re.search('D3D|WIN32', name): 177 if not re.search('0x[0-9A-Fa-f]+', value):
|
/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/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ... |
/frameworks/base/tools/apilint/ |
H A D | apilint.py | 29 import re, sys, collections, traceback, argparse namespace 59 raw = re.sub("<.+?>", "", raw) 101 raw = re.sub("<.+?>", "", raw) 103 raw = re.split("[\s(),;]+", raw) 187 re_blame = re.compile("^([a-z0-9]{7,}) \(<([^>]+)>.+?\) (.+?)$") 283 if re.match("android\.R\.[a-z]+", clazz.fullname): return 290 if re.match("[A-Z0-9_]+", f.name) is None: 309 if re.match("android\.R\.[a-z]+", clazz.fullname): return 311 if re.search("[A-Z]{2,}", clazz.name) is not None: 313 if re [all...] |