Home
last modified time | relevance | path

Searched refs:Pos (Results 1 – 13 of 13) sorted by relevance

/build/blueprint/parser/
Dparser_test.go63 Pos: mkpos(16, 3, 8),
66 Pos: mkpos(18, 3, 10),
89 Pos: mkpos(18, 3, 10),
92 Pos: mkpos(20, 3, 12),
116 Pos: mkpos(17, 3, 9),
119 Pos: mkpos(19, 3, 11),
124 Pos: mkpos(20, 3, 12),
129 Pos: mkpos(28, 3, 20),
134 Pos: mkpos(36, 3, 28),
139 Pos: mkpos(49, 4, 5),
[all …]
Dsort.go38 line := value.ListValue[i].Pos.Line
41 if value.ListValue[j].Pos.Line > line+1 {
44 line = value.ListValue[j].Pos.Line
49 nextPos = value.ListValue[j].Pos
59 line := value.ListValue[i].Pos.Line
62 if value.ListValue[j].Pos.Line > line+1 {
65 line = value.ListValue[j].Pos.Line
108 n = values[i+1].Pos
110 l[i] = elem{v.StringValue, i, v.Pos, n}
118 curPos := values[0].Pos
[all …]
Dprinter.go90 p.printToken(assignment.Name.Name, assignment.Name.Pos)
92 p.printToken(assignment.Assigner, assignment.Pos)
99 p.printToken(module.Type.Name, module.Type.Pos)
106 p.printToken(value.Variable, value.Pos)
118 p.printToken(s, value.Pos)
120 p.printToken(strconv.Quote(value.StringValue), value.Pos)
122 p.printList(value.ListValue, value.Pos, value.EndPos)
124 p.printMap(value.MapValue, value.Pos, value.EndPos)
170 p.printToken(string(expression.Operator), expression.Pos)
171 if expression.Args[0].Pos.Line == expression.Args[1].Pos.Line {
[all …]
Dparser.go33 Pos scanner.Position member
37 return fmt.Sprintf("%s: %s", e.Pos, e.Err)
110 pos = p.scanner.Pos()
114 Pos: pos,
195 assignment.Pos = pos
208 val, err := p.evaluateOperator(old.Value, assignment.Value, '+', assignment.Pos)
296 property.Pos = pos
351 Pos: pos,
453 value.Pos = p.scanner.Position
461 value.Pos = p.scanner.Position
[all …]
Dmodify.go36 Pos: value.EndPos,
/build/blueprint/
Dunpack.go68 Pos: packedProperty.property.Pos,
94 Pos: propertyDef.Pos,
98 Pos: first.property.Pos,
204 Pos: packedProperty.property.Pos,
216 Pos: packedProperty.property.Pos,
282 property.Value.Pos, property.Value.Type, parser.Bool,
296 property.Value.Pos, property.Value.Type, parser.String,
308 property.Value.Pos, property.Value.Type, parser.List,
333 property.Value.Pos, property.Value.Type, parser.Map,
Dcontext.go107 Pos scanner.Position // the relevant Blueprints file location member
231 return fmt.Sprintf("%s: %s", e.Pos, e.Err)
489 Pos: parseErr.Pos,
754 Pos: buildPos,
762 Pos: buildPos,
801 Pos: subdirsPos,
809 Pos: subdirsPos,
872 return ret, assignment.Pos, nil
876 Pos: assignment.Pos,
890 return assignment.Value.StringValue, assignment.Pos, nil
[all …]
Dmodule_ctx.go195 Pos: pos,
204 Pos: d.module.pos,
221 Pos: pos,
250 Pos: module.pos,
528 Pos: module.pos,
Dunpack_test.go227 Pos: scanner.Position{"", 27, 4, 8},
/build/soong/androidmk/cmd/androidmk/
Dandroidmk.go37 Pos: f.pos,
44 Pos: f.pos,
99 file.setPos(t.Pos(), t.EndPos())
103 Pos: file.pos,
247 armModeAssign.Name = mkparser.SimpleMakeString("LOCAL_ARM_MODE_HACK_arm", assignment.Name.Pos)
291 Pos: file.module.LbracePos,
352 val.Expression.Pos = pos
363 Name: bpparser.Ident{Name: n, Pos: pos},
364 Pos: pos,
377 Name: bpparser.Ident{Name: names[len(names)-1], Pos: pos},
[all …]
/build/soong/androidmk/parser/
Dmakething.go14 Pos() scanner.Position methodSpec
54 func (m makeThing) Pos() scanner.Position { func
141 return s[i].Pos().Offset < s[j].Pos().Offset
Dmake_strings.go21 Pos scanner.Position member
28 Pos: pos,
100 curMs := SimpleMakeString("", ms.Pos)
118 curMs = SimpleMakeString(r, ms.Pos)
Dparser.go17 Pos scanner.Position member
21 return fmt.Sprintf("%s: %s", e.Pos, e.Err)
71 pos = p.scanner.Pos()
75 Pos: pos,
410 pos: target.Pos,
510 pos: ident.Pos,