Searched refs:lines (Results 1 – 15 of 15) sorted by relevance
/build/tools/ |
D | post_process_props.py | 86 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 …]
|
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 | 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 | filter-product-graph.py | 36 lines = sys.stdin.readlines() 37 lines = [line.strip() for line in lines] 39 for line in lines:
|
/build/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/core/tasks/check_boot_jars/ |
D | check_boot_jars.py | 22 lines = [] 28 lines.append(line) 29 combined_re = r'^(%s)$' % '|'.join(lines)
|
/build/ |
D | envsetup.sh | 1602 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/ |
D | common.py | 185 def LoadDictionaryFromLines(lines): argument 187 for line in lines:
|
/build/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-docs.css | 1559 /* these allow lines to break (if there's a white space) */
|
/build/tools/droiddoc/templates-ds/assets/ |
D | android-developer-docs.css | 1559 /* these allow lines to break (if there's a white space) */
|
/build/tools/droiddoc/templates-sdk-dyn/assets/ |
D | android-developer-docs.css | 2751 /* these allow lines to break (if there's a white space) */
|
/build/tools/droiddoc/templates-sdk/assets/ |
D | android-developer-docs.css | 2751 /* these allow lines to break (if there's a white space) */
|
/build/tools/droiddoc/templates-sac/assets/ |
D | android-developer-docs.css | 2751 /* these allow lines to break (if there's a white space) */
|