Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 91) sorted by relevance

1234

/build/make/tools/
Dcheck_radio_versions.py30 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()
Dmk2bp_catalog.py58 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 …]
Dparsedeps.py94 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()
Devent_log_tags.py63 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,))
Dfileslist_util.py23 for line in data:
24 print(line["Name"])
29 for line in data:
30 print "{0:12d} {1}".format(line["Size"], line["Name"])
Dfilter-product-graph.py7 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)
Dpost_process_props.py131 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)
Dproduct_debug.py27 def split_line(line): argument
28 words = line.split("=", 1)
40 return [split_line(line) for line in lines if line.strip()]
Dnormalize_path.py28 for line in sys.stdin:
29 print os.path.normpath(line.strip())
Dcheck_elf_file.py189 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/
Dwarn_common.py114 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/
Djavac_wrapper.go142 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/
Dkati.go63 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/
Dcheck_boot_jars.py24 for line in f:
25 line = line.strip()
26 if not line or line.startswith('#'):
28 lines.append(line)
/build/soong/ui/build/
Dtest_build.go76 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
Ddumpvars.go115 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/
Dtarget_files_diff.py78 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)
Dota_package_parser.py87 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 …]
Dsign_target_files_apks.py772 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 …]
Dsign_target_files_apks772 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/
Dninja_writer.go57 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/
Dline_coverage.mk52 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, \
Dfilter_symbols.sh15 $NM -g -fp $1 | while read -a line
17 type=${line[1]}
/build/make/tools/droiddoc/templates-pdk/assets/
Dstyle.css45 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__.py38 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

1234