Home
last modified time | relevance | path

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

/build/tools/
Dpost_process_props.py86 def __init__(self, lines): argument
87 self.lines = [s.strip() for s in lines]
91 for line in self.lines:
101 for line in self.lines:
108 for i in range(0,len(self.lines)):
109 if self.lines[i].startswith(key):
110 self.lines[i] = key + value
112 self.lines.append(key + value)
116 self.lines = [ line for line in self.lines if not line.startswith(key) ]
119 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)
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:
Dfilter-product-graph.py36 lines = sys.stdin.readlines()
37 lines = [line.strip() for line in lines]
39 for line in lines:
/build/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/core/tasks/check_boot_jars/
Dcheck_boot_jars.py22 lines = []
28 lines.append(line)
29 combined_re = r'^(%s)$' % '|'.join(lines)
/build/
Denvsetup.sh1602 local lines
1603 lines=($(\grep "$1" $T/filelist | sed -e 's/\/[^/]*$//' | sort | uniq))
1614 for line in ${lines[@]}; do
1626 pathname=${lines[$(($choice-1))]}
1629 pathname=${lines[0]}
/build/tools/releasetools/
Dcommon.py185 def LoadDictionaryFromLines(lines): argument
187 for line in lines:
/build/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-docs.css1559 /* these allow lines to break (if there's a white space) */
/build/tools/droiddoc/templates-ds/assets/
Dandroid-developer-docs.css1559 /* these allow lines to break (if there's a white space) */
/build/tools/droiddoc/templates-sdk-dyn/assets/
Dandroid-developer-docs.css2751 /* these allow lines to break (if there's a white space) */
/build/tools/droiddoc/templates-sdk/assets/
Dandroid-developer-docs.css2751 /* these allow lines to break (if there's a white space) */
/build/tools/droiddoc/templates-sac/assets/
Dandroid-developer-docs.css2751 /* these allow lines to break (if there's a white space) */