/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 | product_debug.py | 18 import re 53 groups = re.split("(\\$\\(call " + func_name + ",.*\\))", text)
|
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 | 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/tools/warn/ |
D | warn_common.py | 52 import re 236 warning_pattern = re.compile('^/[^ ]*/[^ ]*: warning: .*') 247 path = os.path.normpath(re.sub(':.*$', '', line)) 287 line = re.sub(u'[\u2018\u2019]', '\'', line) 289 line = re.sub(u'[^\x00-\x7f]', ' ', line) 305 warning_pattern = re.compile(chrome_warning_pattern) 318 result = re.match(r'.+Package:.+chromeos-base/chromeos-chrome-', line) 322 result = re.match(r'.+Source\sunpacked\sin\s(.+)', line) 326 result = re.match(r'.+USE:\s*([^\s]*).*', line) 362 warning_pattern = re.compile('(^[^ ]*/[^ ]*: warning: .*)|(^warning: .*)') [all …]
|
/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/soong/scripts/ |
D | manifest_check.py | 23 import re 124 pattern = re.compile("^uses-library(-not-required)?:'(.*)'$", re.MULTILINE) 129 for match in re.finditer(pattern, badging): 214 pattern = re.compile("^targetSdkVersion?:'(.*)'$", re.MULTILINE) 216 for match in re.finditer(pattern, badging):
|
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/scripts/check_boot_jars/ |
D | check_boot_jars.py | 10 import re 33 allow_list_re = re.compile(combined_re) 34 except re.error:
|
/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/make/tools/droiddoc/ |
D | README | 1 If you're looking for the templates-sdk/ files, they've moved
|
/build/make/tools/releasetools/ |
D | find_shareduid_violation.py | 43 import re 86 pattern = re.compile(r"sharedUserId.*=\"([^\"]*)")
|
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 | check_ota_package_signature.py | 25 import re 43 algorithm = re.search(r'Signature Algorithm: ([a-zA-Z0-9]+)', cert_dump)
|
D | test_apex_utils.py | 17 import re 169 match = re.search(r"^package:.* name='([\w|\.]+)'", line, re.IGNORECASE)
|
D | test_utils.py | 25 import re 249 if dirpath == base_path and re.match('test_.*\\.py$', fn):
|
/build/soong/android/ |
D | neverallow.go | 304 re *regexp.Regexp member 308 return m.re.MatchString(value) 312 return ".regexp(" + m.re.String() + ")" 562 func Regexp(re string) ValueMatcher { 563 r, err := regexp.Compile(re)
|
/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/soong/cc/ |
D | tidy.go | 168 re := regexp.MustCompile(`'?-?-warnings-as-errors=[^ ]* *`)
|
/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) {
|