Home
last modified time | relevance | path

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

12

/aosp12/build/blueprint/
H A Dninja_defs.go100 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 != "" {
236 err := nw.Comment(r.Comment)
264 Comment string member
281 comment := params.Comment
[all …]
H A Dninja_writer_test.go35 ck(w.Comment("foo"))
105 ck(w.Comment("here comes a rule"))
H A Dninja_writer.go48 func (n *ninjaWriter) Comment(comment string) error { func
131 err := wrapper.Comment(comment)
/aosp12/system/tools/aidl/
H A Dcomments.h27 struct Comment { struct
32 Comment(const std::string& body); argument
35 friend inline bool operator==(const Comment& lhs, const Comment& rhs) {
38 friend std::ostream& operator<<(std::ostream& out, const Comment& c) { return out << c.body; }
41 using Comments = std::vector<Comment>;
H A Dcomments.cpp67 std::vector<std::string> TrimmedLines(const Comment& c) { in TrimmedLines()
68 if (c.type == Comment::Type::LINE) { in TrimmedLines()
107 std::vector<BlockTag> BlockTags(const Comment& c) { in BlockTags()
108 AIDL_FATAL_IF(c.type != Comment::Type::BLOCK, AIDL_LOCATION_HERE); in BlockTags()
163 Comment::Comment(const std::string& body) : body(body) { in Comment() function in android::aidl::Comment
189 static std::optional<Comment> GetValidComment(const Comments& comments) { in GetValidComment()
190 if (!comments.empty() && comments.back().type == Comment::Type::BLOCK) { in GetValidComment()
226 if (last && it->type == Comment::Type::BLOCK && !StartsWith(it->body, kDocCommentBegin)) { in FormatCommentsForJava()
/aosp12/build/blueprint/parser/
H A Dparser_test.go444 &Comment{
452 &Comment{
460 &Comment{
468 &Comment{
1127 &Comment{
1131 &Comment{
1139 &Comment{
1143 &Comment{
1151 &Comment{
1155 &Comment{
[all …]
H A Dast.go412 Comments []*Comment
418 type Comment struct { struct
419 Comment []string argument
429 for _, comment := range c.Comment {
433 pos.Line += len(c.Comment) - 1
437 func (c Comment) String() string {
439 for _, comment := range c.Comment {
443 for _, comment := range c.Comment {
452 func (c Comment) Text() string {
454 for _, comment := range c.Comment {
[all …]
H A 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 {
H A 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})
/aosp12/build/soong/androidmk/parser/
H A Dast.go51 type Comment struct { struct
53 Comment string argument
56 func (x *Comment) Dump() string {
57 return "#" + x.Comment
60 func (x *Comment) Pos() Pos { return x.CommentPos }
61 func (x *Comment) End() Pos { return Pos(int(x.CommentPos) + len(x.Comment)) }
H A Dparser.go513 p.comments = append(p.comments, &Comment{
515 Comment: comment,
/aosp12/build/make/tools/releasetools/
H A 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 ----")
H A Dtest_utils.py184 def Comment(self, comment): member in MockScriptWriter
/aosp12/packages/apps/Car/tests/tools/rro/
H A Dgenerate-overlays.py66 root.addprevious(etree.Comment(COPYRIGHT_STR))
67 root.addprevious(etree.Comment(AUTOGENERATION_NOTICE_STR))
H A Dgenerate-overlayable.py61 root.addprevious(etree.Comment(COPYRIGHT_STR))
62 root.addprevious(etree.Comment(AUTOGENERATION_NOTICE_STR))
/aosp12/build/soong/androidmk/androidmk/
H A Dandroidmk.go69 Comments: []*bpparser.Comment{
70 &bpparser.Comment{
71 Comment: []string{s},
155 case *mkparser.Comment:
158 chunks := strings.Split(x.Comment, "\\\n")
H A 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
/aosp12/packages/apps/Car/libs/car-ui-lib/tests/apitest/
H A Dauto-generate-resources.py101 root.addprevious(etree.Comment(AUTOGENERATION_NOTICE_STR))
122 root.addprevious(etree.Comment(COPYRIGHT_STR))
123 root.addprevious(etree.Comment(AUTOGENERATION_NOTICE_STR))
H A Dresource_utils.py106 if resource.tag == 'declare-styleable' or resource.tag is etree.Comment:
/aosp12/system/bt/gd/packet/parser/
H A Dlanguage_l.ll50 /* Block Comment */
56 /* Line Comment */
/aosp12/build/soong/third_party/zip/
H A 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)
H A Dreader.go27 Comment string member
88 z.Comment = end.comment
281 f.Comment = string(d[filenameLen+extraLen:])
H A Dwriter.go103 b.uint16(uint16(len(h.Comment)))
120 if _, err := io.WriteString(w.cw, h.Comment); err != nil {
/aosp12/build/soong/makedeps/
H A Ddeps.go49 case *parser.Comment:
/aosp12/system/core/init/parser/
H A Dtokenizer_test.cpp125 TEST(Tokenizer, Comment) { in TEST() argument

12