Home
last modified time | relevance | path

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

12

/aosp12/build/soong/androidmk/parser/
H A Dast.go17 type Pos int type
23 Pos() Pos
24 End() Pos
42 func (x *Assignment) Pos() Pos { func
60 func (x *Comment) Pos() Pos { return x.CommentPos } func
64 NamePos Pos
67 EndPos Pos
74 func (x *Directive) Pos() Pos { return x.NamePos } func
97 func (x *Rule) Pos() Pos { return x.Target.Pos() } func
104 func (x *Variable) Pos() Pos { return x.Name.Pos() } func
[all …]
H A Dmake_strings.go36 StringPos Pos
41 func SimpleMakeString(s string, pos Pos) *MakeString { argument
53 func (ms *MakeString) Pos() Pos { func
57 func (ms *MakeString) End() Pos {
62 return Pos(int(pos) + len(ms.Strings[len(ms.Strings)-1]))
148 word := SimpleMakeString("", ms.Pos())
196 word = SimpleMakeString("", ms.Pos())
219 curMs := SimpleMakeString("", ms.Pos())
237 curMs = SimpleMakeString(r, ms.Pos())
255 ms.StringPos += Pos(len(ms.Strings[0]) - l)
H A Dparser.go31 Pos scanner.Position member
35 return fmt.Sprintf("%s: %s", e.Pos, e.Err)
88 func (p *parser) Unpack(pos Pos) scanner.Position { argument
99 func (p *parser) pos() Pos {
102 pos = p.scanner.Pos()
104 return Pos(pos.Offset)
110 Pos: p.scanner.Position,
246 func (p *parser) parseDefine() (*MakeString, Pos) {
393 func (p *parser) parseBracketedVariable(start, end rune, pos Pos) Variable { argument
/aosp12/build/blueprint/parser/
H A Dsort.go136 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
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()
229 if c.Pos().Offset > e.pos.Offset && c.Pos().Offset < e.nextPos.Offset {
[all …]
H A Dast.go25 Pos() scanner.Position
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
391 func (x *Bool) Pos() scanner.Position { return x.LiteralPos } func
415 func (x *CommentGroup) Pos() scanner.Position { return x.Comments[0].Pos() } func
[all …]
H A Dprinter.go185 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()) {
H A Dparser.go33 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,
H A Dparser_test.go1263 nextPos[i] = mod.Properties[i+1].Pos()
/aosp12/hardware/interfaces/automotive/can/1.0/hidl-utils/include/hidl-utils/
H A Dhidl-utils.h49 template <int Pos, typename First>
51 *std::get<Pos>(mTargets) = first; in copy()
54 template <int Pos, typename First, typename... Rest>
56 *std::get<Pos>(mTargets) = first; in copy()
57 copy<Pos + 1, Rest...>(rest...); in copy()
/aosp12/build/blueprint/proptools/
H A Dunpack.go32 Pos scanner.Position member
36 return fmt.Sprintf("%s: %s", e.Pos, e.Err)
287 property.Value.Pos(),
321 property.Value.Pos(),
404 property.Value.Pos(),
415 property.Value.Pos(),
426 property.Value.Pos(),
/aosp12/build/blueprint/
H A Dcontext.go1107 Pos: parseErr.Pos,
1127 Pos: buildPos,
1170 Pos: buildPos,
1178 Pos: buildPos,
1186 Pos: buildPos,
1492 Pos: unpackErr.Pos,
1638 Pos: module.pos,
1663 Pos: module.pos,
1698 Pos: module.pos,
3086 Pos: module.pos,
[all …]
H A Dmodule_ctx.go424 Pos: pos,
434 Pos: d.module.pos,
453 Pos: pos,
514 Pos: module.pos,
/aosp12/build/soong/bpfix/bpfix/
H A Dbpfix.go788 patchList.Add(item.Pos().Offset, item.End().Offset+2, "")
801 patchList.Add(prop.Pos().Offset, prop.End().Offset+2, "")
927 stage += string(buf[prop.Pos().Offset : prop.End().Offset+1])
929 err := patchlist.Add(prop.Pos().Offset, prop.End().Offset+2, "")
1017 return patchlist.Add(prop.Pos().Offset, prop.End().Offset+2, replaceStr)
1034 return patchlist.Add(pdkProp.Pos().Offset, pdkProp.End().Offset+2, "")
1036 return patchlist.Add(prop.Pos().Offset, prop.End().Offset+2, "")
1143 patchList.Add(item.Pos().Offset, item.End().Offset+2, "")
1168 patchList.Add(legacyProp.Pos().Offset, legacyProp.End().Offset+2, "")
/aosp12/frameworks/compile/slang/
H A Dslang_rs_reflection_cpp.cpp811 unsigned Pos = 0; in genPackVarOfType() local
828 if (FieldOffset > Pos) { in genPackVarOfType()
829 mOut.indent() << FieldPackerName << ".skip(" << (FieldOffset - Pos) in genPackVarOfType()
841 Pos = FieldOffset + FieldAllocSize; in genPackVarOfType()
845 if (ERT->getAllocSize() > Pos) { in genPackVarOfType()
846 mOut.indent() << FieldPackerName << ".skip(" << ERT->getAllocSize() - Pos in genPackVarOfType()
H A Dslang_rs_reflection_state.cpp722 size_t Pos = 0; // Relative position of field within record in declareRecord() local
732 slangAssert(FieldOffset >= Pos); in declareRecord()
738 FieldState.mPrePadding = FieldOffset - Pos; in declareRecord()
743 Pos = FieldOffset + FieldAllocSize; in declareRecord()
746 slangAssert(ERT->getAllocSize() >= Pos); in declareRecord()
754 record.mPostPadding = ERT->getAllocSize() - Pos; in declareRecord()
H A Dslang_rs_reflection.cpp2237 unsigned Pos = 0; in genPackVarOfType() local
2257 emitSkip(Pos, FieldOffset, Field32PreAndPostPadding.first /* pre */); in genPackVarOfType()
2264 Pos = FieldOffset + FieldAllocSize; in genPackVarOfType()
2268 emitSkip(Pos, ERT->getAllocSize(), Record32.getRecordPostPadding()); in genPackVarOfType()
2801 int Pos = 0; // relative pos from now on in genAddElement() local
2822 genAddPadding(FieldOffset - Pos, Field32PreAndPostPadding.first /* pre */); in genAddElement()
2840 Pos = FieldOffset + FieldAllocSize; in genAddElement()
2845 genAddPadding(RecordAllocSize - Pos, Record32.getRecordPostPadding()); in genAddElement()
/aosp12/build/soong/makedeps/
H A Ddeps.go42 return p.Unpack(node.Pos()).String() + ": "
/aosp12/build/soong/androidmk/androidmk/
H A Dandroidmk.go152 file.setMkPos(p.Unpack(node.Pos()), p.Unpack(node.End()))
335 armModeAssign.Name = mkparser.SimpleMakeString("LOCAL_ARM_MODE_HACK_arm", assignment.Name.Pos())
/aosp12/frameworks/opt/vcard/tests/res/raw/
H A Dv21_complicated.vcf3 N:Gump;Forrest;Hoge;Pos;Tao
H A Dv30_complicated.vcf3 N:Gump;Forrest;Hoge;Pos;Tao
/aosp12/build/soong/android/
H A Dsoong_config_modules.go368 ctx.Errorf(parseErr.Pos, "%s", parseErr.Err)
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
H A Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
H A Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
/aosp12/packages/apps/TV/tuner/tests/assets/
H A Dcapture_kqed.ts Error!