Home
last modified time | relevance | path

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

/build/blueprint/
Dninja_defs.go51 Comment string // The comment that will appear above the definition. member
71 Comment string // The comment that will appear above the definition. member
79 Comment string // The comment that will appear above the definition. member
92 Comment string member
100 Comment: params.Comment,
108 if p.Comment != "" {
109 err := nw.Comment(p.Comment)
127 Comment string member
136 Comment: params.Comment,
212 if r.Comment != "" {
[all …]
Dninja_writer_test.go34 ck(w.Comment("foo"))
86 ck(w.Comment("here comes a rule"))
Dninja_writer.go44 func (n *ninjaWriter) Comment(comment string) error { func
120 wrapper.Comment(comment)
Dcontext.go2518 return nw.Comment(buf.String())
2740 err = nw.Comment(buf.String())
2794 err = nw.Comment(buf.String())
/build/soong/androidmk/parser/
Dmakething.go9 AsComment() (Comment, bool)
26 type Comment struct { struct
28 Comment string argument
78 func (makeThing) AsComment() (c Comment, ok bool) {
82 func (c Comment) AsComment() (Comment, bool) { argument
86 func (c Comment) Dump() string { argument
87 return "#" + c.Comment
Dparser.go485 p.comments = append(p.comments, Comment{
490 Comment: comment,
/build/blueprint/parser/
Dparser_test.go35 comments []Comment
230 []Comment{
231 Comment{
232 Comment: []string{"// comment1"},
235 Comment{
236 Comment: []string{"// comment2"},
239 Comment{
240 Comment: []string{"// comment3"},
Dparser.go43 Comments []Comment
90 comments []Comment
141 for p.tok == scanner.Comment {
143 p.comments = append(p.comments, Comment{lines, p.scanner.Position})
778 type Comment struct { struct
779 Comment []string member
783 func (c Comment) String() string { argument
785 for _, comment := range c.Comment {
789 for _, comment := range c.Comment {
798 func (c Comment) Text() string { argument
[all …]
Dprinter.go29 comments []Comment
43 skippedComments []Comment
213 if c.Comment[0][0:2] == "//" || len(c.Comment) > 1 {
234 p.skippedComments = []Comment{}
305 func (p *printer) printComment(comment Comment) {
307 for i, line := range comment.Comment {
317 if i < len(comment.Comment)-1 {
Dsort.go116 copyComments := append([]Comment{}, file.Comments...)
170 type commentsByOffset []Comment
/build/soong/androidmk/cmd/androidmk/
Dandroidmk.go19 comments []bpparser.Comment
35 f.comments = append(f.comments, bpparser.Comment{
36 Comment: []string{fmt.Sprintf("// ANDROIDMK TRANSLATION ERROR: %s", s)},
42 f.comments = append(f.comments, bpparser.Comment{
43 Comment: []string{"// " + l},
102 file.comments = append(file.comments, bpparser.Comment{
104 Comment: []string{"//" + comment.Comment},
/build/tools/releasetools/
Dedify_generator.py225 def Comment(self, comment): member in EdifyGenerator
Dota_from_target_files.py1015 script.Comment("---- start making changes here ----")
1633 script.Comment("---- start making changes here ----")
Dota_from_target_files1015 script.Comment("---- start making changes here ----")
1633 script.Comment("---- start making changes here ----")