Home
last modified time | relevance | path

Searched refs:End (Results 1 – 21 of 21) sorted by relevance

/build/blueprint/parser/
Dmodify.go79 Start, End int member
91 if patch.Start > patch.End {
92 return fmt.Errorf("invalid patch, start %d is after end %d", patch.Start, patch.End)
95 if (patch.Start >= p.Start && patch.Start < p.End) ||
96 (patch.End >= p.Start && patch.End < p.End) ||
97 (p.Start >= patch.Start && p.Start < patch.End) ||
98 (p.Start == patch.Start && p.End == patch.End) {
100 patch.Start, patch.End, p.Start, p.End))
134 offset += int64(patch.End - patch.Start)
Dast.go27 End() scanner.Position methodSpec
54 func (a *Assignment) End() scanner.Position { return a.Value.End() } func
89 func (m *Module) End() scanner.Position { return m.Map.End() } func
132 func (p *Property) End() scanner.Position { return p.Value.End() } func
239 func (x *Operator) End() scanner.Position { return x.Args[1].End() } func
253 func (x *Variable) End() scanner.Position { return endPos(x.NamePos, len(x.Name)) } func
277 func (x *Map) End() scanner.Position { return endPos(x.RBracePos, 1) } func
371 func (x *List) End() scanner.Position { return endPos(x.RBracePos, 1) } func
403 func (x *String) End() scanner.Position { return endPos(x.LiteralPos, len(x.Value)+2) } func
429 func (x *Int64) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) } func
[all …]
Dprinter.go230 p.printToken(",", c.Value.End())
289 if operator.Args[0].End().Line == operator.Args[1].Pos().Line {
449 if p.pos.Offset < comment.End().Offset {
450 p.pos = comment.End()
Dparser_test.go1298 if mod.End() != modEnd {
1299 t.Errorf("expected mod.End() %s, got %s", modEnd, mod.End())
1313 if cur.End() != endPos {
1314 … property %s End() %s@%d, got %s@%d", cur.Name, endPos, endPos.Offset, cur.End(), cur.End().Offset)
Dparser.go57 func (f *File) End() scanner.Position { func
59 return f.Defs[len(f.Defs)-1].End()
172 if len(comments) > 0 && p.scanner.Position.Line > comments[len(comments)-1].End().Line+1 {
Dsort.go145 nextPos := list.End()
/build/soong/androidmk/parser/
Dast.go24 End() Pos methodSpec
49 func (x *Assignment) End() Pos { return x.Value.End() } func
61 func (x *Comment) End() Pos { return Pos(int(x.CommentPos) + len(x.Comment)) } func
75 func (x *Directive) End() Pos { func
79 return x.Args.End()
98 func (x *Rule) End() Pos { return Pos(int(x.RecipePos) + len(x.Recipe)) } func
105 func (x *Variable) End() Pos { return x.Name.End() } func
Dmake_strings.go67 func (ms *MakeString) End() Pos { func
70 pos = ms.Variables[len(ms.Variables)-1].End()
/build/blueprint/metrics/
Devent_handler_test.go47 eh.End("b")
49 eh.End("c")
50 eh.End("a")
70 eh.End("a")
77 eh.End("b")
79 eh.End("b")
80 eh.End("a")
Devent_handler.go69 defer h.End(name)
75 func (h *EventHandler) End(name string) { func
/build/soong/ui/tracer/
Dmicrofactory.go28 End uint64 member
42 cpus[cpu] = entry.End
48 cpus = append(cpus, entry.End)
55 Dur: entry.End - entry.Begin,
94 End: timestamp,
Dtracer.go46 End(thread Thread) methodSpec
231 func (t *tracerImpl) End(thread Thread) { func
/build/soong/ui/metrics/
Devent_test.go36 perf := et.End()
59 perf := et.End()
Devent.go157 func (t *EventTracer) End() soong_metrics_proto.PerfInfo { func
/build/soong/ui/build/
Dcontext.go60 c.Tracer.End(c.Thread)
63 c.Metrics.SetTimeMetrics(c.Metrics.EventTracer.End())
/build/soong/cmd/soong_build/
Dmain.go120 defer ctx.EventHandler.End("queryview")
201 defer ctx.EventHandler.End("globs_ninja_file")
215 defer eventHandler.End("ninja_deps")
224 defer ctx.EventHandler.End("soong_build")
/build/soong/bpfix/bpfix/
Dbpfix.go857 patchList.Add(item.Pos().Offset, item.End().Offset+2, "")
870 patchList.Add(prop.Pos().Offset, prop.End().Offset+2, "")
1008 pos = mod.Properties[0].End().Offset + 1
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 {
1245 err = patchlist.Add(b.NamePos.Offset, b.End().Offset+2, "")
1272 patchList.Add(item.Pos().Offset, item.End().Offset+2, "")
1297 patchList.Add(legacyProp.Pos().Offset, legacyProp.End().Offset+2, "")
[all …]
/build/soong/bazel/
Daquery.go316 defer eventHandler.End("init_handler")
328 defer eventHandler.End("build_statements")
365 defer eventHandler.End("depsets")
/build/soong/androidmk/androidmk/
Dandroidmk.go152 file.setMkPos(p.Unpack(node.Pos()), p.Unpack(node.End()))
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-docs.css1050 /* End sidebox sidebar element styles */
1127 /* End developer training bar */
1186 /* End training nav bar */
/build/blueprint/
Dcontext.go4674 c.EventHandler.End(name)