Home
last modified time | relevance | path

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

12

/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_build.py22 import re
86 host_os = re.search("HOST_OS=(\w+)", config).group(1)
87 host_arch = re.search("HOST_ARCH=(\w+)", config).group(1)
Dandroid_mk.py25 import re
33 _RE_INCLUDE = re.compile(r'include\s+\$\((.+)\)')
34 _RE_VARIABLE_REF = re.compile(r'\$\((.+)\)')
Druntest.py36 import re
81 _RE_MAKE_INSTALL = re.compile(r'INSTALL-PATH:\s([^\s]+)\s(.*)$')
90 self._re_make_install_path = re.compile(pattern)
298 target_dir_list = [re.sub(r'Android[.]mk$', r'', i) for i in target_list]
336 filter_re = re.compile(self._options.filter_re) if self._options.filter_re else None
357 for install_path in re.split(r'\s+', install_paths):
/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/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 …]
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=(.*)$")
Dsymbol.py25 import re
278 func_regexp = re.compile("(^[a-f0-9]*) \<(.*)\>:$")
279 offset_regexp = re.compile("(.*)\+0x([a-f0-9]*)")
283 asm_regexp = re.compile("(^[ a-f0-9]*):[ a-f0-0]*.*$")
348 toolchain_match = re.search("\/(aarch64|arm|mips|x86)\/", toolchain)
383 abi_line = re.compile("ABI: \'(.*)\'")
384 trace_line = re.compile("\#[0-9]+[ \t]+..[ \t]+([0-9a-f]{8}|[0-9a-f]{16})([ \t]+|$)")
385 asan_trace_line = re.compile("\#[0-9]+[ \t]+0x([0-9a-f]+)[ \t]+")
Dboardconfig_usage_analysis.py7 import re
98 re_def = re.compile('^[\s]*([\w\d_]*)[\s]*:=')
120 re_usage = re.compile('\$\(' + variable + '\)')
/development/vndk/tools/header-checker/tests/
Dgen_all.py4 import re
18 patt = re.compile(
20 '|'.join('(?:' + re.escape(ext) + ')' for ext in FILE_EXTENSIONS) + \
/development/tools/logblame/
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)+")
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 CHATTY_IDENTICAL = re.compile("^.* identical (\\d+) lines$")
Danalyze_logs.py5 import re
12 DURATION_RE = re.compile("((\\d+)w)?((\\d+)d)?((\\d+)h)?((\\d+)m)?((\\d+)s)?")
/development/tools/privapp_permissions/
Dprivapp_permissions.py32 import re
146 matches = re.search(regex, line)
151 matches = re.search(regex, line)
179 matches = re.search(regex, line);
185 matches = re.search(regex, line);
/development/testrunner/test_defs/
Dgtest.py22 import re
120 if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_|Tests$", name):
Dnative_test.py22 import re
120 if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_", name):
Dinstrumentation_test.py21 import re
354 re_package = re.compile(r'package\s+(.*);')
/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/samples/browseable/SwipeRefreshListFragment/
D_index.jd10 from swiping down on that view. This is provided through the re-usable
/development/ide/eclipse/
DREADME.importing-to-eclipse.txt15 You will need to re-index for the changes to get picked up (right click project
21 You will need to re-index for the changes to get picked up (right click project
/development/python-packages/adb/
Ddevice.py20 import re
65 serial, _ = re.split(r'\s+', line, maxsplit=1)
228 return re.split(r'[\r\n]+', s.rstrip())
237 result = re.match(pattern, version_output.splitlines()[0])
491 pattern = re.compile(r'^\[([^]]+)\]: \[(.*)\]')
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionEvent.java54 } catch (RemoteException re) { in injectEvent()
/development/build/tools/
Dmk_sources_zip.py18 import re
28 _RE_PKG = re.compile("^\s*package\s+([^\s;]+)\s*;.*")
/development/vndk/tools/abi-tool/
Dvndk_abi_tool.py7 import re
209 patt = re.compile('^(?:' +
210 '|'.join('(?:' + re.escape(x) + ')' for x in lines) +
/development/tools/idegen/
DREADME5 If you're using IntelliJ...
34 If you're using Eclipse...

12