/build/tools/ |
H A D | filter-product-graph.py | 4 import re namespace 32 (dependency, re.compile(r'"(.*)"\s*->\s*"(.*)"')), 33 (info, re.compile(r'"(.*)"(\s*\[.*\])')),
|
H A D | event_log_tags.py | 17 import re namespace 68 parts = re.split(r"\s+", line, 2) 97 if not re.match(r"\(.*\)\s*$", description):
|
H A D | adbs | 18 import re namespace 25 trace_line = re.compile("(.*)(\#[0-9]+) (..) ([0-9a-f]{8}) ([^\r\n \t]*)") 43 mangled_name = re.sub('<', '\<', list[0]); 44 mangled_name = re.sub('>', '\>', mangled_name); 100 func_regexp = re.compile("(^.*\<)(.*)(\+.*\>:$)")
|
H A D | generate-notice-files.py | 29 import re namespace 96 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt") 154 SRC_DIR_STRIP_RE = re.compile(input_dir + "(/.*).txt")
|
H A D | parsedeps.py | 5 import re namespace
|
H A D | product_debug.py | 18 import re namespace 53 groups = re.split("(\\$\\(call " + func_name + ",.*\\))", text)
|
H A D | warn.py | 5 import re namespace 515 i['compiledpatterns'].append(re.compile(pat)) 525 warningpattern = re.compile('.* warning:.*') 542 m = re.search('(?<=^PLATFORM_VERSION=).*', line) 545 m = re.search('(?<=^TARGET_PRODUCT=).*', line) 548 m = re.search('(?<=^TARGET_BUILD_VARIANT=).*', line)
|
H A D | java-event-log-tags.py | 30 import re namespace 73 # We're building something that's not being included in the 127 out = name[0].lower() + re.sub(r"[^A-Za-z0-9]", "", name.title())[1:]
|
H A D | java-layers.py | 4 import re namespace 184 COMMENTS = re.compile("//.*?\n|/\*.*?\*/", re.S) 185 PACKAGE = re.compile("package\s+(.*)") 186 IMPORT = re.compile("import\s+(.*)")
|
/build/core/ |
H A D | checktree | 3 import sys, os, re namespace 14 excludes_compiled = map(re.compile, excludes) 59 regex_compiled = re.compile(regex) 60 filt_compiled = re.compile(filt)
|
/build/tools/releasetools/ |
H A D | img_from_target_files | 40 import re namespace
|
H A D | sign_target_files_apks | 79 import re namespace 158 # an APK we're not supposed to sign. 191 (data, num) = re.subn(pattern, new_cert16, data, flags=re.IGNORECASE) 265 m = re.match(r"^(.*)\.x509\.pem$", k)
|
H A D | check_target_files_signatures | 49 import re namespace 215 m = re.search('A: (\S*?)(?:\(0x[0-9a-f]+\))?="(.*?)" \(Raw', line) 288 # during development, then manually re-signed after
|
H A D | edify_generator.py | 16 import re namespace 47 x = re.compile("^(.{,%d})\0" % (linelen-indent,))
|
H A D | ota_from_target_files | 71 import re namespace 278 # need to issue set_perm/set_perm_recursive commands if we're 874 # we're done with it.
|
H A D | common.py | 22 import re namespace 103 # files. Look for them, in case we're processing an old 370 m = re.match(r"^(.*[.]zip)\+(.*[.]zip)$", filename, re.IGNORECASE) 519 m = re.match(r'^name="(.*)"\s+certificate="(.*)"\s+' 713 m = re.match(r"^\[\[\[\s*(.*?)\s*\]\]\]\s*(\S+)$", line)
|