/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 | 34 StringPos Pos 39 func SimpleMakeString(s string, pos Pos) *MakeString { argument 51 func (ms *MakeString) Pos() Pos { func 55 func (ms *MakeString) End() Pos { 60 return Pos(int(pos) + len(ms.Strings[len(ms.Strings)-1])) 140 curMs := SimpleMakeString("", ms.Pos()) 158 curMs = SimpleMakeString(r, ms.Pos()) 178 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, 233 func (p *parser) parseDefine() (*MakeString, Pos) { 380 func (p *parser) parseBracketedVariable(start, end rune, pos Pos) Variable {
|
/build/blueprint/parser/ |
D | sort.go | 41 line := list.Values[i].Pos().Line 44 if list.Values[j].Pos().Line > line+1 { 47 line = list.Values[j].Pos().Line 52 nextPos = list.Values[j].Pos() 62 line := list.Values[i].Pos().Line 65 if list.Values[j].Pos().Line > line+1 { 68 line = list.Values[j].Pos().Line 108 n = values[i+1].Pos() 110 l[i] = elem{s.Value, i, v.Pos(), n} 127 curPos := values[0].Pos() [all …]
|
D | ast.go | 25 Pos() scanner.Position methodSpec 53 func (a *Assignment) Pos() scanner.Position { return a.NamePos } func 86 func (m *Module) Pos() scanner.Position { return m.TypePos } func 107 func (p *Property) Pos() scanner.Position { return p.NamePos } func 211 func (x *Operator) Pos() scanner.Position { return x.Args[0].Pos() } func 225 func (x *Variable) Pos() scanner.Position { return x.NamePos } func 249 func (x *Map) Pos() scanner.Position { return x.LBracePos } func 307 func (x *List) Pos() scanner.Position { return x.LBracePos } func 339 func (x *String) Pos() scanner.Position { return x.LiteralPos } func 365 func (x *Int64) Pos() scanner.Position { return x.LiteralPos } func [all …]
|
D | printer.go | 185 if operator.Args[0].End().Line == operator.Args[1].Pos().Line { 238 for p.curComment < len(p.comments) && p.comments[p.curComment].Pos().Offset < pos.Offset { 260 for p.curComment < len(p.comments) && p.comments[p.curComment].Pos().Line < pos.Line { 329 if !p.requestNewlinesForPos(comment.Pos()) { 352 if !p.requestNewlinesForPos(c.Pos()) {
|
D | parser.go | 33 Pos scanner.Position member 37 return fmt.Sprintf("%s: %s", e.Pos, e.Err) 46 func (f *File) Pos() scanner.Position { func 126 pos = p.scanner.Pos() 130 Pos: pos,
|
D | parser_test.go | 1263 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) 311 property.Value.Pos(), property.Value.Type(), property.Name)) 391 property.Value.Pos(), property.Value.Type(), property.Name) 399 property.Value.Pos(), property.Value.Type(), property.Name) 407 property.Value.Pos(), property.Value.Type(), property.Name)
|
/build/blueprint/ |
D | context.go | 126 Pos scanner.Position // the relevant Blueprints file location member 144 return fmt.Sprintf("%s: %s", e.Pos, e.Err) 148 return fmt.Sprintf("%s: %s: %s", e.Pos, e.module, e.Err) 152 return fmt.Sprintf("%s: %s: %s: %s", e.Pos, e.module, e.property, e.Err) 1028 Pos: parseErr.Pos, 1048 Pos: buildPos, 1091 Pos: buildPos, 1099 Pos: buildPos, 1107 Pos: buildPos, 1133 Pos: subdirsPos, [all …]
|
D | module_ctx.go | 392 Pos: pos, 402 Pos: d.module.pos, 421 Pos: pos, 482 Pos: module.pos,
|
/build/soong/makedeps/ |
D | deps.go | 42 return p.Unpack(node.Pos()).String() + ": "
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 764 patchList.Add(item.Pos().Offset, item.End().Offset+2, "") 777 patchList.Add(prop.Pos().Offset, prop.End().Offset+2, "") 903 stage += string(buf[prop.Pos().Offset : prop.End().Offset+1]) 905 err := patchlist.Add(prop.Pos().Offset, prop.End().Offset+2, "") 993 return patchlist.Add(prop.Pos().Offset, prop.End().Offset+2, replaceStr) 1100 patchList.Add(item.Pos().Offset, item.End().Offset+2, "") 1125 patchList.Add(legacyProp.Pos().Offset, legacyProp.End().Offset+2, "")
|
/build/soong/androidmk/androidmk/ |
D | androidmk.go | 136 file.setMkPos(p.Unpack(node.Pos()), p.Unpack(node.End())) 312 armModeAssign.Name = mkparser.SimpleMakeString("LOCAL_ARM_MODE_HACK_arm", assignment.Name.Pos())
|
/build/soong/android/ |
D | soong_config_modules.go | 305 ctx.Errorf(parseErr.Pos, "%s", parseErr.Err)
|