/build/kati/testcase/ |
D | override_define.mk | 4 override define two-lines 13 override define three-lines 18 override define four-lines 28 echo two BEGIN $(two-lines) END $(flavor two-lines) 29 echo three BEGIN $(three-lines) END $(flavor three-lines) 30 echo four BEGIN $(four-lines) END $(flavor four-lines)
|
D | define.mk | 16 define two-lines 24 echo BEGIN $(two-lines) END
|
D | define_newline.mk | 6 $(info This should have$(newline)two lines)
|
/build/make/tools/ |
D | post_process_props.py | 76 def __init__(self, lines): argument 77 self.lines = [s.strip() for s in lines] 81 for line in self.lines: 91 for line in self.lines: 98 for i in range(0,len(self.lines)): 99 if self.lines[i].startswith(key): 100 self.lines[i] = key + value 102 self.lines.append(key + value) 106 self.lines = [ line for line in self.lines if not line.startswith(key) ] 109 f.write("\n".join(self.lines)) [all …]
|
D | parsedeps.py | 22 self.lines = {} 27 t = self.lines.get(tgt) 30 self.lines[tgt] = t 31 p = self.lines.get(prereq) 34 self.lines[prereq] = p 39 t = self.lines.get(tgt) 42 self.lines[tgt] = t 46 if self.lines.has_key(tgt): 47 return self.lines[tgt] 52 return self.lines.iteritems() [all …]
|
D | compare_fileslist.py | 37 lines = f.readlines() 39 lines = map(string.split, lines) 40 lines = map(lambda (x,y): (y,int(x)), lines) 41 for fn,sz in lines:
|
D | product_debug.py | 35 lines = text.split() 36 lines.sort() 37 return "\n".join(lines) 39 def parse_variables(lines): argument 40 return [split_line(line) for line in lines if line.strip()] 79 lines = sys.stdin.readlines() 80 variables = parse_variables(lines)
|
D | filter-product-graph.py | 36 lines = sys.stdin.readlines() 37 lines = [line.strip() for line in lines] 39 for line in lines:
|
D | java-layers.py | 121 lines = f.readlines() 127 lines = [lineno(x,n) for x in lines] 128 lines = [(n,s.split("#")[0].strip()) for (n,s) in lines] 129 lines = [(n,s) for (n,s) in lines if len(s) > 0] 130 lines = [(n,s.split()) for (n,s) in lines] 132 for n,words in lines:
|
D | check_elf_file.py | 202 lines = out.splitlines() 203 return cls._parse_llvm_readobj(elf_file_path, header, lines) 207 def _parse_llvm_readobj(cls, elf_file_path, header, lines): argument 209 lines_it = iter(lines)
|
/build/make/core/ |
D | checktree | 54 lines = fd.readlines() 62 if len(lines) >= 1: 63 lines = filter(filterit, lines) 64 if len(lines) >= 1: 65 return map(matchit, lines)
|
/build/make/tools/releasetools/ |
D | validate_target_files.py | 167 lines = script.read().strip().split('\n') 168 assert len(lines) >= 10 170 lines[1].strip()) 176 assert len(lines) == 10, "Invalid line count: {}".format(lines) 179 target = re.search(r'--target (.+) &&', lines[4].strip()) 181 "Failed to parse target line \"{}\"".format(lines[4]) 193 assert len(lines) == 11, "Invalid line count: {}".format(lines) 196 source = re.search(r'--source (\w+:.+:\w+:\w+) \\', lines[4].strip()) 198 "Failed to parse source line \"{}\"".format(lines[4]) 209 target = re.search(r'--target (\w+:.+:\w+:\w+) && \\', lines[5].strip()) [all …]
|
D | ota_package_parser.py | 79 lines = self.package.read(name).strip().splitlines() 80 assert len(lines) >= 4, "{} is too short; Transfer list expects at least" \ 81 "4 lines, it has {}".format(name, len(lines)) 82 assert int(lines[0]) >= 3 83 logging.info("(version: {})".format(lines[0])) 87 for line in lines[4:]: 136 blocks_written, lines[1])) 138 format(my_stash.max_stash_needed, lines[3]))
|
D | test_common.py | 1091 self.lines = [] 1095 self.lines.append("# {}".format(comment)) 1097 self.lines.append(extra) 1099 return "\n".join(self.lines) 1161 lines = self.get_op_list(self.output_path) 1163 remove_all_groups = lines.index("remove_all_groups") 1164 add_group = lines.index("add_group group_foo 4294967296") 1165 add_vendor = lines.index("add vendor group_foo") 1166 add_system = lines.index("add system group_foo") 1167 resize_vendor = lines.index("resize vendor 1073741824") [all …]
|
D | target_files_diff.py | 101 lines = original.readlines() 102 lines.sort() 103 for line in lines:
|
D | build_super_image.py | 194 lines = f.read() 196 return BuildSuperImageFromDict(common.LoadDictionaryFromLines(lines.split("\n")), out)
|
/build/make/core/tasks/check_boot_jars/ |
D | check_boot_jars.py | 22 lines = [] 28 lines.append(line) 29 combined_re = r'^(%s)$' % '|'.join(lines)
|
/build/soong/cmd/path_interposer/ |
D | main.go | 181 lines := bytes.Split(data, []byte("\n")) 182 if len(lines) < 2 { 186 lines = lines[1:] 188 ret := make(map[int]procEntry, len(lines)) 189 for _, line := range lines {
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 80 lines := strings.Split(strings.TrimSpace(string(data)), "\n") 81 if len(lines) > errorLeadingLines+errorTrailingLines+1 { 82 lines[errorLeadingLines] = fmt.Sprintf("... skipping %d lines ...", 83 len(lines)-errorLeadingLines-errorTrailingLines) 85 lines = append(lines[:errorLeadingLines+1], 86 lines[len(lines)-errorTrailingLines:]...) 89 for _, line := range lines {
|
/build/make/tools/fs_config/ |
D | pylintrc | 2 disable=fixme,design,locally-disabled,too-many-lines
|
/build/soong/androidmk/parser/ |
D | parser.go | 66 lines []int member 71 p.lines = []int{0} 90 line := sort.Search(len(p.lines), func(i int) bool { return p.lines[i] > offset }) - 1 94 Column: offset - p.lines[line] + 1, 138 p.lines = append(p.lines, p.scanner.Position.Offset+1)
|
/build/blueprint/parser/ |
D | parser_test.go | 1086 lines := strings.Split(in, "\n") 1087 for i := range lines { 1088 lines[i] = strings.TrimSpace(lines[i]) 1090 in = strings.Join(lines, "\n") 1104 modEnd := mkpos(len(in)-1, len(lines)-1, 2) 1118 endColumn := len(lines[endLine-1]) // scanner.Position.Line is starts at 1
|
/build/soong/scripts/ |
D | build_broken_logs.go | 226 lines := strings.Split(string(soongLog), "\n") 227 for _, line := range lines {
|
/build/soong/cc/ |
D | pylintrc | 158 # Minimum lines number of a similarity. 159 min-similarity-lines=4 191 ignore-long-lines=^\s*(# )?<?https?://\S+>?$ 200 # Maximum number of lines in a module 201 max-module-lines=1000
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 266 lines := strings.Split(text, "\n") 268 for _, line := range lines {
|