Home
last modified time | relevance | path

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

12

/build/make/tools/warn/
Dwarn_common.py52 import re
233 warning_pattern = re.compile('^/[^ ]*/[^ ]*: warning: .*')
244 path = os.path.normpath(re.sub(':.*$', '', line))
285 line = re.sub(u'[\u2018\u2019]', '\'', line)
287 line = re.sub(u'[^\x00-\x7f]', ' ', line)
303 warning_pattern = re.compile(chrome_warning_pattern)
316 m = re.match(r'.+Package:.+chromeos-base/chromeos-chrome-', line)
320 m = re.match(r'.+Source\sunpacked\sin\s(.+)', line)
324 m = re.match(r'.+USE:\s*([^\s]*).*', line)
359 warning_pattern = re.compile('(^[^ ]*/[^ ]*: warning: .*)|(^warning: .*)')
[all …]
/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()
Devent_log_tags.py17 import re
65 line = re.sub('#.*$', '', line) # strip trailing comments
68 parts = re.split(r"\s+", line, 2)
97 if not re.match(r"\(.*\)\s*$", description):
Dfilter-product-graph.py4 import re
32 (dependency, re.compile(r'"(.*)"\s*->\s*"(.*)"')),
33 (info, re.compile(r'"(.*)"(\s*\[.*\])')),
Dgenerate-notice-files.py32 import re
79 SRC_DIR_STRIP_RE = re.compile("(?:" + "|".join(input_dirs) + ")(/.*).txt")
137 SRC_DIR_STRIP_RE = re.compile("(?:" + "|".join(input_dirs) + ")(/.*).txt")
152 SRC_DIR_STRIP_RE = re.compile("(?:" + "|".join(input_dirs) + ")(/.*).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]
Djava-layers.py4 import re
184 COMMENTS = re.compile("//.*?\n|/\*.*?\*/", re.S)
185 PACKAGE = re.compile("package\s+(.*)")
186 IMPORT = re.compile("import\s+(.*)")
Dproduct_debug.py18 import re
53 groups = re.split("(\\$\\(call " + func_name + ",.*\\))", text)
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
54 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 allow_list_re = re.compile(combined_re)
33 except re.error:
/build/soong/scripts/
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")
/build/soong/cmd/javac_wrapper/
Djavac_wrapper.go170 if line, matched = applyColor(line, p.color, p.re); matched {
179 func applyColor(line, color string, re *regexp.Regexp) (string, bool) {
180 if m := re.FindStringSubmatchIndex(line); m != nil {
191 re *regexp.Regexp
/build/soong/android/
Dneverallow.go324 re *regexp.Regexp member
328 return m.re.MatchString(value)
332 return ".regexp(" + m.re.String() + ")"
550 func Regexp(re string) ValueMatcher {
551 r, err := regexp.Compile(re)
/build/make/tools/releasetools/
Dvalidate_target_files.py37 import re
180 check_cmd = re.search(r'if ! applypatch --check (\w+:.+:\w+:\w+);',
190 target = re.search(r'--target (.+) &&', lines[4].strip())
207 source = re.search(r'--source (\w+:.+:\w+:\w+) \\', lines[4].strip())
220 target = re.search(r'--target (\w+:.+:\w+:\w+) && \\', lines[5].strip())
Dtest_apex_utils.py17 import re
169 match = re.search(r"^package:.* name='([\w|\.]+)'", line, re.IGNORECASE)
Dcheck_ota_package_signature.py25 import re
43 algorithm = re.search(r'Signature Algorithm: ([a-zA-Z0-9]+)', cert_dump)
Dapex_utils.py19 import re
244 payload_info_matcher = re.compile(PAYLOAD_INFO_PATTERN)
261 prop_matcher = re.compile(PROPERTY_DESCRIPTOR_PATTERN)
Dtarget_files_diff.py27 import re
94 new.write(re.sub(r'[0-9a-f]{40}', '0'*40, line))
/build/make/tools/droiddoc/
DREADME1 If you're looking for the templates-sdk/ files, they've moved
/build/make/tools/fs_config/
Dfs_config_generator.py16 import re
262 _CAP_DEFINE = re.compile(r'\s*#define\s+(CAP_\S+)\s+(\S+)')
309 re.compile(r'%sUNUSED[0-9].*' % AID.PREFIX),
310 re.compile(r'%sAPP' % AID.PREFIX),
311 re.compile(r'%sUSER' % AID.PREFIX)
313 _AID_DEFINE = re.compile(r'\s*#define\s+%s.*' % AID.PREFIX)
314 _RESERVED_RANGE = re.compile(
498 _AID_MATCH = re.compile('%s[A-Z0-9_]+' % AID.PREFIX)
/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/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
/build/make/
DDeprecation.md4 to Android.bp), and we're ready to start turning off pieces of Make. If you
64 if you're following Android releases, none of the deprecation steps will be in

12