/build/make/tools/warn/ |
D | warn_common.py | 52 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/ |
D | checkowners.py | 6 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()
|
D | event_log_tags.py | 17 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):
|
D | filter-product-graph.py | 4 import re 32 (dependency, re.compile(r'"(.*)"\s*->\s*"(.*)"')), 33 (info, re.compile(r'"(.*)"(\s*\[.*\])')),
|
D | generate-notice-files.py | 32 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")
|
D | check_elf_file.py | 30 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]
|
D | java-layers.py | 4 import re 184 COMMENTS = re.compile("//.*?\n|/\*.*?\*/", re.S) 185 PACKAGE = re.compile("package\s+(.*)") 186 IMPORT = re.compile("import\s+(.*)")
|
D | product_debug.py | 18 import re 53 groups = re.split("(\\$\\(call " + func_name + ",.*\\))", text)
|
D | java-event-log-tags.py | 30 import re 134 out = name[0].lower() + re.sub(r"[^A-Za-z0-9]", "", name.title())[1:]
|
D | extract_kernel.py | 24 import re 54 mo = re.match(LINUX_BANNER_REGEX, linux_banner)
|
/build/make/core/ |
D | checktree | 3 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/ |
D | check_boot_jars.py | 10 import re 32 allow_list_re = re.compile(combined_re) 33 except re.error:
|
/build/soong/scripts/ |
D | generate-notice-files.py | 32 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/ |
D | javac_wrapper.go | 170 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/ |
D | neverallow.go | 324 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/ |
D | validate_target_files.py | 37 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())
|
D | test_apex_utils.py | 17 import re 169 match = re.search(r"^package:.* name='([\w|\.]+)'", line, re.IGNORECASE)
|
D | check_ota_package_signature.py | 25 import re 43 algorithm = re.search(r'Signature Algorithm: ([a-zA-Z0-9]+)', cert_dump)
|
D | apex_utils.py | 19 import re 244 payload_info_matcher = re.compile(PAYLOAD_INFO_PATTERN) 261 prop_matcher = re.compile(PROPERTY_DESCRIPTOR_PATTERN)
|
D | target_files_diff.py | 27 import re 94 new.write(re.sub(r'[0-9a-f]{40}', '0'*40, line))
|
/build/make/tools/droiddoc/ |
D | README | 1 If you're looking for the templates-sdk/ files, they've moved
|
/build/make/tools/fs_config/ |
D | fs_config_generator.py | 16 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/ |
D | search_autocomplete.js | 168 var _lastSearch = function(s, re) { argument 173 while ((tmp = s.search(re)) >= 0) {
|
/build/soong/docs/ |
D | best_practices.md | 69 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/ |
D | Deprecation.md | 4 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
|