Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 68) 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/vndk/tools/elfcheck/elfcheck/
Dreadobj.py19 import re
23 _ELF_CLASS = re.compile(
25 _DT_NEEDED = re.compile(
27 _DT_SONAME = re.compile(
Drewriter.py23 import re
104 _INCLUDE = re.compile('\\s*include\\s+\\$\\(([A-Za-z0-9_]*)\\)')
105 _VAR = re.compile('([A-Za-z_][A-Za-z0-9_-]*)\\s*([:+]?=)\\s*(.*)$')
138 return re.sub('\\.so$', '', dt_needed)
190 shared_libs_specified = set(re.split('[ \t\n]', shared_libs_var.value))
219 string = re.sub('\\$\\(([A-Za-z][A-Za-z0-9_-]*)\\)',
/development/scripts/
Dstack_core.py20 import re
34 process_info_line = re.compile(r"(pid: [0-9]+, tid: [0-9]+.*)")
35 revision_line = re.compile(r"(Revision: '(.*)')")
36 signal_line = re.compile(r"(signal [0-9]+ \(.*\).*)")
37 abort_message_line = re.compile(r"(Abort message: '.*')")
38 thread_line = re.compile(r"(.*)(--- ){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 …]
Dadd3prf.py25 import re
29 NAME_MATCHER = re.compile(NAME_PATTERN)
31 VERSION_MATCHER = re.compile(VERSION_PATTERN)
33 DESCRIPTION_MATCHER = re.compile(DESCRIPTION_PATTERN)
37 LICENSE_MATCHER = re.compile(LICENSE_PATTERN)
41 YMD_MATCHER = re.compile(YMD_PATTERN)
43 YMD_LINE_MATCHER = re.compile(YMD_LINE_PATTERN)
47 APACHE_MATCHER = re.compile(APACHE_PATTERN)
49 MIT_MATCHER = re.compile(MIT_PATTERN)
51 BSD_MATCHER = re.compile(BSD_PATTERN)
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
382 func_regexp = re.compile("(^[a-f0-9]*) \<(.*)\>:$")
383 offset_regexp = re.compile("(.*)\+0x([a-f0-9]*)")
387 asm_regexp = re.compile("(^[ a-f0-9]*):[ a-f0-0]*.*$")
468 toolchain_match = re.search("\/(aarch64|arm|mips|x86)\/", toolchain)
503 abi_line = re.compile("ABI: \'(.*)\'")
504 trace_line = re.compile("\#[0-9]+[ \t]+..[ \t]+([0-9a-f]{8}|[0-9a-f]{16})([ \t]+|$)")
505 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
22 patt = re.compile(
24 '|'.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
/development/tools/winscope/src/mixins/
DSaveAsZip.js43 var re = /(?:\.([^.]+))?$/; variable
44 var extension = re.exec(fileName)[1];
/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)

123