Home
last modified time | relevance | path

Searched full:comments (Results 1 – 25 of 3122) sorted by relevance

12345678910>>...125

/third_party/lz4/contrib/gen_manual/
Dgen_manual.cpp54 /* 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()
180comments[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 …]
DREADME.md9 - comments of type `/*!` mean: this is a function declaration; switch comments with declarations
10 - comments of type `/**` and `/*-` mean: this is a comment; use a `<H2>` header for the first line
11 - comments of type `/*=` and `/**=` mean: use a `<H3>` header and show also all functions until fir…
12 - comments of type `/*X` where `X` is different from above-mentioned are ignored
17 - comments of type `/**<` and `/*!<` are detected and only function declaration is highlighted (bol…
/third_party/typescript/tests/baselines/reference/
DjsdocDisallowedInTypescript.errors.txt1 …wedInTypescript.ts(2,15): error TS8020: JSDoc types can only be used inside documentation comments.
2 …wedInTypescript.ts(4,15): error TS8020: JSDoc types can only be used inside documentation comments.
3 …wedInTypescript.ts(4,32): error TS8020: JSDoc types can only be used inside documentation comments.
4 …wedInTypescript.ts(7,20): error TS8020: JSDoc types can only be used inside documentation comments.
5 …edInTypescript.ts(10,18): error TS8020: JSDoc types can only be used inside documentation comments.
7 …edInTypescript.ts(13,14): error TS8020: JSDoc types can only be used inside documentation comments.
8 …edInTypescript.ts(14,11): error TS8020: JSDoc types can only be used inside documentation comments.
9 …wedInTypescript.ts(15,8): error TS8020: JSDoc types can only be used inside documentation comments.
10 …edInTypescript.ts(16,11): error TS8020: JSDoc types can only be used inside documentation comments.
11 …edInTypescript.ts(17,17): error TS8020: JSDoc types can only be used inside documentation comments.
[all …]
DconstEnums.types183 const enum Comments {
184 >Comments : Comments
187 >"//" : (typeof Comments)["//"]
190 >"/*" : (typeof Comments)["/*"]
193 >"*/" : (typeof Comments)["*/"]
196 >"///" : (typeof Comments)["///"]
199 >"#" : (typeof Comments)["#"]
202 >"<!--" : (typeof Comments)["<!--"]
205 >"-->" : (typeof Comments)["-->"]
619 function baz(c: Comments) {
[all …]
DinterfaceContextualType.types30 this.values['comments'] = { italic: true };
31 >this.values['comments'] = { italic: true } : { italic: true; }
32 >this.values['comments'] : IOptions
36 >'comments' : "comments"
45 >this.values = { comments: { italic: true } } : { comments: { italic: true; }; }
49 >{ comments: { italic: true } } : { comments: { italic: true; }; }
51 comments: { italic: true }
52 >comments : { italic: true; }
DcommentsemitComments.js2 /** Variable comments*/
5 /** function comments*/
51 /** interface comments*/
53 /** caller comments*/
56 /** new comments*/
69 /**interface instance comments*/
91 /** Variable comments*/
93 /** function comments*/
131 /**interface instance comments*/
148 /** Variable comments*/
[all …]
DstaticInstanceResolution.types11 static getDocCommentText(comments: Comment[])
12 >getDocCommentText : (comments: Comment[]) => void
13 >comments : Comment[]
15 comments[0].getDocCommentText();
16 >comments[0].getDocCommentText() : void
17 >comments[0].getDocCommentText : () => void
18 >comments[0] : Comment
19 >comments : Comment[]
DconstEnums.js41 const enum Comments {
167 function baz(c: Comments) {
169 case Comments["//"]:
170 case Comments["/*"]:
171 case Comments["*/"]:
172 case Comments["///"]:
173 case Comments["#"]:
174 case Comments["<!--"]:
175 case Comments["-->"]:
254 case 0 /* Comments["//"] */:
[all …]
DsourceMap-Comments.symbols1 === tests/cases/compiler/sourceMap-Comments.ts ===
3 >sas : Symbol(sas, Decl(sourceMap-Comments.ts, 0, 0))
4 >tools : Symbol(tools, Decl(sourceMap-Comments.ts, 0, 11))
7 >Test : Symbol(Test, Decl(sourceMap-Comments.ts, 0, 18))
10 >doX : Symbol(Test.doX, Decl(sourceMap-Comments.ts, 1, 23))
13 >f : Symbol(f, Decl(sourceMap-Comments.ts, 3, 15))
16 >f : Symbol(f, Decl(sourceMap-Comments.ts, 3, 15))
DstaticInstanceResolution.symbols11 static getDocCommentText(comments: Comment[])
13 >comments : Symbol(comments, Decl(staticInstanceResolution.ts, 7, 29))
16 comments[0].getDocCommentText();
17 >comments[0].getDocCommentText : Symbol(Comment.getDocCommentText, Decl(staticInstanceResolution.ts…
18 >comments : Symbol(comments, Decl(staticInstanceResolution.ts, 7, 29))
DdecoratorMetadata-jsdoc.errors.txt1 …orMetadata-jsdoc.ts(5,9): error TS8020: JSDoc types can only be used inside documentation comments.
2 …orMetadata-jsdoc.ts(7,9): error TS8020: JSDoc types can only be used inside documentation comments.
3 …orMetadata-jsdoc.ts(9,9): error TS8020: JSDoc types can only be used inside documentation comments.
13 !!! error TS8020: JSDoc types can only be used inside documentation comments.
17 !!! error TS8020: JSDoc types can only be used inside documentation comments.
21 !!! error TS8020: JSDoc types can only be used inside documentation comments.
DconstEnums.symbols138 const enum Comments {
139 >Comments : Symbol(Comments, Decl(constEnums.ts, 37, 1))
142 >"//" : Symbol(Comments["//"], Decl(constEnums.ts, 39, 21))
145 >"/*" : Symbol(Comments["/*"], Decl(constEnums.ts, 40, 9))
148 >"*/" : Symbol(Comments["*/"], Decl(constEnums.ts, 41, 9))
151 >"///" : Symbol(Comments["///"], Decl(constEnums.ts, 42, 9))
154 >"#" : Symbol(Comments["#"], Decl(constEnums.ts, 43, 10))
157 >"<!--" : Symbol(Comments["<!--"], Decl(constEnums.ts, 44, 8))
160 >"-->" : Symbol(Comments["-->"], Decl(constEnums.ts, 45, 11))
574 function baz(c: Comments) {
[all …]
/third_party/icu/icu4c/source/test/testdata/
Dra.txt11 * These are top level comments for the bundle. Tag name: ra
13 * @note Comments for tag named 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
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DCommentsSchema.java47 * The data schema for handling XML comments. Note that, unlike other "table" schemas, this does
48 * not represent comments in the form of a CsvTable. This is because comment anchors can appear
65 /** Loads the comments from a given file path. */
79 List<Comment> comments = new ArrayList<>(); in importComments() local
80 Consumer<Stream<String>> rowCallback = getRowCallback(comments); in importComments()
85 return ImmutableList.sortedCopyOf(ORDERING, comments); in importComments()
89 List<Comment> comments = new ArrayList<>(); in importComments() local
90 Consumer<Stream<String>> rowCallback = getRowCallback(comments); in importComments()
97 return ImmutableList.sortedCopyOf(ORDERING, comments); in importComments()
100 private static Consumer<Stream<String>> getRowCallback(List<Comment> comments) { in getRowCallback() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DByteStreamer.h76 std::vector<std::string> &Comments; variable
79 /// Only verbose textual output needs comments. This will be set to
80 /// true for that case, and false otherwise. If false, comments passed in to
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()
98 // Add some empty comments to keep the Buffer and Comments vectors aligned in EmitSLEB128()
101 Comments.push_back(""); in EmitSLEB128()
109 Comments.push_back(Comment.str()); in EmitULEB128()
[all …]
/third_party/gn/src/gn/
Dcommand_format.cc151 void PrintTrailingCommentsWrapped(const std::vector<Token>& comments);
157 // End the current line, flushing end of line comments.
212 // |end| holds any trailing comments to be printed just before the closing
233 std::vector<Token> comments_; // Pending end-of-line comments.
305 // Assumes that the margin is set to the indent level where the comments should
312 void Printer::PrintTrailingCommentsWrapped(const std::vector<Token>& comments) { in PrintTrailingCommentsWrapped() argument
320 for (const auto& c : comments) { in PrintTrailingCommentsWrapped()
358 if (node->comments() && !node->comments()->suffix().empty()) { in PrintSuffixComments()
361 PrintTrailingCommentsWrapped(node->comments()->suffix()); in PrintSuffixComments()
370 // starts so that multiple suffix comments are vertically aligned. in FlushComments()
[all …]
/third_party/json/docs/mkdocs/docs/features/
Dcomments.md1 # Comments chapter
3 This library does not support comments *by default*. It does so for three reasons:
5 1. Comments are not part of the [JSON specification](https://tools.ietf.org/html/rfc8259). You may …
8comments from JSON because I saw people were using them to hold parsing directives, a practice whi…
10 …on files, which you would like to annotate. Go ahead and insert all the comments you like. Then pi…
14 …nts` to `#!c true` in the parse function to ignore `//` or `/* */` comments. Comments will then be…
18 Consider the following JSON with comments.
28 …rror exception is thrown. If `ignore_comments` is set to `#! true`, the comments are ignored durin…
/third_party/icu/tools/multi/proj/icu4cscan/
Dtestxml.cpp120 int could_open(const char *locale, char *comments) { in could_open() argument
127 strcat(comments, tmp); in could_open()
132 strcat(comments, tmp); in could_open()
136 int col_could_open(const char *locale, char *comments) { in col_could_open() argument
143 /*strcat(comments, tmp); */ in col_could_open()
148 /* strcat(comments, tmp); */ in col_could_open()
259 const char *locale, char *comments, in date() argument
313 strcat(comments, tmp); in date()
320 strcat(comments,tmp); in date()
326 static void writeOkComments(XMLFile &xf, int ok, const char *comments, const char *locale) { in writeOkComments() argument
[all …]
/third_party/python/Tools/unicode/
Dgencodec.py138 def python_mapdef_code(varname, map, comments=1, precisions=(2, 4)): argument
173 if mapcomment and comments:
195 def python_tabledef_code(varname, map, comments=1, key_precision=2): argument
241 if mapcomment and comments:
253 def codegen(name, map, encodingname, comments=1): argument
257 Comments are included in the source, if comments is true (default).
264 comments=comments)
268 comments=comments)
272 comments=comments,
358 def pymap(name,map,pyfile,encodingname,comments=1): argument
[all …]
/third_party/protobuf/php/src/Google/Protobuf/Internal/SourceCodeInfo/
DLocation.php56 * comments appearing before and after the declaration which appear to be
58 * A series of line comments appearing on consecutive lines, with no other
60 * leading_detached_comments will keep paragraphs of comments that appear
65 * stripped out. For block comments, leading whitespace and an asterisk
79 * // Detached comment for corge. This is not leading or trailing comments
90 * // ignored detached comments.
140 * comments appearing before and after the declaration which appear to be
142 * A series of line comments appearing on consecutive lines, with no other
144 * leading_detached_comments will keep paragraphs of comments that appear
149 * stripped out. For block comments, leading whitespace and an asterisk
[all …]
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_doc_comment.cc44 // Functions to create C# XML documentation comments.
45 // Currently this only includes documentation comments containing text specified as comments
46 // in the .proto file; documentation comments generated just from field/message/enum/proto names
50 string comments = location.leading_comments.empty() ? in WriteDocCommentBodyImpl() local
52 if (comments.empty()) { in WriteDocCommentBodyImpl()
57 comments = StringReplace(comments, "&", "&amp;", true); in WriteDocCommentBodyImpl()
58 comments = StringReplace(comments, "<", "&lt;", true); in WriteDocCommentBodyImpl()
60 lines = Split(comments, "\n", false); in WriteDocCommentBodyImpl()
/third_party/typescript/tests/cases/compiler/
DconstEnums.ts40 const enum Comments { enum
166 function baz(c: Comments) {
168 case Comments["//"]:
169 case Comments["/*"]:
170 case Comments["*/"]:
171 case Comments["///"]:
172 case Comments["#"]:
173 case Comments["<!--"]:
174 case Comments["-->"]:
DcommentsemitComments.ts5 /** Variable comments*/
8 /** function comments*/
54 /** interface comments*/
56 /** caller comments*/
59 /** new comments*/
72 /**interface instance comments*/
DcommentsdoNotEmitComments.ts5 /** Variable comments*/
8 /** function comments*/
54 /** interface comments*/
56 /** caller comments*/
59 /** new comments*/
72 /**interface instance comments*/
/third_party/typescript/tests/arkTSTest/testcase/arkts-strict-typing-required/
Darkts-strict-typing-required-5-error.json4 …"messageText": "Switching off type checks with in-place comments is not allowed (arkts-strict-typi…
11 …"messageText": "Switching off type checks with in-place comments is not allowed (arkts-strict-typi…
18 …"messageText": "Switching off type checks with in-place comments is not allowed (arkts-strict-typi…
27 …"messageText": "Switching off type checks with in-place comments is not allowed (arkts-strict-typi…
34 …"messageText": "Switching off type checks with in-place comments is not allowed (arkts-strict-typi…
41 …"messageText": "Switching off type checks with in-place comments is not allowed (arkts-strict-typi…

12345678910>>...125