Searched refs:re (Results 1 – 25 of 63) sorted by relevance
123
/development/vndk/tools/sourcedr/ninja/ |
D | list_installed_file_from_source.py | 7 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)) + ')'
|
D | list_source_file.py | 8 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(
|
D | list_installed_module_under_source.py | 7 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/ |
D | find_unused_resources.rb | 75 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/ |
D | am_instrument_parser.py | 21 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)
|
D | android_mk.py | 25 import re 33 _RE_INCLUDE = re.compile(r'include\s+\$\((.+)\)') 34 _RE_VARIABLE_REF = re.compile(r'\$\((.+)\)')
|
/development/vndk/tools/elfcheck/elfcheck/ |
D | readobj.py | 19 import re 23 _ELF_CLASS = re.compile( 25 _DT_NEEDED = re.compile( 27 _DT_SONAME = re.compile(
|
D | rewriter.py | 23 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/ |
D | stack_core.py | 20 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 …]
|
D | battery_simulator.py | 32 import re 61 if re.match("\d+", val):
|
D | disassemble_tombstone.py | 11 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)
|
D | cargo2android.py | 61 import re 89 RUSTC_PAT = re.compile('^ +Running `rustc (.*)`$') 93 RUSTC_VV_PAT = re.compile('^ +Running `.*CARGO_.*=.*$') 95 RUSTC_VV_CMD_ARGS = re.compile('^ *Running `.*CARGO_.*=.* rustc (.*)`$') 98 CC_AR_VV_PAT = re.compile(r'^\[([^ ]*)[^\]]*\] running:? "(cc|ar)" (.*)$') 102 WARNING_FILE_PAT = re.compile('^ *--> ([^:]*):[0-9]+') 105 VERSION_SUFFIX_PAT = re.compile(r'^(.*)-[0-9]+\.[0-9]+\.[0-9]+$') 151 return re.sub('^/.*/' + pkg + '-[0-9a-f]*/out/', '.../out/', s) 314 self.main_src = re.sub('^/[^ ]*/registry/src/', '.../', args[i]) 315 self.main_src = re.sub('^.../github.com-[0-9a-f]*/', '.../', [all …]
|
D | usb-reset-by-serial.py | 30 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=(.*)$")
|
D | boardconfig_usage_analysis.py | 7 import re 98 re_def = re.compile('^[\s]*([\w\d_]*)[\s]*:=') 120 re_usage = re.compile('\$\(' + variable + '\)')
|
/development/gsi/gsi_util/gsi_util/utils/ |
D | debugfs.py | 20 import re 63 if re.search('File not found', error): 69 m = re.search('Type:\\s*([^\\s]+)', output)
|
/development/vndk/tools/header-checker/tests/ |
D | gen_all.py | 4 import re 21 patt = re.compile( 23 '|'.join('(?:' + re.escape(ext) + ')' for ext in FILE_EXTENSIONS) +
|
/development/gsi/gsi_util/gsi_util/dumpers/ |
D | prop_dumper.py | 18 import re 43 match = re.search('%s=(.*)' % (lookup_key), self._content)
|
/development/tools/logblame/ |
D | logs.py | 3 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$")
|
D | ps.py | 2 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/ |
D | list_vndk_module.py | 25 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/vndk/tools/sourcedr/files/ |
D | list_app_shared_uid.py | 25 import re 30 _SHARED_UID_PATTERN = re.compile('sharedUserId="([^"\\r\\n]*)"') 82 app_name = re.sub('_intermediates$', '', app_dir_name)
|
/development/python-packages/fastboot/ |
D | device.py | 19 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/ |
D | update_dataset.py | 12 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/ |
D | gtest.py | 22 import re 132 if re.search("_test$|_test_$|_unittest$|_unittest_$|^test_|Tests$", name):
|
/development/vndk/tools/definition-tool/tests/ |
D | test_elfdump.py | 6 import re 109 patt = re.compile('|'.join('(?:' + re.escape(x) +')' for x in prefixes))
|
123