Home
last modified time | relevance | path

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

/build/blueprint/
Dninja_defs.go51 Comment string // The comment that will appear above the definition. member
72 Comment string // The comment that will appear above the definition. member
80 Comment string // The comment that will appear above the definition. member
98 Comment string member
106 Comment: params.Comment,
114 if p.Comment != "" {
115 err := nw.Comment(p.Comment)
134 Comment string member
143 Comment: params.Comment,
224 if r.Comment != "" {
[all …]
Dninja_writer_test.go34 ck(w.Comment("foo"))
92 ck(w.Comment("here comes a rule"))
Dninja_writer.go44 func (n *ninjaWriter) Comment(comment string) error { func
120 err := wrapper.Comment(comment)
Dcontext.go3326 return nw.Comment(buf.String())
3586 err = nw.Comment(buf.String())
3640 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.go506 p.comments = append(p.comments, &Comment{
508 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.go119 cg.Comments = make([]*Comment, len(cg.Comments))
/build/soong/androidmk/androidmk/
Dandroidmk.go53 Comments: []*bpparser.Comment{
54 &bpparser.Comment{
55 Comment: []string{s},
139 case *mkparser.Comment:
140 file.insertComment("//" + x.Comment)
Dandroidmk_test.go38 # Module Comment
40 # Name Comment
99 # Comment 1
101 # Comment 2
103 # Comment 3
1275 # Comment line 1 \
1276 # 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
/build/make/tools/releasetools/
Dtest_utils.py177 def Comment(self, comment): member in MockScriptWriter
Dota_from_target_files796 script.Comment("Stage 2/3")
805 script.Comment("Stage 3/3")
863 script.Comment("Stage 1/3")
1464 script.Comment("Stage 2/3")
1474 script.Comment("Stage 1/3")
1534 script.Comment("Stage 3/3")
1536 script.Comment("---- start making changes here ----")
Dota_from_target_files.py796 script.Comment("Stage 2/3")
805 script.Comment("Stage 3/3")
863 script.Comment("Stage 1/3")
1464 script.Comment("Stage 2/3")
1474 script.Comment("Stage 1/3")
1534 script.Comment("Stage 3/3")
1536 script.Comment("---- start making changes here ----")
Dedify_generator.py246 def Comment(self, comment): member in EdifyGenerator
Dcommon.py3313 script.Comment('--- Start patching dynamic partitions ---')
3316 script.Comment('Patch partition %s' % p)
3327 script.Comment('Update dynamic partition metadata')
3339 script.Comment('Patch partition %s' % p)
3345 script.Comment('--- End patching dynamic partitions ---')