/aosp_15_r20/external/javaparser/javaparser-core-testing-bdd/src/test/resources/com/github/javaparser/ |
H A D | comment_attribution_scenarios.story | 1 Scenario: A Class With Line Comments is processed by the Java Parser 4 package japa.parser.comments; 17 Then the compilation unit has 0 orphan comments 18 Then class 1 has 4 total contained comments 19 Then method 1 in class 1 has 4 total contained comments 20 Then method 1 in class 1 has 0 orphan comments 21 Then block statement in method 1 in class 1 has 4 total contained comments 22 Then block statement in method 1 in class 1 has 3 orphan comments 26 Scenario: A Class With Line Comments is processed by the Java Parser 29 package japa.parser.comments; [all …]
|
H A D | comment_parsing_scenarios.story | 1 Scenario: A Class With Line Comments is processed by the Comments Parser 4 package japa.parser.comments; 16 Then the total number of comments is 4 21 Then the line comments have the following positions: 28 Scenario: A Class With Block Comments is processed by the Comments Parser 31 package japa.parser.comments; 49 Then the total number of comments is 5 55 Then the block comments have the following positions: 64 Scenario: A Class With Javadoc Comments is processed by the Comments Parser 67 package japa.parser.comments; [all …]
|
/aosp_15_r20/external/zstd/contrib/gen_html/ |
H A D | gen_html.cpp | 29 /* trim C++ style comments */ 64 /* print line with ZSTDLIB_API removed and C++ comments not bold */ 84 vector<string> input, lines, comments, chapters; in main() local 128 …/* comments of type /**< and /*!< are detected and only function declaration is highlighted (bold)… in main() 151 comments = get_lines(input, linenum, "*/"); in main() 152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main() 153 …if (!comments.empty()) comments[comments.size()-1] = comments[comments.size()-1].substr(0, comment… in main() 154 for (l=0; l<comments.size(); l++) { in main() 155 if (comments[l].find(" *")==0) comments[l] = comments[l].substr(2); in main() 156 else if (comments[l].find(" *")==0) comments[l] = comments[l].substr(3); in main() [all …]
|
/aosp_15_r20/external/lz4/contrib/gen_manual/ |
H A D | gen_manual.cpp | 54 /* trim C++ style comments */ 88 /* print line with LZ4LIB_API removed and C++ comments not bold */ 109 vector<string> input, lines, comments, chapters; in main() local 153 …/* comments of type / * * < and / * ! < are detected, and only function declaration is highligh… in main() 177 comments = get_lines(input, linenum, "*/"); in main() 178 if (!comments.empty()) comments[0] = line.substr(spos+3); in main() 179 if (!comments.empty()) in main() 180 …comments[comments.size()-1] = comments[comments.size()-1].substr(0, comments[comments.size()-1].fi… in main() 181 for (l=0; l<comments.size(); l++) { in main() 182 if (comments[l].compare(0, 2, " *") == 0) in main() [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/ec2/src/main/resources/codegen-resources/ |
H A D | examples-1.json | 14 "comments": { object 29 "comments": { object 48 "comments": { object 63 "comments": { object 83 "comments": { object 101 "comments": { object 116 "comments": { object 133 "comments": { object 148 "comments": { object 178 "comments": { object [all …]
|
/aosp_15_r20/external/clang/test/Index/ |
H A D | annotate-comments.cpp | 85 * but we need more multi-line comments. */ 86 /// This comment comes before my other comments 267 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s… 273 // Declarations without Doxygen comments should not pick up some Doxygen comments. 277 // Non-Doxygen comments should not be attached to anything. 280 // Some Doxygen comments are not attached to anything. 283 // Ensure we don't pick up extra comments. 294 // checks that documentation comments are attached to declarations correctly. 296 // documentation comments will only test a single code path. 298 // CHECK: annotate-comments.cpp:16:6: FunctionDecl=isdoxy4:{{.*}} isdoxy4 IS_DOXYGEN_SINGLE [all …]
|
H A D | parse-all-comments.c | 76 // RUN: c-index-test -write-pch %t/out.pch -fparse-all-comments -x c++ -std=c++11 %s 78 …est -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -st… 90 // CHECK: parse-all-comments.c:7:6: FunctionDecl=notdoxy1:{{.*}} notdoxy1 NOT_DOXYGEN 91 // CHECK: parse-all-comments.c:10:6: FunctionDecl=notdoxy2:{{.*}} notdoxy2 NOT_DOXYGEN 92 // CHECK: parse-all-comments.c:13:6: FunctionDecl=notdoxy3:{{.*}} notdoxy3 NOT_DOXYGEN 93 // CHECK: parse-all-comments.c:16:6: FunctionDecl=isdoxy4:{{.*}} isdoxy4 IS_DOXYGEN_SINGLE 94 // CHECK: parse-all-comments.c:19:6: FunctionDecl=isdoxy5:{{.*}} isdoxy5 IS_DOXYGEN_SINGLE 95 // CHECK: parse-all-comments.c:22:6: FunctionDecl=isdoxy6:{{.*}} isdoxy6 IS_DOXYGEN_SINGLE 96 // CHECK: parse-all-comments.c:29:6: FunctionDecl=multi_line_comment_plus_ordinary:{{.*}} BLOCK_ORD… 97 // CHECK: parse-all-comments.c:34:6: FunctionDecl=multi_line_comment_empty_line:{{.*}} MULTILINE CO… [all …]
|
H A D | annotate-comments-objc.m | 16 // Check that we attach comments to properties correctly. 37 // Check that we attach comments to enums declared using the NS_ENUM macro. 45 // In the implementation of attaching comments to enums declared using the 48 // attach unrelated comments in the following cases where tag decls are 73 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s… 74 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s… 81 // Declarations without Doxygen comments should not pick up some Doxygen comments. 85 // Non-Doxygen comments should not be attached to anything. 88 // Some Doxygen comments are not attached to anything. 91 // Ensure we don't pick up extra comments. [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/rds/src/main/resources/codegen-resources/ |
H A D | examples-1.json | 14 "comments": { object 36 "comments": { object 58 "comments": { object 79 "comments": { object 101 "comments": { object 122 "comments": { object 144 "comments": { object 165 "comments": { object 187 "comments": { object 219 "comments": { object [all …]
|
/aosp_15_r20/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/ |
H A D | com_github_javaparser_ast_visitor_CloneVisitor.txt | 16 … Comment comment = cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment 17 Line 76) cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment 24 … Comment comment = cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment 25 Line 89) cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment 36 … Comment comment = cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment 37 Line 108) cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment 40 …etEndLine(), _n.getEndColumn(), _n.getContent()) ==> com.github.javaparser.ast.comments.LineComment 41 …tEndLine(), _n.getEndColumn(), _n.getContent()) ==> com.github.javaparser.ast.comments.BlockComment 42 …t javaDoc = cloneNodes(_n.getJavaDoc(), _arg) ==> com.github.javaparser.ast.comments.JavadocComment 43 Line 125) cloneNodes(_n.getJavaDoc(), _arg) ==> com.github.javaparser.ast.comments.JavadocComment [all …]
|
H A D | com_github_javaparser_ast_comments_CommentsParser.txt | 2 [ Class com.github.javaparser.ast.comments.CommentsParser ] 7 …Line 45) parse(in, Charset.defaultCharset().name()) ==> com.github.javaparser.ast.comments.Comment… 12 …Line 51) CommentsCollection comments = new CommentsCollection() ==> com.github.javaparser.ast.comm… 13 Line 51) new CommentsCollection() ==> com.github.javaparser.ast.comments.CommentsCollection 17 Line 56) State state = State.CODE ==> com.github.javaparser.ast.comments.CommentsParser.State 18 Line 56) State.CODE ==> com.github.javaparser.ast.comments.CommentsParser.State 19 Line 57) LineComment currentLineComment = null ==> com.github.javaparser.ast.comments.LineComment 21 …Line 58) BlockComment currentBlockComment = null ==> com.github.javaparser.ast.comments.BlockComme… 37 Line 74) state ==> com.github.javaparser.ast.comments.CommentsParser.State 38 Line 75) CODE ==> com.github.javaparser.ast.comments.CommentsParser.State [all …]
|
H A D | com_github_javaparser_ast_comments_CommentsCollection.txt | 2 [ Class com.github.javaparser.ast.comments.CommentsCollection ] 4 … LinkedList<LineComment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments.LineComment> 5 …inkedList<BlockComment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments.BlockComment> 6 …dList<JavadocComment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments.JavadocComment> 7 Line 36) lineComments ==> java.util.List<com.github.javaparser.ast.comments.LineComment> 8 Line 40) blockComments ==> java.util.List<com.github.javaparser.ast.comments.BlockComment> 9 Line 44) javadocComments ==> java.util.List<com.github.javaparser.ast.comments.JavadocComment> 13 Line 60) Comment c ==> com.github.javaparser.ast.comments.Comment 14 Line 60) getAll() ==> java.util.List<com.github.javaparser.ast.comments.Comment> 18 …Line 74) List<Comment> comments = new LinkedList<Comment>() ==> java.util.List<com.github.javapars… [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/iam/src/main/resources/codegen-resources/ |
H A D | examples-1.json | 10 "comments": { object 27 "comments": { object 44 "comments": { object 61 "comments": { object 78 "comments": { object 95 "comments": { object 112 "comments": { object 137 "comments": { object 153 "comments": { object 178 "comments": { object [all …]
|
/aosp_15_r20/external/licenseclassifier/commentparser/ |
H A D | comment_parser_test.go | 38 want Comments 41 description: "BCPL Single Line Comments", 140 description: "Lisp Single Line Comments", 152 description: "Shell Single Line Comments", 164 description: "BCPL Multiline Comments", 176 description: "BCPL Multiline Comments no terminating newline", 188 description: "Nested Multiline Comments", 200 description: "Ruby Multiline Comments", 212 description: "Multiple Single Line Comments", 237 description: "Mixed Multiline / Single Line Comments", [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/modfile/ |
D | read.go | 41 // excluding leading or trailing comments. 44 // Comment returns the comments attached to the expression. 45 // This method would normally be named 'Comments' but that 47 Comment() *Comments 57 // Comments collects the comments associated with an expression. 58 type Comments struct { struct 59 Before []Comment // whole-line comments before this expression 60 Suffix []Comment // end-of-line comments after this expression 63 // comments following the expression. 68 // a [Comments] struct is embedded into all the expression [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/ses/src/main/resources/codegen-resources/ |
H A D | examples-1.json | 10 "comments": { object 32 "comments": { object 63 "comments": { object 79 "comments": { object 95 "comments": { object 112 "comments": { object 128 "comments": { object 145 "comments": { object 161 "comments": { object 177 "comments": { object [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/autoscaling/src/main/resources/codegen-resources/ |
H A D | examples-1.json | 12 "comments": { object 31 "comments": { object 50 "comments": { object 69 "comments": { object 89 "comments": { object 114 "comments": { object 137 "comments": { object 159 "comments": { object 190 "comments": { object 206 "comments": { object [all …]
|
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiChip.java | 538 * See comments for {@link IWifiChip#configureChip(int)} 546 * See comments for {@link IWifiChip#createApIface(List)} 559 * See comments for {@link IWifiChip#createBridgedApIface(List, boolean)} 573 * See comments for {@link IWifiChip#createNanIface()} 582 * See comments for {@link IWifiChip#createP2pIface()} 591 * See comments for {@link IWifiChip#createRttController()} 600 * See comments for {@link IWifiChip#createStaIface()} 609 * See comments for {@link IWifiChip#enableDebugErrorAlerts(boolean)} 617 * See comments for {@link IWifiChip#flushRingBufferToFile()} 625 * See comments for {@link IWifiChip#forceDumpToDebugRingBuffer(String)} [all …]
|
/aosp_15_r20/libcore/ojluni/src/test/java/util/Properties/ |
H A D | SaveComments.java | 27 * @summary Verify that property.save saves comments correctly 42 "Comments with \u4e2d\u6587\u6c49\u5b57 included", in main() 43 "Comments with \n Second comments line", in main() 44 "Comments with \n# Second comments line", in main() 45 "Comments with \n! Second comments line", in main() 46 "Comments with last character is \n", in main() 47 "Comments with last character is \r\n", in main() 48 "Comments with last two characters are \n\n", in main() 49 "Comments with last four characters are \r\n\r\n", in main() 50 "Comments with \nkey4=value4", in main() [all …]
|
/aosp_15_r20/external/libxml2/result/noent/ |
H A D | slashdot16.xml | 10 <comments>20</comments> 21 <comments>12</comments> 32 <comments>10</comments> 43 <comments>385</comments> 54 <comments>20</comments> 65 <comments>12</comments> 76 <comments>10</comments> 87 <comments>385</comments> 98 <comments>164</comments> 109 <comments>48</comments> [all …]
|
/aosp_15_r20/external/cronet/third_party/libxml/fuzz/seed_corpus/ |
H A D | 5b3fdf55aa19abd6531bcff7b036b925eedf1cb3 | 10 <comments>20</comments> 21 <comments>12</comments> 32 <comments>10</comments> 43 <comments>385</comments> 54 <comments>20</comments> 65 <comments>12</comments> 76 <comments>10</comments> 87 <comments>385</comments> 98 <comments>164</comments> 109 <comments>48</comments> [all …]
|
/aosp_15_r20/external/libxml2/test/ |
H A D | slashdot16.xml | 10 <comments>20</comments> 21 <comments>12</comments> 32 <comments>10</comments> 43 <comments>385</comments> 54 <comments>20</comments> 65 <comments>12</comments> 76 <comments>10</comments> 87 <comments>385</comments> 98 <comments>164</comments> 109 <comments>48</comments> [all …]
|
/aosp_15_r20/external/libxml2/result/ |
H A D | slashdot16.xml | 10 <comments>20</comments> 21 <comments>12</comments> 32 <comments>10</comments> 43 <comments>385</comments> 54 <comments>20</comments> 65 <comments>12</comments> 76 <comments>10</comments> 87 <comments>385</comments> 98 <comments>164</comments> 109 <comments>48</comments> [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/storagegateway/src/main/resources/codegen-resources/ |
H A D | examples-1.json | 18 "comments": { object 41 "comments": { object 66 "comments": { object 89 "comments": { object 112 "comments": { object 132 "comments": { object 152 "comments": { object 177 "comments": { object 198 "comments": { object 220 "comments": { object [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/doc/ |
D | example.go | 29 Comments []*ast.CommentGroup member 85 output, unordered, hasOutput := exampleOutput(f.Body, file.Comments) 91 Comments: file.Comments, 117 func exampleOutput(b *ast.BlockStmt, comments []*ast.CommentGroup) (output string, unordered, ok bo… 118 if _, last := lastComment(b, comments); last != nil { 261 var comments []*ast.CommentGroup 264 comments = append(comments, c) 268 // Include comments that are inside the function body. 269 for _, c := range file.Comments { 271 comments = append(comments, c) [all …]
|