Home
last modified time | relevance | path

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

12

/build/make/tools/
Dcheckowners.py6 import re
62 patterns = re.compile(pats)
63 address_pattern = re.compile('([^@ ]+@[^ @]+)')
64 perfile_pattern = re.compile('per-file +.*=(.*)')
72 stripped_line = re.sub('#.*$', '', line).strip()
Dfilter-product-graph.py4 import re
32 (dependency, re.compile(r'"(.*)"\s*->\s*"(.*)"')),
33 (info, re.compile(r'"(.*)"(\s*\[.*\])')),
Devent_log_tags.py17 import re
68 parts = re.split(r"\s+", line, 2)
97 if not re.match(r"\(.*\)\s*$", description):
Dgenerate-notice-files.py32 import re
79 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt")
137 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt")
152 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt")
Dcheck_elf_file.py30 import re
96 pattern = re.compile('clang-r([0-9]+)([a-z]?)')
217 _DYNAMIC_SECTION_NEEDED_PATTERN = re.compile(
220 _DYNAMIC_SECTION_SONAME_PATTERN = re.compile(
257 _SYMBOL_ENTRY_PATTERN = re.compile('^ ([A-Za-z0-9_]+): (.*)$')
258 _SYMBOL_ENTRY_PAREN_PATTERN = re.compile(
418 modules = [re.sub('\\.so$', '', lib) for lib in dt_needed]
Dproduct_debug.py18 import re
53 groups = re.split("(\\$\\(call " + func_name + ",.*\\))", text)
Djava-layers.py4 import re
184 COMMENTS = re.compile("//.*?\n|/\*.*?\*/", re.S)
185 PACKAGE = re.compile("package\s+(.*)")
186 IMPORT = re.compile("import\s+(.*)")
Djava-event-log-tags.py30 import re
134 out = name[0].lower() + re.sub(r"[^A-Za-z0-9]", "", name.title())[1:]
Dextract_kernel.py24 import re
51 mo = re.match(LINUX_BANNER_REGEX, linux_banner)
/build/make/core/
Dchecktree3 import sys, os, re
14 excludes_compiled = map(re.compile, excludes)
59 regex_compiled = re.compile(regex)
60 filt_compiled = re.compile(filt)
/build/make/core/tasks/check_boot_jars/
Dcheck_boot_jars.py10 import re
32 whitelist_re = re.compile(combined_re)
33 except re.error:
/build/soong/cmd/javac_wrapper/
Djavac_wrapper.go144 if line, matched = applyColor(line, p.color, p.re); matched {
153 func applyColor(line, color string, re *regexp.Regexp) (string, bool) {
154 if m := re.FindStringSubmatchIndex(line); m != nil {
165 re *regexp.Regexp
/build/make/tools/releasetools/
Dapex_utils.py19 import re
112 payload_info_matcher = re.compile(PAYLOAD_INFO_PATTERN)
129 prop_matcher = re.compile(PROPERTY_DESCRIPTOR_PATTERN)
Dvalidate_target_files.py37 import re
169 check_cmd = re.search(r'if ! applypatch --check (\w+:.+:\w+:\w+);',
179 target = re.search(r'--target (.+) &&', lines[4].strip())
196 source = re.search(r'--source (\w+:.+:\w+:\w+) \\', lines[4].strip())
209 target = re.search(r'--target (\w+:.+:\w+:\w+) && \\', lines[5].strip())
Dcheck_ota_package_signature.py25 import re
44 algorithm = re.search(r'Signature Algorithm: ([a-zA-Z0-9]+)', cert_dump)
Dtarget_files_diff.py27 import re
94 new.write(re.sub(r'[0-9a-f]{40}', '0'*40, line))
Dsign_target_files_apks.py117 import re
622 (data, num) = re.subn(pattern, new_cert16, data, flags=re.IGNORECASE)
744 m = re.match(r"^(.*)\.x509\.pem$", k)
848 keyid = re.search(
998 matches = re.match(
Dsign_target_files_apks117 import re
622 (data, num) = re.subn(pattern, new_cert16, data, flags=re.IGNORECASE)
744 m = re.match(r"^(.*)\.x509\.pem$", k)
848 keyid = re.search(
998 matches = re.match(
/build/make/tools/droiddoc/
DREADME1 If you're looking for the templates-sdk/ files, they've moved
/build/soong/docs/
Dbest_practices.md69 to re-export the necessary headers to your users.
76 library and re-export it, or move the headers into a more appropriate location.
83 re-export that header library from the existing library. This will prevent
123 re-run your command when a new input file is added. Ninja does not treat a
129 tool to be re-run. That can be more expensive than necessary though, since many
145 they're used dynamically via `dlopen`. If they're only used via
Dperf.md33 `$(shell)` commands need to be re-executed to determine if their output changed.
69 that Kati can understand, but if you're writing your own, you may want to
70 experiment with other options if they're showing up in this list. For example,
173 We're exploring a few options to speed up build startup, one being [an
175 though that's not the current path we're working towards.
/build/make/tools/fs_config/
Dfs_config_generator.py16 import re
262 _CAP_DEFINE = re.compile(r'\s*#define\s+(CAP_\S+)\s+(\S+)')
310 re.compile(r'%sUNUSED[0-9].*' % AID.PREFIX),
311 re.compile(r'%sAPP' % AID.PREFIX),
312 re.compile(r'%sUSER' % AID.PREFIX)
314 _AID_DEFINE = re.compile(r'\s*#define\s+%s.*' % AID.PREFIX)
317 _OEM_RANGE = re.compile('%sOEM_RESERVED_[0-9]*_{0,1}(%s|%s)' %
583 _AID_MATCH = re.compile('%s[A-Z0-9_]+' % AID.PREFIX)
/build/kati/
DCONTRIBUTING.md14 * If you are an individual writing original source code and you're sure you
40 feature you're intending to fix. Even if you think it's relatively minor,
/build/make/tools/droiddoc/templates-pdk/assets/
Dsearch_autocomplete.js168 var _lastSearch = function(s, re) { argument
173 while ((tmp = s.search(re)) >= 0) {
/build/soong/python/scripts/
Dstub_template_host.txt4 import re

12