Home
last modified time | relevance | path

Searched refs:Comments (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DByteStreamer.h76 std::vector<std::string> &Comments; variable
85 std::vector<std::string> &Comments, bool GenerateComments) in BufferByteStreamer() argument
86 : Buffer(Buffer), Comments(Comments), GenerateComments(GenerateComments) { in BufferByteStreamer()
91 Comments.push_back(Comment.str()); in EmitInt8()
97 Comments.push_back(Comment.str()); in EmitSLEB128()
101 Comments.push_back(""); in EmitSLEB128()
109 Comments.push_back(Comment.str()); in EmitULEB128()
113 Comments.push_back(""); in EmitULEB128()
DDebugLocStream.cpp32 Comments.erase(Comments.begin() + Entries.back().CommentOffset, in finalizeEntry()
33 Comments.end()); in finalizeEntry()
DDebugLocStream.h51 std::vector<std::string> Comments; variable
99 Entries.push_back({BeginSym, EndSym, DWARFBytes.size(), Comments.size()}); in startEntry()
107 return BufferByteStreamer(DWARFBytes, Comments, GenerateComments); in getStreamer()
123 return makeArrayRef(Comments) in getComments()
150 return Comments.size() - Entries[EI].CommentOffset; in getNumComments()
/external/licenseclassifier/commentparser/
Dcomment_parser_test.go38 want Comments
454 comments Comments
455 want []Comments
459 comments: Comments{},
464 comments: Comments{
468 want: []Comments{{
475 comments: Comments{{
478 want: []Comments{{{
484 comments: Comments{
490 want: []Comments{
[all …]
Dcomment_parser.go36 func Parse(contents []byte, lang language.Language) Comments {
65 type Comments []*Comment type
69 func (c Comments) ChunkIterator() <-chan Comments {
70 ch := make(chan Comments)
80 var chunk Comments
111 func (c Comments) StartLine() int {
120 func (c Comments) String() string {
140 comments Comments // Comments in the source file.
/external/llvm/lib/CodeGen/AsmPrinter/
DByteStreamer.h77 SmallVectorImpl<std::string> &Comments; variable
86 SmallVectorImpl<std::string> &Comments, in BufferByteStreamer() argument
88 : Buffer(Buffer), Comments(Comments), GenerateComments(GenerateComments) {} in BufferByteStreamer()
92 Comments.push_back(Comment.str()); in EmitInt8()
98 Comments.push_back(Comment.str()); in EmitSLEB128()
104 Comments.push_back(Comment.str()); in EmitULEB128()
DDebugLocStream.cpp33 Comments.erase(Comments.begin() + Entries.back().CommentOffset, in finalizeEntry()
34 Comments.end()); in finalizeEntry()
DDebugLocStream.h56 SmallVector<std::string, 32> Comments; variable
97 Entries.emplace_back(BeginSym, EndSym, DWARFBytes.size(), Comments.size()); in startEntry()
105 return BufferByteStreamer(DWARFBytes, Comments, GenerateComments); in getStreamer()
121 return makeArrayRef(Comments) in getComments()
148 return Comments.size() - Entries[EI].CommentOffset; in getNumComments()
/external/clang/lib/AST/
DRawCommentList.cpp278 while (!Comments.empty() && in addComment()
279 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getLocStart(), in addComment()
283 Comments.pop_back(); in addComment()
292 if (Comments.empty()) { in addComment()
293 Comments.push_back(new (Allocator) RawComment(RC)); in addComment()
297 const RawComment &C1 = *Comments.back(); in addComment()
320 *Comments.back() = RawComment(SourceMgr, MergedRange, true, in addComment()
323 Comments.push_back(new (Allocator) RawComment(RC)); in addComment()
329 MergedComments.reserve(Comments.size() + DeserializedComments.size()); in addDeserializedComments()
331 std::merge(Comments.begin(), Comments.end(), in addDeserializedComments()
[all …]
/external/javaparser/javaparser-core-testing-bdd/src/test/resources/com/github/javaparser/
Dcomment_parsing_scenarios.story1 Scenario: A Class With Line Comments is processed by the Comments Parser
28 Scenario: A Class With Block Comments is processed by the Comments Parser
64 Scenario: A Class With Javadoc Comments is processed by the Comments Parser
88 Scenario: A Class With Orphan Comments is processed by the Comments Parser
115 Scenario: A Class With Orphan Comments is processed by the Comments Parser
169 Scenario: Comments from a file with an non-UTF-8 encoding are parsed correctly
196 Scenario: A Class With Character Literal is processed by the Comments Parser
/external/clang/unittests/Tooling/
DCommentHandlerTest.cpp52 Comments.push_back(Comment(C, CLine, CCol)); in HandleComment()
65 CommentList Comments; member in clang::CommentHandlerVisitor
96 CommentVerifier(const CommentList &Comments, Preprocessor *PP) in CommentVerifier() argument
97 : Current(Comments.begin()), End(Comments.end()), PP(PP) in CommentVerifier()
129 return CommentVerifier(Comments, PP); in GetVerifier()
/external/golang-protobuf/compiler/protogen/
Dprotogen.go513 Comments CommentSet // comments associated with this enum member
527 Comments: makeCommentSet(f.Desc.SourceLocations().ByDescriptor(desc)),
545 Comments CommentSet // comments associated with this enum value member
564 Comments: makeCommentSet(f.Desc.SourceLocations().ByDescriptor(desc)),
582 Comments CommentSet // comments associated with this message member
596 Comments: makeCommentSet(f.Desc.SourceLocations().ByDescriptor(desc)),
739 Comments CommentSet // comments associated with this field member
766 Comments: makeCommentSet(f.Desc.SourceLocations().ByDescriptor(desc)),
817 Comments CommentSet // comments associated with this oneof member
833 Comments: makeCommentSet(f.Desc.SourceLocations().ByDescriptor(desc)),
[all …]
/external/golang-protobuf/cmd/protoc-gen-go/internal_gengo/
Dmain.go113 g.P(protogen.Comments(s))
117 g.P(protogen.Comments(s))
230 leadingComments := appendDeprecationSuffix(e.Comments.Leading,
240 leadingComments := appendDeprecationSuffix(value.Comments.Leading,
245 trailingComment(value.Comments.Trailing))
326 leadingComments := appendDeprecationSuffix(m.Comments.Leading,
387 leadingComments := oneof.Comments.Leading
395 leadingComments += protogen.Comments(strings.Join(ss, ""))
426 leadingComments := appendDeprecationSuffix(field.Comments.Leading,
431 trailingComment(field.Comments.Trailing))
[all …]
/external/jdiff/src/jdiff/
DCommentsHandler.java29 public Comments comments_ = null;
44 public CommentsHandler(Comments comments) { in CommentsHandler()
134 currentText.compareTo(Comments.placeHolderText) != 0) { in addTextToComments()
167 if (Comments.isMinimizedTag(currentHTMLTag)) { in addStartTagToText()
185 if (!Comments.isMinimizedTag(currentHTMLTag)) in addEndTagToText()
DComments.java23 public class Comments { class
31 private static Comments oldComments_ = null;
34 public Comments() { in Comments() method in Comments
46 public static Comments readFile(String filename) { in readFile()
59 oldComments_ = new Comments(); in readFile()
193 public static String getComment(Comments comments, String id) { in getComment()
380 Comments newComments) { in writeFile()
435 public static void noteDifferences(Comments oldComments, Comments newComments) { in noteDifferences()
DJDiff.java153 Comments existingComments = Comments.readFile(commentsFileName); in startGeneration()
163 Comments newComments = reporter.getNewComments(); in startGeneration()
164 Comments.noteDifferences(existingComments, newComments); in startGeneration()
169 Comments.writeFile(commentsFileName, newComments); in startGeneration()
DAPIHandler.java217 currentText = Comments.convertAtLinks(currentText, currentElement, in addTextToComments()
222 currentText.compareTo(Comments.placeHolderText) != 0) { in addTextToComments()
266 String ctOld = (String)(Comments.allPossibleComments.put(commentID, ct)); in addTextToComments()
292 if (Comments.isMinimizedTag(currentHTMLTag)) { in addStartTagToText()
310 if (!Comments.isMinimizedTag(currentHTMLTag)) in addEndTagToText()
/external/jsoncpp/include/json/
Dvalue.h634 class Comments {
636 Comments() = default;
637 Comments(const Comments& that);
638 Comments(Comments&& that) noexcept;
639 Comments& operator=(const Comments& that);
640 Comments& operator=(Comments&& that) noexcept;
649 Comments comments_;
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DSimpleXMLSource.java11 import org.unicode.cldr.util.XPathParts.Comments;
21 private Comments xpath_comments = new Comments(); // map from paths to comments.
65 public Comments getXpathComments() { in getXpathComments()
70 public void setXpathComments(Comments xpath_comments) { in setXpathComments()
104 result.xpath_comments = (Comments) result.xpath_comments.clone(); in cloneAsThawed()
DXPathParts.java111 String v, Comments xpath_comments) { in writeDifference()
126 … filteredXPath.writeComment(pw, xpath_comments, i + 1, Comments.CommentType.PREBLOCK); in writeDifference()
132 filteredXPath.writeComment(pw, xpath_comments, size(), Comments.CommentType.PREBLOCK); in writeDifference()
147 filteredXPath.writeComment(pw, xpath_comments, size(), Comments.CommentType.LINE); in writeDifference()
151 filteredXPath.writeComment(pw, xpath_comments, size(), Comments.CommentType.POSTBLOCK); in writeDifference()
181 public static class Comments implements Cloneable { class in XPathParts
189 public Comments() { in Comments() method in XPathParts.Comments
199 public Comments addComment(CommentType style, String xpath, String comment) { in addComment()
230 Comments result = (Comments) super.clone(); in clone()
243 public Comments joinAll(Comments other) { in joinAll()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp142 StringRef Comments = DC->CommentsToEmit.str(); in emitComments() local
148 while (!Comments.empty()) { in emitComments()
153 size_t Position = Comments.find('\n'); in emitComments()
154 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position); in emitComments()
156 Comments = Comments.substr(Position+1); in emitComments()
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp128 StringRef Comments = DC->CommentsToEmit.str(); in emitComments() local
134 while (!Comments.empty()) { in emitComments()
139 size_t Position = Comments.find('\n'); in emitComments()
140 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position); in emitComments()
142 Comments = Comments.substr(Position+1); in emitComments()
/external/starlark-go/syntax/
Dsyntax.go16 Comments() *Comments methodSpec
30 type Comments struct { struct
42 type commentsRef struct{ ref *Comments }
46 func (cr commentsRef) Comments() *Comments { return cr.ref } func
51 cr.ref = new(Comments)
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestXMLSource.java13 import org.unicode.cldr.util.XPathParts.Comments;
51 public Comments getXpathComments() { in getXpathComments()
56 public void setXpathComments(Comments comments) { in setXpathComments()
/external/jsoncpp/src/lib_json/
Djson_value.cpp971 comments_ = Comments{}; in initBasic()
1374 Value::Comments::Comments(const Comments& that) in Comments() function in Json::Value::Comments
1377 Value::Comments::Comments(Comments&& that) noexcept in Comments() function in Json::Value::Comments
1380 Value::Comments& Value::Comments::operator=(const Comments& that) { in operator =()
1385 Value::Comments& Value::Comments::operator=(Comments&& that) noexcept { in operator =()
1390 bool Value::Comments::has(CommentPlacement slot) const { in has()
1394 String Value::Comments::get(CommentPlacement slot) const { in get()
1400 void Value::Comments::set(CommentPlacement slot, String comment) { in set()

12345678910>>...13