/build/make/tools/ |
D | check_radio_versions.py | 30 for line in f: 31 line = line.strip() variable 32 if line.startswith("require"): 33 key, value = line.split()[1].split("=", 1) 59 for line in f: 60 line = line.strip() variable 61 if not line or line.startswith("#"): continue 62 h, v = line.split()
|
D | mk2bp_catalog.py | 58 line = lines[i] 59 stripped = line.strip() 63 line_matches.append((i+1, line)) 67 def analyze_has_conditional(line): argument 68 return (line.startswith("ifeq") or line.startswith("ifneq") 69 or line.startswith("ifdef") or line.startswith("ifndef")) 83 def analyze_has_wacky_include(line): argument 84 if not (line.startswith("include") or line.startswith("-include") 85 or line.startswith("sinclude")): 88 if matcher.fullmatch(line): [all …]
|
D | parsedeps.py | 94 for line in f: 95 line = line.strip() 96 if len(line) > 0: 97 if line[0] == '#': 98 pos,tgt = line.rsplit(":", 1) 103 (tgt,prereq) = line.split(':', 1) 111 line = raw_input("target> ") 112 if not line.strip(): 114 split = line.split()
|
D | event_log_tags.py | 63 for self.linenum, line in enumerate(file_object): 65 line = re.sub('#.*$', '', line) # strip trailing comments 66 line = line.strip() 67 if not line: continue 68 parts = re.split(r"\s+", line, 2) 71 self.AddError("failed to parse \"%s\"" % (line,))
|
D | fileslist_util.py | 23 for line in data: 24 print(line["Name"]) 29 for line in data: 30 print "{0:12d} {1}".format(line["Size"], line["Name"])
|
D | filter-product-graph.py | 7 def choose_regex(regs, line): argument 9 m = reg.match(line) 37 lines = [line.strip() for line in lines] 39 for line in lines: 40 func,m = choose_regex(REGS, line)
|
D | post_process_props.py | 131 def from_line(line): argument 132 line = line.rstrip('\n') 133 if line.startswith("#"): 134 return Prop("", "", comment=line) 135 elif "?=" in line: 136 name, value = line.split("?=", 1) 138 elif "=" in line: 139 name, value = line.split("=", 1) 144 return Prop("", "", comment=line)
|
D | product_debug.py | 27 def split_line(line): argument 28 words = line.split("=", 1) 40 return [split_line(line) for line in lines if line.strip()]
|
D | normalize_path.py | 28 for line in sys.stdin: 29 print os.path.normpath(line.strip())
|
D | check_elf_file.py | 189 for line in lines_it: 190 if line.startswith(pattern): 236 for line in lines_it: 237 if line == cls._DYNAMIC_SECTION_END_PATTERN: 240 match = cls._DYNAMIC_SECTION_NEEDED_PATTERN.match(line) 245 match = cls._DYNAMIC_SECTION_SONAME_PATTERN.match(line) 307 for line in lines_it: 308 if line == cls._DYNAMIC_SYMBOLS_END_PATTERN: 311 if line == cls._SYMBOL_ENTRY_START_PATTERN: 315 if line == cls._SYMBOL_ENTRY_END_PATTERN: [all …]
|
/build/make/tools/warn/ |
D | warn_common.py | 114 def find_project_index(line, project_patterns): argument 116 if p.match(line): 235 for line in buildlog: 236 if warning_pattern.match(line): 237 warning_lines.append(line) 244 path = os.path.normpath(re.sub(':.*$', '', line)) 283 def normalize_warning_line(line, flags, android_root=None): argument 285 line = re.sub(u'[\u2018\u2019]', '\'', line) 287 line = re.sub(u'[^\x00-\x7f]', ' ', line) 288 line = line.strip() [all …]
|
/build/soong/cmd/javac_wrapper/ |
D | javac_wrapper.go | 142 func (proc *processor) processLine(w io.Writer, line string) { 144 if f.MatchString(line) { 150 if f.MatchString(line) { 154 if match := warningCount.FindStringSubmatch(line); match != nil { 161 line = fmt.Sprintf("%d warning", c) 163 line += "s" 170 if line, matched = applyColor(line, p.color, p.re); matched { 174 fmt.Fprintln(w, line) 179 func applyColor(line, color string, re *regexp.Regexp) (string, bool) { argument 180 if m := re.FindStringSubmatchIndex(line); m != nil { [all …]
|
/build/soong/ui/status/ |
D | kati.go | 63 func (k *katiOutputParser) parseLine(line string) { 65 if katiLogRe.MatchString(line) { 66 k.st.Verbose(line) 70 if matches := katiIncludeRe.FindStringSubmatch(line); len(matches) > 0 { 74 matches := katiIncludeRe.FindStringSubmatch(line) 101 if katiError.MatchString(line) { 104 k.buf.WriteString(line) 108 if line == "No need to regenerate ninja file" || katiNinjaMissing.MatchString(line) { 109 k.st.Status(line) 111 k.st.Print(line)
|
/build/make/core/tasks/check_boot_jars/ |
D | check_boot_jars.py | 24 for line in f: 25 line = line.strip() 26 if not line or line.startswith('#'): 28 lines.append(line)
|
/build/soong/ui/build/ |
D | test_build.go | 76 line := scanner.Text() 77 if !strings.HasPrefix(line, outDir) { 81 if strings.HasPrefix(line, bootstrapDir) || 82 strings.HasPrefix(line, miniBootstrapDir) || 83 strings.HasPrefix(line, modulePathsDir) || 84 line == variablesFilePath { 89 danglingRules[line] = true
|
D | dumpvars.go | 115 for _, line := range strings.Split(output.String(), "\n") { 116 if len(line) == 0 { 120 if key, value, ok := decodeKeyValue(line); ok { 125 return nil, fmt.Errorf("Failed to parse make line: %q", line) 128 return nil, fmt.Errorf("Failed to parse make line: %q", line)
|
/build/make/tools/releasetools/ |
D | target_files_diff.py | 78 for line in original: 81 if line.startswith(s): 85 new.write(line) 93 for line in original: 94 new.write(re.sub(r'[0-9a-f]{40}', '0'*40, line)) 103 for line in lines: 104 new.write(line) 151 for line in stdout.strip().split('\n'): 152 print("%s: %s" % (name, line), file=out_file)
|
D | ota_package_parser.py | 87 for line in lines[4:]: 88 cmd_list = line.strip().split(" ") 92 assert len(cmd_list) == 2, "command format error: {}".format(line) 98 assert len(cmd_list) >= 5, "command format error: {}".format(line) 110 assert len(cmd_list) >= 8, "command format error: {}".format(line) 120 assert len(cmd_list) == 3, "command format error: {}".format(line) 125 assert len(cmd_list) == 2, "command format error: {}".format(line) 129 logging.error("failed to parse command in: " + line) 176 for line in self.package.read(metadata_path).strip().splitlines(): 177 index = line.find("=") [all …]
|
D | sign_target_files_apks.py | 772 for line in data.split("\n"): 773 line = line.strip() 774 original_line = line 775 if line and line[0] != '#' and "=" in line: 776 key, value = line.split("=", 1) 799 line = key + "=" + value 800 if line != original_line: 802 print(" with: ", line) 803 output.append(line) 1033 for line in data.split("\n"): [all …]
|
D | sign_target_files_apks | 772 for line in data.split("\n"): 773 line = line.strip() 774 original_line = line 775 if line and line[0] != '#' and "=" in line: 776 key, value = line.split("=", 1) 799 line = key + "=" + value 800 if line != original_line: 802 print(" with: ", line) 803 output.append(line) 1033 for line in data.split("\n"): [all …]
|
/build/blueprint/ |
D | ninja_writer.go | 57 var line string 63 line = strings.TrimRightFunc(comment[lineStart:i], unicode.IsSpace) 69 line = strings.TrimSpace(comment[lineStart:lastSplitPoint]) 74 line = strings.TrimSpace("# "+line) + "\n" 75 _, err := io.WriteString(n.writer, line) 84 line := strings.TrimSpace(comment[lineStart:]) 85 _, err := fmt.Fprintf(n.writer, "# %s\n", line)
|
/build/make/core/ |
D | line_coverage.mk | 52 intermediates := $(call intermediates-dir-for,PACKAGING,haiku-line-coverage) 87 .PHONY: haiku-line-coverage 88 haiku-line-coverage: $(line_coverage_profiles) $(line_coverage_fuzz_targets) 89 $(call dist-for-goals, haiku-line-coverage, \
|
D | filter_symbols.sh | 15 $NM -g -fp $1 | while read -a line 17 type=${line[1]}
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | style.css | 45 line-height: 110%; 56 line-height: 110%; 67 line-height: 110%; 73 line-height: 110%; 84 line-height: 110%; 94 line-height: 110%; 103 line-height: 110%; 192 line-height: 120%; 230 line-height: 120%; 235 line-height: 120%; [all …]
|
/build/soong/cc/symbolfile/ |
D | __init__.py | 38 def get_tags(line): argument 40 _, _, all_tags = line.strip().partition('#') 376 line = self.input_file.readline() 377 while line.strip() == '' or line.strip().startswith('#'): 378 line = self.input_file.readline() 381 if line == '': 383 self.current_line = line
|