/build/blueprint/parser/ |
D | printer.go | 33 pos scanner.Position member 55 pos: scanner.Position{ 139 func (p *printer) printList(list []Expression, pos, endPos scanner.Position) { 141 p.printToken("[", pos) 142 if len(list) > 1 || pos.Line != endPos.Line { 202 p.unindent(p.pos) 215 func (p *printer) printToken(s string, pos scanner.Position) { 218 if pos == noPos { 219 pos = p.pos 223 p.printEndOfLineCommentsBefore(pos) [all …]
|
D | parser.go | 124 pos := p.scanner.Position 125 if !pos.IsValid() { 126 pos = p.scanner.Pos() 130 Pos: pos, 179 pos := p.scanner.Position 186 defs = append(defs, p.parseAssignment(ident, pos, "+=")) 188 defs = append(defs, p.parseAssignment(ident, pos, "=")) 190 defs = append(defs, p.parseModule(ident, pos)) 210 pos := p.scanner.Position 220 assignment.EqualsPos = pos [all …]
|
D | ast.go | 428 pos := c.Slash 430 pos.Offset += len(comment) + 1 431 pos.Column = len(comment) + 1 433 pos.Line += len(c.Comment) - 1 434 return pos 505 func endPos(pos scanner.Position, n int) scanner.Position { 506 pos.Offset += n 507 pos.Column += n 508 return pos
|
D | sort.go | 132 if c.Pos().Offset > e.pos.Offset && c.Pos().Offset < e.nextPos.Offset { 134 file.Comments[j].Comments[0].Slash.Offset += values[i].Pos().Offset - e.pos.Offset 138 curPos.Offset += e.nextPos.Offset - e.pos.Offset 165 pos scanner.Position member
|
/build/make/tools/ |
D | parsedeps.py | 12 self.pos = "" 38 def setPos(self, tgt, pos): argument 43 t.pos = pos 98 pos,tgt = line.rsplit(":", 1) 99 pos = pos[1:].strip() 101 deps.setPos(tgt, pos) 136 if t.pos: 137 print t.tgt, " " * (width-len(t.tgt)), " #", t.pos
|
D | check_elf_file.py | 267 pos = name_with_version.rfind('@') 268 if pos == -1: 272 if pos > 0 and name_with_version[pos - 1] == '@': 273 name = name_with_version[0:pos - 1] 275 name = name_with_version[0:pos] 276 version = name_with_version[pos + 1:]
|
D | fat16copy.py | 646 pos = 2 647 while pos < self.fat_size / 2: 653 current = pos 659 pos += 1
|
/build/soong/androidmk/parser/ |
D | parser.go | 88 func (p *parser) Unpack(pos Pos) scanner.Position { 89 offset := int(pos) 99 func (p *parser) pos() Pos { func 100 pos := p.scanner.Position 101 if !pos.IsValid() { 102 pos = p.scanner.Pos() 104 return Pos(pos.Offset) 208 pos := p.pos() 212 expression := SimpleMakeString("", pos) 225 NamePos: pos, [all …]
|
D | make_strings.go | 39 func SimpleMakeString(s string, pos Pos) *MakeString { 41 StringPos: pos, 56 pos := ms.StringPos 58 pos = ms.Variables[len(ms.Variables)-1].End() 60 return Pos(int(pos) + len(ms.Strings[len(ms.Strings)-1]))
|
/build/soong/makedeps/ |
D | deps.go | 41 pos := func(node parser.Node) string { 53 return nil, fmt.Errorf("%sunexpected recipe in rule: %v", pos(node), x) 57 return nil, fmt.Errorf("%sunsupported variable expansion: %v", pos(node), x.Target.Dump()) 68 … return nil, fmt.Errorf("%sunsupported variable expansion: %v", pos(node), x.Prerequisites.Dump()) 74 return nil, fmt.Errorf("%sunexpected line: %#v", pos(node), node)
|
/build/make/tools/releasetools/ |
D | sparse_img.py | 81 pos = 0 # in blocks 100 care_data.append(pos) 101 care_data.append(pos + chunk_sz) 102 offset_map.append((pos, chunk_sz, f.tell(), None)) 103 pos += chunk_sz 108 care_data.append(pos) 109 care_data.append(pos + chunk_sz) 110 offset_map.append((pos, chunk_sz, None, fill_data)) 111 pos += chunk_sz 124 care_data.append(pos) [all …]
|
/build/make/tools/atree/ |
D | fs.cpp | 105 size_t pos = 0; in mkdir_recursively() local 108 if (path.length() != 0 and path[0] == '/') pos++; in mkdir_recursively() 111 pos = path.find('/', pos); in mkdir_recursively() 112 string p = path.substr(0, pos); in mkdir_recursively() 128 pos++; in mkdir_recursively()
|
D | files.cpp | 152 string::size_type pos = 0; in replace_variables() local 153 while((pos = result.find(it->first, pos)) != string::npos) { in replace_variables() 154 result = result.replace(pos, it->first.length(), it->second); in replace_variables() 155 pos += it->second.length(); in replace_variables() 385 int pos = filename.rfind('/'); in dir_part() local 386 if (pos <= 0) { in dir_part() 389 return filename.substr(0, pos); in dir_part()
|
/build/make/core/ |
D | checktree | 24 pos = 0 26 pos = s.find(" ", pos) + 1 28 return s[pos:]
|
/build/soong/androidmk/androidmk/ |
D | androidmk.go | 91 func (f *bpFile) setMkPos(pos, end scanner.Position) { 104 if pos.Line >= f.mkPos.Line { 105 f.bpPos.Line += (pos.Line - f.mkPos.Line) 396 pos := file.bpPos 414 val.(*bpparser.Operator).OperatorPos = pos 430 NamePos: pos, 443 NamePos: pos, 453 NamePos: pos, 456 EqualsPos: pos, 466 NamePos: pos, [all …]
|
/build/blueprint/ |
D | module_ctx.go | 153 Errorf(pos scanner.Position, fmt string, args ...interface{}) 387 func (d *baseModuleContext) Errorf(pos scanner.Position, 392 Pos: pos, 402 Pos: d.module.pos, 411 pos := d.module.propertyPos[property] 413 if !pos.IsValid() { 414 pos = d.module.pos 421 Pos: pos, 482 Pos: module.pos, 1040 module.pos = mctx.module.pos [all …]
|
D | name_interface.go | 88 return &namespaceContextImpl{moduleInfo.pos.Filename} 112 " %s <-- previous definition here", name, group.modules[0].pos), 133 oldName, newName, existingGroup.modules[0].pos),
|
D | context.go | 183 pos scanner.Position member 1317 Pos: module.pos, 1404 module.pos = moduleDef.TypePos 1419 Pos: module.pos, 1436 errs[i] = &BlueprintError{Err: errs[i], Pos: module.pos} 1549 Pos: module.pos, 1574 Pos: module.pos, 1582 Pos: module.pos, 1591 Pos: module.pos, 1609 Pos: module.pos, [all …]
|
/build/soong/symbol_inject/ |
D | symbol_inject.go | 111 pos := int64(offset) + int64(len(buf)) 113 _, err = io.Copy(w, io.NewSectionReader(r, pos, 1<<63-1-pos))
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-reference.js | 242 var pos = full.lastIndexOf("/"); 243 file = full.substr(pos) + file; 244 full = full.substr(0, pos);
|
D | jquery-resizable.min.js | 19 …pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(…
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 880 pos := mod.LBracePos.Offset + 1 889 err := patchlist.Add(pos, pos, stage) 895 pos = mod.Properties[0].End().Offset + 1 912 err := patchlist.Add(pos, pos, stage)
|
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
D | android_3p-bundle.js | 257 var pos = html.indexOf('&'); 258 if (pos < 0) { return html; } 262 for (--pos; (pos = html.indexOf('&#', pos + 1)) >= 0;) { 263 var end = html.indexOf(';', pos); 265 var num = html.substring(pos + 3, end); 273 html = (html.substring(0, pos) + String.fromCharCode(codePoint) + 627 var pos = 0; 634 out.push(plainText.substring(pos, i)); 644 pos = i + 1; 654 out.push(plainText.substring(pos)); [all …]
|
D | docs.js | 3068 var pos = full.lastIndexOf("/"); 3069 file = full.substr(pos) + file; 3070 full = full.substr(0, pos);
|
/build/soong/android/ |
D | module.go | 71 Errorf(pos scanner.Position, fmt string, args ...interface{})
|