Searched defs:re (Results 1 - 25 of 29) 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/support/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-release.py6 import re namespace
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
H A Dbuild-local.py6 import re namespace
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
31 matchObj = re.match(r'\s*<version>(.*)</version>', line)
/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-release.py6 import re namespace
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
H A Dbuild-local.py6 import re namespace
14 if re.match(pattern, line, re.I|re.M):
15 line = re.sub(pattern, newVal, line)
31 matchObj = re.match(r'\s*<version>(.*)</version>', line)
/frameworks/support/v17/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/webview/chromium/tools/
H A Dmemreport.py27 import re namespace
69 regexps[region_filter] = re.compile(region_filter)
/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/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
167 if re.search('_BIT($|\d*_)', name):
171 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...]

Completed in 999 milliseconds

12