Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 56) 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/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.py23 import re
37 process_info_line = re.compile(r"(pid: [0-9]+, tid: [0-9]+.*)")
38 revision_line = re.compile(r"(Revision: '(.*)')")
39 signal_line = re.compile(r"(signal [0-9]+ \(.*\).*)")
40 abort_message_line = re.compile(r"(Abort message: '.*')")
41 thread_line = re.compile(r"(.*)(--- ){15}---")
42 dalvik_jni_thread_line = re.compile("(\".*\" prio=[0-9]+ tid=[0-9]+ NATIVE.*)")
43 dalvik_native_thread_line = re.compile("(\".*\" sysTid=[0-9]+ nice=[0-9]+.*)")
44 register_line = re.compile("$a")
45 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 BOOST_MATCHER = re.compile(BOOST_PATTERN)
51 MIT_MATCHER = re.compile(MIT_PATTERN)
[all …]
Dbattery_simulator.py32 import re
61 if re.match("\d+", val):
Dcargo2rulesmk.py35 import re
91 RUSTC_PAT = re.compile("^ +Running `(.*\/)?rustc (.*)`$")
95 RUSTC_VV_PAT = re.compile("^ +Running `.*CARGO_.*=.*$")
97 RUSTC_VV_CMD_ARGS = re.compile("^ *Running `.*CARGO_.*=.* (.*\/)?rustc (.*)`$")
100 CC_AR_VV_PAT = re.compile(r'^\[([^ ]*)[^\]]*\] running:? "(cc|ar)" (.*)$')
104 WARNING_FILE_PAT = re.compile("^ *--> ([^:]*):[0-9]+")
107 CARGO_TEST_LIST_START_PAT = re.compile(r"^\s*Running (.*) \(.*\)$")
110 CARGO_TEST_LIST_END_PAT = re.compile(r"^(\d+) tests?, (\d+) benchmarks$")
112 CARGO2ANDROID_RUNNING_PAT = re.compile("^### Running: .*$")
115 VERSION_SUFFIX_PAT = re.compile(
[all …]
Dboardconfig_usage_analysis.py7 import re
98 re_def = re.compile('^[\s]*([\w\d_]*)[\s]*:=')
120 re_usage = re.compile('\$\(' + variable + '\)')
Dsymbol.py27 import re
374 func_regexp = re.compile("(^[a-f0-9]*) \<(.*)\>:$")
375 offset_regexp = re.compile("(.*)\+0x([a-f0-9]*)")
379 asm_regexp = re.compile("(^[ a-f0-9]*):[ a-f0-0]*.*$")
499 trace_line = re.compile("\#[0-9]+[ \t]+..[ \t]+([0-9a-f]{8}|[0-9a-f]{16})([ \t]+|$)")
500 asan_trace_line = re.compile("\#[0-9]+[ \t]+0x([0-9a-f]+)[ \t]+")
Dupdate_crate_tests.py44 import re
99 LABEL_PAT = re.compile('^//(.*):.*$')
100 EXTERNAL_PAT = re.compile('^//external/rust/')
232 path_pat = re.compile("^/%s:.*$" % path)
/development/vndk/tools/header-checker/tests/
Dgen_all.py4 import re
23 patt = re.compile(
25 '|'.join('(?:' + re.escape(ext) + ')' for ext in FILE_EXTENSIONS) +
/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/tools/external_crates/crate_health/src/bin/
Dmigration_report.rs47 let re = ReportEngine::new()?; in main() localVariable
49 Ok(re.migration_report(&migration, &args.output_path)?) in main()
Dhealth_report.rs50 let re = ReportEngine::new()?; in main() localVariable
52 Ok(re.health_report(&cc, &args.output_path)?) in main()
/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/tools/otagui/
Dtarget_lib.py7 import re
45 pattern_id = re.compile(b'(?<=ro\.build\.id\=).+')
46 pattern_version = re.compile(
48 pattern_flavor = re.compile(b'(?<=ro\.build\.flavor\=).+')
/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/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

123