Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 40) sorted by relevance

12

/build/kati/testcase/
Doverride_define.mk4 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)
Ddefine.mk16 define two-lines
24 echo BEGIN $(two-lines) END
Ddefine_newline.mk6 $(info This should have$(newline)two lines)
/build/make/tools/
Dpost_process_props.py76 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 …]
Dparsedeps.py22 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 …]
Dcompare_fileslist.py37 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:
Dproduct_debug.py35 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)
Dfilter-product-graph.py36 lines = sys.stdin.readlines()
37 lines = [line.strip() for line in lines]
39 for line in lines:
Djava-layers.py121 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:
Dcheck_elf_file.py202 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/
Dchecktree54 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/
Dvalidate_target_files.py167 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 …]
Dota_package_parser.py79 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]))
Dtest_common.py1091 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 …]
Dtarget_files_diff.py101 lines = original.readlines()
102 lines.sort()
103 for line in lines:
Dbuild_super_image.py194 lines = f.read()
196 return BuildSuperImageFromDict(common.LoadDictionaryFromLines(lines.split("\n")), out)
/build/make/core/tasks/check_boot_jars/
Dcheck_boot_jars.py22 lines = []
28 lines.append(line)
29 combined_re = r'^(%s)$' % '|'.join(lines)
/build/soong/cmd/path_interposer/
Dmain.go181 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/
Dmain.go80 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/
Dpylintrc2 disable=fixme,design,locally-disabled,too-many-lines
/build/soong/androidmk/parser/
Dparser.go66 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/
Dparser_test.go1086 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/
Dbuild_broken_logs.go226 lines := strings.Split(string(soongLog), "\n")
227 for _, line := range lines {
/build/soong/cc/
Dpylintrc158 # 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/
Dproperties.go266 lines := strings.Split(text, "\n")
268 for _, line := range lines {

12