/build/soong/androidmk/parser/ |
D | ast.go | 17 type Pos int type 19 const NoPos Pos = 0 23 Pos() Pos methodSpec 24 End() Pos 42 func (x *Assignment) Pos() Pos { func 44 return x.Target.Pos() 46 return x.Name.Pos() 49 func (x *Assignment) End() Pos { return x.Value.End() } 52 CommentPos Pos 60 func (x *Comment) Pos() Pos { return x.CommentPos } func [all …]
|
D | make_strings.go | 46 StringPos Pos 51 func SimpleMakeString(s string, pos Pos) *MakeString { argument 63 func (ms *MakeString) Pos() Pos { func 67 func (ms *MakeString) End() Pos { 72 return Pos(int(pos) + len(ms.Strings[len(ms.Strings)-1])) 158 word := SimpleMakeString("", ms.Pos()) 206 word = SimpleMakeString("", ms.Pos()) 229 curMs := SimpleMakeString("", ms.Pos()) 247 curMs = SimpleMakeString(r, ms.Pos()) 265 ms.StringPos += Pos(len(ms.Strings[0]) - l)
|
D | parser.go | 31 Pos scanner.Position member 35 return fmt.Sprintf("%s: %s", e.Pos, e.Err) 88 func (p *parser) Unpack(pos Pos) scanner.Position { 99 func (p *parser) pos() Pos { 102 pos = p.scanner.Pos() 104 return Pos(pos.Offset) 110 Pos: p.scanner.Position, 247 func (p *parser) parseDefine() (*MakeString, Pos) { 391 func (p *parser) parseBracketedVariable(start, end rune, pos Pos) Variable {
|
/build/blueprint/parser/ |
D | sort.go | 136 line := list.Values[i].Pos().Line 139 if list.Values[j].Pos().Line > line+1 { 142 line = list.Values[j].Pos().Line 147 nextPos = list.Values[j].Pos() 157 line := list.Values[i].Pos().Line 160 if list.Values[j].Pos().Line > line+1 { 163 line = list.Values[j].Pos().Line 203 n = values[i+1].Pos() 205 l[i] = elem{s.Value, i, v.Pos(), n} 224 curPos := values[0].Pos() [all …]
|
D | ast.go | 25 Pos() scanner.Position methodSpec 53 func (a *Assignment) Pos() scanner.Position { return a.NamePos } func 88 func (m *Module) Pos() scanner.Position { return m.TypePos } func 131 func (p *Property) Pos() scanner.Position { return p.NamePos } func 238 func (x *Operator) Pos() scanner.Position { return x.Args[0].Pos() } func 252 func (x *Variable) Pos() scanner.Position { return x.NamePos } func 276 func (x *Map) Pos() scanner.Position { return x.LBracePos } func 370 func (x *List) Pos() scanner.Position { return x.LBracePos } func 402 func (x *String) Pos() scanner.Position { return x.LiteralPos } func 428 func (x *Int64) Pos() scanner.Position { return x.LiteralPos } func [all …]
|
D | printer.go | 226 p.printToken(unset.String(), unset.Pos()) 289 if operator.Args[0].End().Line == operator.Args[1].Pos().Line { 342 for p.curComment < len(p.comments) && p.comments[p.curComment].Pos().Offset < pos.Offset { 364 for p.curComment < len(p.comments) && p.comments[p.curComment].Pos().Line < pos.Line { 433 if !p.requestNewlinesForPos(comment.Pos()) { 458 if !p.requestNewlinesForPos(c.Pos()) {
|
D | modify.go | 66 pos := list.Values[i].Pos()
|
D | parser.go | 35 Pos scanner.Position member 39 return fmt.Sprintf("%s: %s", e.Pos, e.Err) 48 func (f *File) Pos() scanner.Position { func 137 pos = p.scanner.Pos() 141 Pos: pos,
|
D | parser_test.go | 1304 nextPos[i] = mod.Properties[i+1].Pos()
|
/build/blueprint/proptools/ |
D | unpack.go | 32 Pos scanner.Position member 36 return fmt.Sprintf("%s: %s", e.Pos, e.Err) 320 property.Value.Pos(), 353 property.Value.Pos(), 373 property.Value.Pos(), 393 property.Value.Pos(), 488 c.Value.Pos(), 531 property.Value.Pos(), 547 property.Value.Pos(), 581 property.Value.Pos(), [all …]
|
/build/soong/makedeps/ |
D | deps.go | 42 return p.Unpack(node.Pos()).String() + ": "
|
/build/blueprint/ |
D | context.go | 225 Pos scanner.Position // the relevant Blueprints file location member 243 return fmt.Sprintf("%s: %s", e.Pos, e.Err) 247 return fmt.Sprintf("%s: %s: %s", e.Pos, e.module, e.Err) 251 return fmt.Sprintf("%s: %s: %s: %s", e.Pos, e.module, e.property, e.Err) 1233 Pos: parseErr.Pos, 1253 Pos: buildPos, 1291 Pos: buildPos, 1299 Pos: buildPos, 1307 Pos: buildPos, 1333 Pos: subdirsPos, [all …]
|
D | module_ctx.go | 455 Pos: pos, 530 Pos: module.pos,
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 857 patchList.Add(item.Pos().Offset, item.End().Offset+2, "") 870 patchList.Add(prop.Pos().Offset, prop.End().Offset+2, "") 1016 stage += string(buf[prop.Pos().Offset : prop.End().Offset+1]) 1018 err := patchlist.Add(prop.Pos().Offset, prop.End().Offset+2, "") 1106 return patchlist.Add(prop.Pos().Offset, prop.End().Offset+2, replaceStr) 1138 if err := patchList.Add(propToRemove.Pos().Offset, propToRemove.End().Offset+2, ""); err != nil { 1272 patchList.Add(item.Pos().Offset, item.End().Offset+2, "") 1297 patchList.Add(legacyProp.Pos().Offset, legacyProp.End().Offset+2, "") 1436 err := patchlist.Add(curValue.Pos().Offset, curValue.End().Offset+2, "") 1442 err = patchlist.Add(nextValue.Pos().Offset, nextValue.End().Offset+1, value) [all …]
|
/build/soong/androidmk/androidmk/ |
D | androidmk.go | 152 file.setMkPos(p.Unpack(node.Pos()), p.Unpack(node.End())) 335 armModeAssign.Name = mkparser.SimpleMakeString("LOCAL_ARM_MODE_HACK_arm", assignment.Name.Pos())
|
/build/soong/mk2rbc/ |
D | mk2rbc.go | 471 nodeLocator func(pos mkparser.Pos) int 1286 args = mkparser.SimpleMakeString("", words[0].Pos()) 1298 args = mkparser.SimpleMakeString("", words[0].Pos()) 1912 ctx.script.nodeLocator = func(pos mkparser.Pos) int { 1913 return oldNodeLocator(node.Pos()) 2172 return ErrorLocation{ctx.script.mkFile, ctx.script.nodeLocator(node.Pos())} 2218 nodeLocator: func(pos mkparser.Pos) int { return parser.Unpack(pos).Line },
|
/build/soong/android/ |
D | soong_config_modules.go | 422 ctx.Errorf(parseErr.Pos, "%s", parseErr.Err)
|