Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DJSONNodeDumper.h119 public comments::ConstCommentVisitor<JSONNodeDumper, void,
132 const comments::CommandTraits *Traits;
138 comments::ConstCommentVisitor<JSONNodeDumper, void,
190 const comments::CommandTraits *Traits) in JSONNodeDumper()
201 void Visit(const comments::Comment *C, const comments::FullComment *FC);
332 void visitTextComment(const comments::TextComment *C,
333 const comments::FullComment *);
337 const comments::FullComment *);
339 const comments::FullComment *);
341 const comments::FullComment *);
[all …]
H A DTextNodeDumper.h129 public comments::ConstCommentVisitor<TextNodeDumper, void,
154 const comments::CommandTraits *Traits = nullptr;
169 void Visit(const comments::Comment *C, const comments::FullComment *FC);
208 void visitTextComment(const comments::TextComment *C,
209 const comments::FullComment *);
211 const comments::FullComment *);
213 const comments::FullComment *);
215 const comments::FullComment *);
217 const comments::FullComment *);
226 const comments::FullComment *);
[all …]
H A DASTNodeTraverser.h64 public comments::ConstCommentVisitor<Derived, void,
65 const comments::FullComment *>,
102 if (const comments::FullComment *Comment = in Visit()
259 void Visit(const comments::Comment *C, const comments::FullComment *FC) { in Visit()
265 comments::ConstCommentVisitor<Derived, void, in Visit()
266 const comments::FullComment *>::visit(C, in Visit()
268 for (comments::Comment::child_iterator I = C->child_begin(), in Visit()
H A DRawCommentList.h28 namespace comments {
143 comments::FullComment *parse(const ASTContext &Context,
/freebsd-13.1/contrib/libucl/tests/
H A Dtest_basic.c36 ucl_object_t *obj, *comments = NULL; in main() local
195 comments = ucl_object_ref (ucl_parser_get_comments (parser)); in main()
239 if (comments) { in main()
240 ucl_object_unref (comments); in main()
241 comments = NULL; in main()
261 func, comments); in main()
265 func, comments); in main()
270 func, comments); in main()
274 func, comments); in main()
295 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()
277 assert (ucl_object_emit_full (obj, UCL_EMIT_CONFIG, fn, comments)); in main()
281 ucl_object_unref (comments); in main()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Index/
H A DCommentToXML.h17 namespace comments {
28 void convertCommentToHTML(const comments::FullComment *FC,
32 void convertHTMLTagNodeToText(const comments::HTMLTagComment *HTC,
36 void convertCommentToXML(const comments::FullComment *FC,
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
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()
369 comments::CommandTraits EmptyTraits(Allocator, DefOpts); in getFormattedText()
385 comments::Token Tok; in getFormattedText()
389 if (Tok.is(comments::tok::eof)) in getFormattedText()
391 if (Tok.is(comments::tok::newline)) { in getFormattedText()
422 for (L.lex(Tok); Tok.isNot(comments::tok::eof); L.lex(Tok)) { in getFormattedText()
[all …]
H A DJSONNodeDumper.cpp1559 if (const comments::CommandInfo *Info = in getCommentCommandName()
1571 const comments::InlineCommandComment *C, const comments::FullComment *) { in visitInlineCommandComment()
1601 const comments::HTMLStartTagComment *C, const comments::FullComment *) { in visitHTMLStartTagComment()
1616 const comments::HTMLEndTagComment *C, const comments::FullComment *) { in visitHTMLEndTagComment()
1621 const comments::BlockCommandComment *C, const comments::FullComment *) { in visitBlockCommandComment()
1633 const comments::ParamCommandComment *C, const comments::FullComment *FC) { in visitParamCommandComment()
1635 case comments::ParamCommandComment::In: in visitParamCommandComment()
1656 const comments::TParamCommandComment *C, const comments::FullComment *FC) { in visitTParamCommandComment()
1671 const comments::VerbatimBlockComment *C, const comments::FullComment *) { in visitVerbatimBlockComment()
1678 const comments::FullComment *) { in visitVerbatimBlockLineComment()
[all …]
H A DTextNodeDumper.cpp747 const comments::CommandInfo *Info = in getCommandName()
767 const comments::InlineCommandComment *C, const comments::FullComment *) { in visitInlineCommandComment()
792 const comments::HTMLStartTagComment *C, const comments::FullComment *) { in visitHTMLStartTagComment()
806 const comments::HTMLEndTagComment *C, const comments::FullComment *) { in visitHTMLEndTagComment()
811 const comments::BlockCommandComment *C, const comments::FullComment *) { in visitBlockCommandComment()
818 const comments::ParamCommandComment *C, const comments::FullComment *FC) { in visitParamCommandComment()
839 const comments::TParamCommandComment *C, const comments::FullComment *FC) { in visitTParamCommandComment()
859 const comments::VerbatimBlockComment *C, const comments::FullComment *) { in visitVerbatimBlockComment()
867 const comments::VerbatimBlockLineComment *C, in visitVerbatimBlockLineComment()
868 const comments::FullComment *) { in visitVerbatimBlockLineComment()
[all …]
/freebsd-13.1/contrib/tzdata/
H A Dchecktab.awk64 comments = input_comments[zone_NR] = $4
103 comments = input_comments[i]
112 if (used_max <= 1 && comments) {
114 zone_table, i, comments \
117 } else if (1 < cc_used[cc] && !comments) {
/freebsd-13.1/contrib/libucl/tests/basic/
H A Dcomments.in1 # This test is intended to check various comments in ucl
10 # Nested comments
H A D14.in1 # Bad comments case
/freebsd-13.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-13.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-13.1/crypto/openssh/
H A Dauthfd.c308 (idl->comments = calloc(num, sizeof(*idl->comments))) == NULL) { in ssh_fetch_identitylist()
314 &(idl->comments[i]))) != 0) { in ssh_fetch_identitylist()
345 if (idl->comments != NULL) in ssh_free_identitylist()
346 free(idl->comments[i]); in ssh_free_identitylist()
349 free(idl->comments); in ssh_free_identitylist()
/freebsd-13.1/usr.bin/indent/tests/
H A DMakefile7 ${PACKAGE}FILES+= comments.0
8 ${PACKAGE}FILES+= comments.0.stdout
/freebsd-13.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()
/freebsd-13.1/usr.bin/m4/tests/
H A DMakefile9 ${PACKAGE}FILES+= comments.m4
27 ${PACKAGE}FILES+= regress.comments.out
/freebsd-13.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()
H A Dskimprintcap.h39 int comments; member
/freebsd-13.1/contrib/libucl/include/
H A Ducl.h1267 UCL_EXTERN const ucl_object_t * ucl_comments_find (const ucl_object_t *comments,
1277 UCL_EXTERN bool ucl_comments_move (ucl_object_t *comments,
1286 UCL_EXTERN void ucl_comments_add (ucl_object_t *comments,
1442 const ucl_object_t *comments; member
1478 const ucl_object_t *comments);
/freebsd-13.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()
667 const ucl_object_t *comments) in ucl_object_emit_full() argument
679 my_ctx.comments = comments; in ucl_object_emit_full()
/freebsd-13.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-13.1/libexec/rc/rc.d/
H A Drctl22 while read var comments

12345678910>>...19