Home
last modified time | relevance | path

Searched refs:comments (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/freebsd-12.1/sys/contrib/zstd/contrib/gen_html/
H A Dgen_html.cpp152 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()
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()
157 trim(comments[l], "*-="); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
183 trim(comments[0], " "); in main()
197 trim(comments[0], " "); in main()
[all …]
H A 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…
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTextNodeDumper.h127 public comments::ConstCommentVisitor<TextNodeDumper, void,
146 const comments::CommandTraits *Traits;
153 const comments::CommandTraits *Traits);
155 void Visit(const comments::Comment *C, const comments::FullComment *FC);
187 void visitTextComment(const comments::TextComment *C,
188 const comments::FullComment *);
192 const comments::FullComment *);
194 const comments::FullComment *);
196 const comments::FullComment *);
205 const comments::FullComment *);
[all …]
H A DRawCommentList.h24 namespace comments {
139 comments::FullComment *parse(const ASTContext &Context,
/freebsd-12.1/contrib/libucl/tests/
H A Dtest_basic.c36 ucl_object_t *obj, *comments = NULL; in main() local
190 comments = ucl_object_ref (ucl_parser_get_comments (parser)); in main()
234 if (comments) { in main()
235 ucl_object_unref (comments); in main()
236 comments = NULL; in main()
256 func, comments); in main()
260 func, comments); in main()
265 func, comments); in main()
269 func, comments); in main()
290 if (comments) { in main()
[all …]
H A Dtest_generate.c44 ucl_object_t *obj, *cur, *ar, *ar1, *ref, *test_obj, *comments; in main() local
205 comments = ucl_object_typed_new (UCL_OBJECT); in main()
208 ucl_comments_add (comments, found, "# test comment"); in main()
209 assert (ucl_comments_find (comments, found) != NULL); in main()
210 assert (ucl_comments_find (comments, test) == NULL); in main()
211 ucl_comments_move (comments, found, test); in main()
212 assert (ucl_comments_find (comments, found) == NULL); in main()
213 assert (ucl_comments_find (comments, test) != NULL); in main()
268 assert (ucl_object_emit_full (obj, UCL_EMIT_CONFIG, fn, comments)); in main()
272 ucl_object_unref (comments); in main()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DTextNodeDumper.cpp439 const comments::CommandInfo *Info = in getCommandName()
452 const comments::InlineCommandComment *C, const comments::FullComment *) { in visitInlineCommandComment()
474 const comments::HTMLStartTagComment *C, const comments::FullComment *) { in visitHTMLStartTagComment()
488 const comments::HTMLEndTagComment *C, const comments::FullComment *) { in visitHTMLEndTagComment()
493 const comments::BlockCommandComment *C, const comments::FullComment *) { in visitBlockCommandComment()
500 const comments::ParamCommandComment *C, const comments::FullComment *FC) { in visitParamCommandComment()
521 const comments::TParamCommandComment *C, const comments::FullComment *FC) { in visitTParamCommandComment()
541 const comments::VerbatimBlockComment *C, const comments::FullComment *) { in visitVerbatimBlockComment()
549 const comments::VerbatimBlockLineComment *C, in visitVerbatimBlockLineComment()
550 const comments::FullComment *) { in visitVerbatimBlockLineComment()
[all …]
H A DRawCommentList.cpp187 comments::Lexer L(Allocator, Context.getDiagnostics(), in extractBriefText()
191 comments::BriefParser P(L, Context.getCommentCommandTraits()); in extractBriefText()
203 comments::FullComment *RawComment::parse(const ASTContext &Context, in parse()
209 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(), in parse()
213 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse()
349 comments::CommandTraits EmptyTraits(Allocator, DefOpts); in getFormattedText()
365 comments::Token Tok; in getFormattedText()
369 if (Tok.is(comments::tok::eof)) in getFormattedText()
371 if (Tok.is(comments::tok::newline)) { in getFormattedText()
402 for (L.lex(Tok); Tok.isNot(comments::tok::eof); L.lex(Tok)) { in getFormattedText()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Index/
H A DCommentToXML.h19 namespace comments {
30 void convertCommentToHTML(const comments::FullComment *FC,
34 void convertHTMLTagNodeToText(const comments::HTMLTagComment *HTC,
38 void convertCommentToXML(const comments::FullComment *FC,
/freebsd-12.1/contrib/ntp/lib/isc/
H A Dlex.c62 unsigned int comments; member
110 lex->comments = 0; in isc_lex_create()
154 return (lex->comments); in isc_lex_getcomments()
158 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments) { in isc_lex_setcomments() argument
165 lex->comments = comments; in isc_lex_setcomments()
477 ((lex->comments & ISC_LEXCOMMENT_DNSMASTERFILE) in isc_lex_gettoken()
484 (lex->comments & in isc_lex_gettoken()
492 ((lex->comments & ISC_LEXCOMMENT_SHELL) in isc_lex_gettoken()
682 (lex->comments & ISC_LEXCOMMENT_C) != 0) { in isc_lex_gettoken()
686 (lex->comments & ISC_LEXCOMMENT_CPLUSPLUS) != 0) { in isc_lex_gettoken()
/freebsd-12.1/contrib/byacc/
H A DNEW_FEATURES26 Line-end comments, as in BCPL, are permitted. Line-end comments
27 begin with // and end at the next end-of-line. Line-end comments are
28 permitted in C code; they are converted to C comments on output.
/freebsd-12.1/contrib/libucl/tests/basic/
H A Dcomments.in1 # This test is intended to check various comments in ucl
10 # Nested comments
/freebsd-12.1/contrib/gcc/
H A Dc-ppoutput.c368 const cpp_token **comments) in cb_include() argument
376 if (comments != NULL) in cb_include()
378 while (*comments != NULL) in cb_include()
380 if ((*comments)->flags & PREV_WHITE) in cb_include()
382 cpp_output_token (*comments, print.outf); in cb_include()
383 ++comments; in cb_include()
/freebsd-12.1/contrib/binutils/binutils/
H A Dmcparse.y63 %type<ustr> alias_name token lines comments
76 | comments
297 comments: MCCOMMENT { $$ = $1; }
298 | comments MCCOMMENT
/freebsd-12.1/contrib/libucl/
H A DChangeLog.md43 - Allow to save comments and macros when parsing UCL documents
67 …cl_object_emit_full` now accepts additional argument `comments` that could be used to emit comment…
/freebsd-12.1/crypto/openssh/
H A Dauthfd.c275 (idl->comments = calloc(num, sizeof(*idl->comments))) == NULL) { in ssh_fetch_identitylist()
281 &(idl->comments[i]))) != 0) { in ssh_fetch_identitylist()
312 if (idl->comments != NULL) in ssh_free_identitylist()
313 free(idl->comments[i]); in ssh_free_identitylist()
/freebsd-12.1/contrib/unbound/validator/
H A Dval_anchor.c531 readkeyword_bindfile(FILE* in, sldns_buffer* buf, int* line, int comments) in readkeyword_bindfile() argument
536 if(comments && c == '#') { /* # blabla */ in readkeyword_bindfile()
540 } else if(comments && c=='/' && numdone>0 && /* /_/ bla*/ in readkeyword_bindfile()
548 } else if(comments && c=='*' && numdone>0 && /* /_* bla *_/ */ in readkeyword_bindfile()
646 int comments = 1; in process_bind_contents() local
650 while((rdlen=readkeyword_bindfile(in, buf, line, comments))) { in process_bind_contents()
660 comments = 0; in process_bind_contents()
670 comments = 1; in process_bind_contents()
672 comments = !comments; in process_bind_contents()
697 comments = 1; in process_bind_contents()
H A Dautotrust.c170 char* comments = comment; in parse_comments() local
183 *comments = *str; in parse_comments()
184 comments++; in parse_comments()
187 *comments = '\0'; in parse_comments()
189 comments = comment; in parse_comments()
193 if (pos >= (int) strlen(comments)) in parse_comments()
223 if (pos >= (int) strlen(comments)) in parse_comments()
233 comments += pos; in parse_comments()
239 if (pos >= (int) strlen(comments)) in parse_comments()
247 comments += pos; in parse_comments()
[all …]
/freebsd-12.1/usr.bin/indent/tests/
H A DMakefile7 ${PACKAGE}FILES+= comments.0
8 ${PACKAGE}FILES+= comments.0.stdout
/freebsd-12.1/usr.bin/m4/tests/
H A DMakefile9 ${PACKAGE}FILES+= comments.m4
27 ${PACKAGE}FILES+= regress.comments.out
/freebsd-12.1/usr.sbin/lpr/chkprintcap/
H A Dskimprintcap.c142 skinf->comments++; in skim_printcap()
260 skinf->lines, skinf->comments, skinf->entries, pcap_fname); in skim_printcap()
/freebsd-12.1/contrib/libucl/include/
H A Ducl.h1181 UCL_EXTERN const ucl_object_t * ucl_comments_find (const ucl_object_t *comments,
1191 UCL_EXTERN bool ucl_comments_move (ucl_object_t *comments,
1200 UCL_EXTERN void ucl_comments_add (ucl_object_t *comments,
1286 const ucl_object_t *comments; member
1322 const ucl_object_t *comments);
/freebsd-12.1/contrib/tzdata/
H A Dchecktab.awk65 comments = $4
80 tz2comments[tz] = comments
/freebsd-12.1/contrib/libucl/src/
H A Ducl_emitter.c383 if (ctx->comments && ctx->id == UCL_EMIT_CONFIG) { in ucl_emitter_common_elt()
384 comment = ucl_object_lookup_len (ctx->comments, (const char *)&obj, in ucl_emitter_common_elt()
659 const ucl_object_t *comments) in ucl_object_emit_full() argument
671 my_ctx.comments = comments; in ucl_object_emit_full()
/freebsd-12.1/contrib/gcc/config/i386/
H A Dt-sol27 # Apparently Sun believes that assembler files don't need comments, because no
9 # the comments with sed. This bug may only be in the Early Access releases.

12345678910>>...23