/external/pcre/pcrecpp/ |
D | pcre_scanner_unittest.cc | 76 vector<StringPiece> comments; in TestScanner() local 82 s.GetNextComments(&comments); in TestScanner() 83 CHECK_EQ(comments.size(), 1); in TestScanner() 84 CHECK_EQ(comments[0].as_string(), " // this sets alpha\n"); in TestScanner() 85 comments.resize(0); in TestScanner() 90 s.GetNextComments(&comments); in TestScanner() 91 CHECK_EQ(comments.size(), 1); in TestScanner() 92 CHECK_EQ(comments[0].as_string(), " // bravo is set here\n"); in TestScanner() 93 comments.resize(0); in TestScanner() 98 s.GetNextComments(&comments); in TestScanner() [all …]
|
/external/lz4/contrib/gen_manual/ |
D | gen_manual.cpp | 111 vector<string> input, lines, comments, chapters; in main() local 178 comments = get_lines(input, linenum, "*/"); in main() 179 if (!comments.empty()) comments[0] = line.substr(spos+3); in main() 180 …if (!comments.empty()) comments[comments.size()-1] = comments[comments.size()-1].substr(0, comment… in main() 181 for (l=0; l<comments.size(); l++) { in main() 182 if (comments[l].find(" *")==0) comments[l] = comments[l].substr(2); in main() 183 else if (comments[l].find(" *")==0) comments[l] = comments[l].substr(3); in main() 184 trim(comments[l], "*-="); in main() 186 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main() 187 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/ |
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 …]
|
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 …]
|
D | com_github_javaparser_JavaParser.txt | 75 …Line 312) List<Comment> comments = commentsCollection.getAll() ==> java.util.List<com.github.javap… 76 …Line 312) commentsCollection.getAll() ==> java.util.List<com.github.javaparser.ast.comments.Commen… 77 Line 313) PositionUtils.sortByBeginPosition(comments) ==> void 81 …Line 317) cu.getPackage() != null && (children.size() == 0 || PositionUtils.areInOrder(comments.ge… 82 Line 318) cu.setComment(comments.get(0)) ==> void 83 Line 319) comments.remove(0) ==> com.github.javaparser.ast.comments.Comment 84 Line 322) insertCommentsInNode(cu, comments) ==> void 104 …ideChild = new LinkedList<Comment>() ==> java.util.List<com.github.javaparser.ast.comments.Comment> 105 …Line 369) new LinkedList<Comment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments.Co… 106 Line 370) Comment c ==> com.github.javaparser.ast.comments.Comment [all …]
|
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 …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_comments_CommentsCollection.txt | 1 …Line 41) comments.addAll(commentsToCopy) ==> java.util.TreeSet.addAll(java.util.Collection<? exten… 2 …Line 45) comments.stream().filter(comment -> comment instanceof LineComment).map(comment -> (LineC… 3 …Line 45) comments.stream().filter(comment -> comment instanceof LineComment).map(comment -> (LineC… 4 …Line 45) comments.stream().filter(comment -> comment instanceof LineComment) ==> java.util.stream.… 5 Line 45) comments.stream() ==> java.util.Collection.stream() 7 …Line 52) comments.stream().filter(comment -> comment instanceof BlockComment).map(comment -> (Bloc… 8 …Line 52) comments.stream().filter(comment -> comment instanceof BlockComment).map(comment -> (Bloc… 9 …Line 52) comments.stream().filter(comment -> comment instanceof BlockComment) ==> java.util.stream… 10 Line 52) comments.stream() ==> java.util.Collection.stream() 12 …Line 59) comments.stream().filter(comment -> comment instanceof JavadocComment).map(comment -> (Ja… [all …]
|
D | com_github_javaparser_CommentsInserter.txt | 1 Line 52) comments.isEmpty() ==> java.util.TreeSet.isEmpty() 4 Line 66) comments.iterator().next() ==> java.util.Iterator.next() 5 Line 66) comments.iterator() ==> java.util.TreeSet.iterator() 10 …tComment) ==> com.github.javaparser.ast.Node.setComment(com.github.javaparser.ast.comments.Comment) 11 Line 71) comments.remove(firstComment) ==> java.util.TreeSet.remove(java.lang.Object) 13 …thub.javaparser.ast.CompilationUnit, java.util.TreeSet<com.github.javaparser.ast.comments.Comment>) 19 …ents(com.github.javaparser.ast.Node, java.util.TreeSet<com.github.javaparser.ast.comments.Comment>) 20 Line 114) comment.isLineComment() ==> com.github.javaparser.ast.comments.Comment.isLineComment() 23 …ommentToNodeOrChild(com.github.javaparser.ast.Node, com.github.javaparser.ast.comments.LineComment) 24 Line 118) comment.asLineComment() ==> com.github.javaparser.ast.comments.Comment.asLineComment() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/comments/ |
D | CommentsCollection.java | 22 package com.github.javaparser.ast.comments; 35 private final TreeSet<Comment> comments = new TreeSet<>(NODE_BY_BEGIN_POSITION); field in CommentsCollection 41 comments.addAll(commentsToCopy); in CommentsCollection() 45 return comments.stream() in getLineComments() 52 return comments.stream() in getBlockComments() 59 return comments.stream() in getJavadocComments() 66 comments.add(comment); in addComment() 84 return comments; in getComments() 88 return comments.size(); in size() 93 result.comments.addAll( in minus() [all …]
|
/external/clang/test/Index/ |
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 …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/comments/ |
D | CommentsCollection.java | 22 package com.github.javaparser.ast.comments; 37 private final TreeSet<Comment> comments = new TreeSet<>(NODE_BY_BEGIN_POSITION); field in CommentsCollection 43 comments.addAll(commentsToCopy); in CommentsCollection() 47 return comments.stream() in getLineComments() 54 return comments.stream() in getBlockComments() 61 return comments.stream() in getJavadocComments() 68 comments.add(comment); in addComment() 93 return comments; in getComments() 97 return comments.size(); in size() 102 result.comments.addAll( in minus() [all …]
|
/external/libxml2/result/ |
D | slashdot16.xml.rdr | 37 2 1 comments 0 0 39 2 15 comments 0 0 88 2 1 comments 0 0 90 2 15 comments 0 0 139 2 1 comments 0 0 141 2 15 comments 0 0 190 2 1 comments 0 0 192 2 15 comments 0 0 241 2 1 comments 0 0 243 2 15 comments 0 0 [all …]
|
D | slashdot16.xml.rde | 37 2 1 comments 0 0 39 2 15 comments 0 0 88 2 1 comments 0 0 90 2 15 comments 0 0 139 2 1 comments 0 0 141 2 15 comments 0 0 190 2 1 comments 0 0 192 2 15 comments 0 0 241 2 1 comments 0 0 243 2 15 comments 0 0 [all …]
|
D | slashdot.xml.rdr | 37 2 1 comments 0 0 39 2 15 comments 0 0 88 2 1 comments 0 0 90 2 15 comments 0 0 139 2 1 comments 0 0 141 2 15 comments 0 0 190 2 1 comments 0 0 192 2 15 comments 0 0 241 2 1 comments 0 0 243 2 15 comments 0 0 [all …]
|
D | slashdot.xml.rde | 37 2 1 comments 0 0 39 2 15 comments 0 0 88 2 1 comments 0 0 90 2 15 comments 0 0 139 2 1 comments 0 0 141 2 15 comments 0 0 190 2 1 comments 0 0 192 2 15 comments 0 0 241 2 1 comments 0 0 243 2 15 comments 0 0 [all …]
|
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/ |
D | comment_attribution_scenarios.story | 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 29 package japa.parser.comments; 46 Then the compilation unit has 6 contained comments 51 Then class 1 has 4 total contained comments [all …]
|
D | comment_parsing_scenarios.story | 4 package japa.parser.comments; 16 Then the total number of comments is 4 21 Then the line comments have the following positions: 31 package japa.parser.comments; 49 Then the total number of comments is 5 55 Then the block comments have the following positions: 67 package japa.parser.comments; 78 Then the total number of comments is 2 81 Then the Javadoc comments have the following positions: 91 package japa.parser.comments; [all …]
|
/external/icu/icu4c/source/test/testdata/ |
D | ra.txt | 11 * These are top level comments for the bundle. Tag name: ra 17 * Top level comments for the string.Tag name: test1 31 * Top level comments for TestTable. Tag name: TestTable 62 * Top level comments for Tag name: TestArray 68 * comments for un-named string 74 * comments for un-named int 80 * comments for un-named binary 88 * comments for TestInclude 95 * comments for TestImport 102 * comments for TestIntVector [all …]
|
/external/python/cpython2/Tools/unicode/ |
D | gencodec.py | 136 def python_mapdef_code(varname, map, comments=1, precisions=(2, 4)): argument 171 if mapcomment and comments: 193 def python_tabledef_code(varname, map, comments=1, key_precision=2): argument 238 if mapcomment and comments: 248 def codegen(name, map, encodingname, comments=1): argument 259 comments=comments) 263 comments=comments) 267 comments=comments, 353 def pymap(name,map,pyfile,encodingname,comments=1): argument 355 code = codegen(name,map,encodingname,comments) [all …]
|
/external/ImageMagick/config/ |
D | tap-driver.sh | 55 [--comments|--no-comments] [--] TEST-COMMAND 69 comments=0 84 --comments) comments=1;; 85 --no-comments) comments=0;; 153 -v comments="$comments" \
|
/external/python/cpython3/Tools/unicode/ |
D | gencodec.py | 139 def python_mapdef_code(varname, map, comments=1, precisions=(2, 4)): argument 174 if mapcomment and comments: 196 def python_tabledef_code(varname, map, comments=1, key_precision=2): argument 242 if mapcomment and comments: 254 def codegen(name, map, encodingname, comments=1): argument 265 comments=comments) 269 comments=comments) 273 comments=comments, 359 def pymap(name,map,pyfile,encodingname,comments=1): argument 361 code = codegen(name,map,encodingname,comments) [all …]
|
/external/nanopb-c/tests/regression/issue_145/ |
D | SConscript | 1 # Regression test for Issue 145: Allow /* */ and // comments in .options files 5 env.NanopbProto(["comments", "comments.options"]) 6 env.Object('comments.pb.c') 8 env.Match(['comments.pb.h', 'comments.expected'])
|
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_145/ |
D | SConscript | 1 # Regression test for Issue 145: Allow /* */ and // comments in .options files 5 env.NanopbProto(["comments", "comments.options"]) 6 env.Object('comments.pb.c') 8 env.Match(['comments.pb.h', 'comments.expected'])
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | WikipediaOfficialLanguages.java | 34 final String comments; field in WikipediaOfficialLanguages.Info 36 public Info(String language, OfficialStatus status, String comments) { in Info() argument 39 this.comments = comments; in Info() 146 String comments = s.toString(); 147 Set<String> narrowRegionSet = getRegionSet(regionSet, comments); 151 new Info(language, guessStatus(comments), in regionToLanguageStatus.put() argument 152 comments)); in regionToLanguageStatus.put() 178 private static Set<String> getRegionSet(Set<String> regionSet, String comments) { in getRegionSet() argument 182 int inLen = getStartLen(comments, "in "); in getRegionSet() 184 inLen = getStartLen(comments, "minority language in "); in getRegionSet() [all …]
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_doc_comment.cc | 50 string comments = location.leading_comments.empty() ? in WriteDocCommentBodyImpl() local 52 if (comments.empty()) { in WriteDocCommentBodyImpl() 57 comments = StringReplace(comments, "&", "&", true); in WriteDocCommentBodyImpl() 58 comments = StringReplace(comments, "<", "<", true); in WriteDocCommentBodyImpl() 59 vector<string> lines = Split(comments, "\n", false /* skip_empty */); in WriteDocCommentBodyImpl()
|