Home
last modified time | relevance | path

Searched refs:Comment (Results 1 – 22 of 22) sorted by relevance

/build/blueprint/
Dninja_defs.go51 Comment string // The comment that will appear above the definition. member
73 Comment string // The comment that will appear above the definition. member
81 Comment string // The comment that will appear above the definition. member
100 Comment string member
108 Comment: params.Comment,
116 if p.Comment != "" {
117 err := nw.Comment(p.Comment)
136 Comment string member
145 Comment: params.Comment,
235 if r.Comment != "" {
[all …]
Dninja_writer_test.go35 ck(w.Comment("foo"))
105 ck(w.Comment("here comes a rule"))
Dninja_writer.go48 func (n *ninjaWriter) Comment(comment string) error { func
131 err := wrapper.Comment(comment)
Dcontext.go3709 return nw.Comment(buf.String())
3972 err = nw.Comment(buf.String())
4026 err = nw.Comment(buf.String())
/build/soong/androidmk/parser/
Dast.go51 type Comment struct { struct
53 Comment string argument
56 func (x *Comment) Dump() string { argument
57 return "#" + x.Comment
60 func (x *Comment) Pos() Pos { return x.CommentPos } argument
61 func (x *Comment) End() Pos { return Pos(int(x.CommentPos) + len(x.Comment)) } argument
Dparser.go513 p.comments = append(p.comments, &Comment{
515 Comment: comment,
/build/blueprint/parser/
Dparser_test.go443 Comments: []*Comment{
444 &Comment{
445 Comment: []string{"// comment1"},
451 Comments: []*Comment{
452 &Comment{
453 Comment: []string{"/* test */"},
459 Comments: []*Comment{
460 &Comment{
461 Comment: []string{"// comment2"},
467 Comments: []*Comment{
[all …]
Dast.go412 Comments []*Comment
418 type Comment struct { struct
419 Comment []string member
423 func (c Comment) Pos() scanner.Position { argument
427 func (c Comment) End() scanner.Position { argument
429 for _, comment := range c.Comment {
433 pos.Line += len(c.Comment) - 1
437 func (c Comment) String() string { argument
439 for _, comment := range c.Comment {
443 for _, comment := range c.Comment {
[all …]
Dprinter.go240 if c.Comments[0].Comment[0][0:2] == "//" || len(c.Comments[0].Comment) > 1 {
332 for i, line := range comment.Comment {
341 if i < len(comment.Comment)-1 {
Dparser.go157 if p.tok == scanner.Comment {
158 var comments []*Comment
159 for p.tok == scanner.Comment {
165 comments = append(comments, &Comment{lines, p.scanner.Position})
Dsort.go216 cg.Comments = make([]*Comment, len(cg.Comments))
/build/make/tools/releasetools/
Dnon_ab_ota.py200 script.Comment("Stage 2/3")
209 script.Comment("Stage 3/3")
267 script.Comment("Stage 1/3")
387 script.Comment("Stage 2/3")
397 script.Comment("Stage 1/3")
457 script.Comment("Stage 3/3")
459 script.Comment("---- start making changes here ----")
Dtest_utils.py184 def Comment(self, comment): member in MockScriptWriter
Dedify_generator.py246 def Comment(self, comment): member in EdifyGenerator
Dcommon.py3697 script.Comment('--- Start patching dynamic partitions ---')
3700 script.Comment('Patch partition %s' % p)
3711 script.Comment('Update dynamic partition metadata')
3723 script.Comment('Patch partition %s' % p)
3729 script.Comment('--- End patching dynamic partitions ---')
/build/soong/androidmk/androidmk/
Dandroidmk.go69 Comments: []*bpparser.Comment{
70 &bpparser.Comment{
71 Comment: []string{s},
155 case *mkparser.Comment:
158 chunks := strings.Split(x.Comment, "\\\n")
Dandroidmk_test.go38 # Module Comment
40 # Name Comment
99 # Comment 1
101 # Comment 2
103 # Comment 3
1262 # Comment line 1 \
1263 Comment line 2
/build/soong/makedeps/
Ddeps.go49 case *parser.Comment:
/build/soong/third_party/zip/
Dreader_test.go24 Comment string member
63 Comment: "This is a zipfile comment.",
81 Comment: "This is a zipfile comment.",
337 if z.Comment != zt.Comment {
338 t.Errorf("%s: comment=%q, want %q", zt.Name, z.Comment, zt.Comment)
Dreader.go27 Comment string member
88 z.Comment = end.comment
281 f.Comment = string(d[filenameLen+extraLen:])
Dwriter.go103 b.uint16(uint16(len(h.Comment)))
120 if _, err := io.WriteString(w.cw, h.Comment); err != nil {
Dstruct.go90 Comment string member