Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 58) sorted by relevance

123

/development/vndk/tools/sourcedr/ninja/
Dlist_installed_file_from_source.py7 import re
45 out_pattern = re.compile(re.escape(out_dir) + '/')
47 installed_dirs = '|'.join('(?:' + re.escape(posixpath.normpath(path)) + ')'
50 installed_filter = re.compile(
51 re.escape(out_dir) + '/target/product/[^/]+/' +
54 source_filter = re.compile(
55 '|'.join('(?:' + re.escape(posixpath.normpath(path)) + ')'
Dlist_source_file.py8 import re
87 out_dir_pattern = re.compile(re.escape(out_dir) + '/')
88 out_host_dir_pattern = re.compile(re.escape(out_dir) + '/host/')
97 installed_filter = re.compile(
Dlist_installed_module_under_source.py7 import re
62 installed_filter = re.compile(
63 re.escape(posixpath.normpath(args.out_dir)) + '/' +
68 module_definition_filter = re.compile(args.module_definition_filter)
/development/tools/findunused/
Dfind_unused_resources.rb75 def findAllOccurrences(re, string) argument
79 matchData = re.match(s)
83 matchData = re.match(s)
95 @@javaIdPatterns.each { |re|
96 findAllOccurrences(re, line).each { |id|
121 @@stringXmlPatterns.each { |re|
122 findAllOccurrences(re, line).each {|id|
134 @@stringXmlPatterns.each { |re|
135 findAllOccurrences(re, line).each {|id|
/development/testrunner/
Dam_instrument_parser.py21 import re
43 re_status_code = re.compile(r'INSTRUMENTATION_STATUS_CODE: (?P<status_code>-?\d)$')
83 re_result = re.compile(r'INSTRUMENTATION_RESULT: ([^=]+)=(.*)$')
84 re_code = re.compile(r'INSTRUMENTATION_CODE: (\-?\d)$')
140 re_status_code = re.search(r'INSTRUMENTATION_STATUS_CODE: '
142 re_fields = re.compile(r'INSTRUMENTATION_STATUS: '
143 '(?P<key>[\w.]+)=(?P<value>.*?)(?=\nINSTRUMENTATION_STATUS)', re.DOTALL)
Dandroid_mk.py25 import re
33 _RE_INCLUDE = re.compile(r'include\s+\$\((.+)\)')
34 _RE_VARIABLE_REF = re.compile(r'\$\((.+)\)')
/development/scripts/
Dstack_core.py20 import re
34 process_info_line = re.compile("(pid: [0-9]+, tid: [0-9]+.*)")
35 revision_line = re.compile("(Revision: \'(.*)\')")
36 signal_line = re.compile("(signal [0-9]+ \(.*\).*)")
37 abort_message_line = re.compile("(Abort message: '.*')")
38 thread_line = re.compile("(.*)(\-\-\- ){15}\-\-\-")
39 dalvik_jni_thread_line = re.compile("(\".*\" prio=[0-9]+ tid=[0-9]+ NATIVE.*)")
40 dalvik_native_thread_line = re.compile("(\".*\" sysTid=[0-9]+ nice=[0-9]+.*)")
41 register_line = re.compile("$a")
42 trace_line = re.compile("$a")
[all …]
Dbattery_simulator.py32 import re
61 if re.match("\d+", val):
Ddisassemble_tombstone.py11 import re
34 abi_line = re.compile("(ABI: \'(.*)\')")
57 register_list_re = re.compile('^pid: ')
58 codeblock_re = re.compile('^code around ([a-z0-9]+)|memory near (pc)')
159 arrow_pattern = re.compile('^[ 0]*%8x:\t' % program_counter_val)
Dusb-reset-by-serial.py30 import re
111 dmatch = re.compile(r"^\s*T:\s*Bus\s*=\s*(\d+)\s+.*\s+Dev#=\s*(\d+).*$")
112 smatch = re.compile(r"^\s*S:\s*SerialNumber=(.*)$")
Dboardconfig_usage_analysis.py7 import re
98 re_def = re.compile('^[\s]*([\w\d_]*)[\s]*:=')
120 re_usage = re.compile('\$\(' + variable + '\)')
Dsymbol.py26 import re
406 func_regexp = re.compile("(^[a-f0-9]*) \<(.*)\>:$")
407 offset_regexp = re.compile("(.*)\+0x([a-f0-9]*)")
411 asm_regexp = re.compile("(^[ a-f0-9]*):[ a-f0-0]*.*$")
482 toolchain_match = re.search("\/(aarch64|arm|mips|x86)\/", toolchain)
517 abi_line = re.compile("ABI: \'(.*)\'")
518 trace_line = re.compile("\#[0-9]+[ \t]+..[ \t]+([0-9a-f]{8}|[0-9a-f]{16})([ \t]+|$)")
519 asan_trace_line = re.compile("\#[0-9]+[ \t]+0x([0-9a-f]+)[ \t]+")
/development/gsi/gsi_util/gsi_util/utils/
Ddebugfs.py20 import re
63 if re.search('File not found', error):
69 m = re.search('Type:\\s*([^\\s]+)', output)
/development/vndk/tools/header-checker/tests/
Dgen_all.py4 import re
21 patt = re.compile(
23 '|'.join('(?:' + re.escape(ext) + ')' for ext in FILE_EXTENSIONS) +
/development/gsi/gsi_util/gsi_util/dumpers/
Dprop_dumper.py18 import re
43 match = re.search('%s=(.*)' % (lookup_key), self._content)
/development/tools/logblame/
Dlogs.py3 import re
5 BUFFER_BEGIN = re.compile("^--------- beginning of (.*)$")
6 BUFFER_SWITCH = re.compile("^--------- switch to (.*)$")
7 HEADER = re.compile("^\\[ (\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d.\\d\\d\\d) +(.+?): *(\\d+): *(\\d+) *…
8 HEADER_TYPE2 = re.compile("^(\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d.\\d\\d\\d) *(\\d+) *(\\d+) *([EWIDV…
9 CHATTY_IDENTICAL = re.compile("^.* identical (\\d+) lines$")
Dps.py2 import re
5 HEADER_RE = re.compile("USER\\s*PID\\s*PPID\\s*VSIZE\\s*RSS\\s*WCHAN\\s*PC\\s*NAME")
6 PROCESS_RE = re.compile("(\\S+)\\s+(\\d+)\\s+(\\d+)\\s+\\d+\\s+\\d+\\s+\\S+\\s+.\\S+\\s+\\S+\\s+(.*…
8 ANDROID_UID_RE = re.compile("u(\\d)+_([0-9a-fA-F]+)")
9 UID_RE = re.compile("(\\d)+")
/development/vndk/tools/sourcedr/blueprint/
Dlist_vndk_module.py25 import re
83 select = re.compile(args.select) if args.select else None
84 exclude = re.compile(args.exclude) if args.exclude else None
Danalyze_manifest_split.py24 import re
52 self._matcher = re.compile(
53 '|'.join('(' + re.escape(path) + '(?:/|$))'
/development/vndk/tools/sourcedr/files/
Dlist_app_shared_uid.py25 import re
30 _SHARED_UID_PATTERN = re.compile('sharedUserId="([^"\\r\\n]*)"')
82 app_name = re.sub('_intermediates$', '', app_dir_name)
/development/python-packages/fastboot/
Ddevice.py19 import re
93 result = re.search(r'{}:\s*(.*)'.format(name), output[out])
109 result = re.search(r'(.*):\s*(.*)', line)
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py12 import re
40 patt = re.compile(
51 path = re.sub('/vndk-sp(?:-[^/$]*)/', '/vndk-sp${VNDK_VER}/', path)
52 path = re.sub('/vndk(?:-[^/$]*)/', '/vndk${VNDK_VER}/', path)
/development/testrunner/test_defs/
Dgtest.py22 import re
132 if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_|Tests$", name):
/development/vndk/tools/definition-tool/tests/
Dtest_elfdump.py6 import re
109 patt = re.compile('|'.join('(?:' + re.escape(x) +')' for x in prefixes))
/development/samples/browseable/SwipeRefreshListFragment/
D_index.jd10 from swiping down on that view. This is provided through the re-usable

123