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

12

/frameworks/base/core/tests/coretests/src/android/database/
H A Dprocess_newdb_perf_test_logs.py17 import re namespace
39 matches = re.search(regex, line)
60 matches = re.search(regex, line)
/frameworks/rs/tests/lldb/tests/harness/
H A DRS_funs.py26 import re namespace
1386 tokens = re.findall(r"[^(),;]+", line)
H A Dtest_base_remote.py20 import re namespace
71 old_path = re.findall(r"[^ :]+", lines[1])[1]
H A Dtest_base.py21 import re namespace
92 '''check whether we're interested in the function'''
282 match = re.search(regex, text)
H A Dutil_android.py21 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 Dstringslint.py25 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 Dgeneratef.py19 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 Dadbutil.py2 import re namespace
34 wakefulness = re.search('mWakefulness=([a-zA-Z]+)', output)
/frameworks/base/tools/aapt2/tools/consumers/
H A Dpositional_arguments.py9 import re namespace
64 for m in re.finditer("%[-#+ 0,(]?\d*[bBhHsScCdoxXeEfgGaAtTn]", data):
/frameworks/base/tools/aapt2/tools/
H A Dextract_unicode_properties.py7 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 Dreduce_common.py15 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 Dtest_call_api_funs.py19 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 Dtest_reduction_combiner.py17 import re namespace
65 match = re.search(r'(^0(-\d+)?(,\d+([-]\d*)?)*)$', cpu_spec)
/frameworks/layoutlib/rename_font/
H A Dbuild_font.py28 import re namespace
224 return re.sub(r'[^\w-]+', '', string)
H A Dbuild_font_single.py29 import re namespace
208 return re.sub(r'[^\w-]+', '', string)
/frameworks/ml/nn/tools/
H A Dsync_enums_to_hal.py33 import re namespace
225 if re.match("^ */\*\* \w.*[^/]$", line):
/frameworks/rs/
H A Dbuild_rs.py26 import re namespace
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py26 import re namespace
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py30 import re namespace
/frameworks/compile/slang/tests/
H A Dslang_test.py26 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 Dtest.py26 import re namespace
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py21 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 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/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/base/tools/apilint/
H A Dapilint.py29 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...]

Completed in 520 milliseconds

12