Searched defs:comment (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libpp/
H A Dppcomment.c25 * common preprocessor comment handler
31 ppcomment(char* head, char* comment, char* tail, int line) argument
34 ppprintf("%s%-.*s%s", head, MAXTOKEN - 4, comment, tail);
H A Dppargs.c169 pplint(char* head, char* comment, char* tail, int line) argument
172 if (strmatch(comment, "(ARGSUSED|PRINTFLIKE|PROTOLIB|SCANFLIKE|VARARGS)*([0-9])|CONSTCOND|CONSTANTCOND|CONSTANTCONDITION|EMPTY|FALLTHRU|FALLTHROUGH|LINTLIBRARY|LINTED*|NOTREACHED"))
174 strncopy(pp.token, comment, MAXTOKEN);
H A Dppproto.c91 char cc[3]; /* beg mid end comment char */
2168 pppopen(char* file, int fd, char* notice, char* options, char* package, char* comment, int flags) argument
2239 if (!comment)
2240 comment = "/*";
2241 if (!(proto->cc[0] = comment[0]))
2243 else if (comment[1])
2245 proto->cc[1] = comment[1];
2246 proto->cc[2] = comment[2] ? comment[2] : comment[
[all...]
/ast/src/cmd/proto/
H A Dproto.c45 "[c:comment?\ab[m[e]]]]\a are the beginning, middle, and end comment"
49 " (the empty string) then the comment style is determined from the"
50 " input \afile\a suffix; no notice is prepended if the comment"
53 " comment.]"
76 "[l:license?Generate a license notice comment at the top of the output"
146 "[S:shell?Equivalent to \b--comment=\"#\".]"
291 proto(char* file, char* license, char* options, char* package, char* copy, char* comment, int flags) argument
304 else if (b = pppopen(file, 0, license, options, package, comment, flags))
404 char comment[ member in struct:Sufcom_s
452 type(register char* file, char* comment) argument
480 char* comment = 0; local
[all...]
/ast/src/cmd/re/
H A Dtestfmt.c63 H(" Input lines may be blank, a comment beginning with #, or a test\n");
75 H(" : comment comment copied to output\n");
81 H(" Field 4: optional comment appended to the report.\n");
160 report(char* comment, char* fun, char* re, char* msg, int expand) argument
173 sfprintf(sfstdout, " %s", comment);
174 if (msg && comment[strlen(comment)-1] != '\n')
179 bad(char* comment, char* re, char* s, int expand) argument
182 report(comment, Ni
[all...]
H A Dtestfnmatch.c82 H(" Input lines may be blank, a comment beginning with #, or a test\n");
112 H(" : comment comment copied to output\n");
124 H(" Field 5: optional comment appended to the report.\n");
251 report(char* comment, char* re, char* s, char* msg, int unspecified, int expand) argument
273 printf(" %s %s", state.which, comment);
274 if (msg && comment[strlen(comment)-1] != '\n')
292 bad(char* comment, char* re, char* s, int expand) argument
295 report(comment, r
[all...]
H A Dtestmatch.c92 H(" Input lines may be blank, a comment beginning with #, or a test\n");
122 H(" : comment comment copied to output\n");
139 H(" Field 5: optional comment appended to the report.\n");
280 report(char* comment, char* fun, char* re, char* s, char* msg, int flags, int unspecified, int expand) argument
305 if (comment[strlen(comment)-1] == '\n')
306 printf(" %s", comment);
309 printf(" %s: ", comment);
329 bad(char* comment, cha argument
[all...]
H A Dtestglob.c107 H(" Input lines may be blank, a comment beginning with #, or a test\n");
142 H(" : comment comment copied to output\n");
151 H(" Field 5: optional comment appended to the report.\n");
325 report(char* comment, char* pat, char* msg, int flags, int unspecified) argument
344 printf(" %s %s", state.which, comment);
345 if (msg && comment[strlen(comment)-1] != '\n')
362 bad(char* comment, char* pat) argument
365 report(comment, pa
[all...]
H A Dtestregex.c199 T(" Input lines may be blank, a comment beginning with #, or a test\n");
258 T(" : comment comment copied as output NOTE\n");
259 T(" :comment:test :comment: ignored\n");
260 T(" N[OTE] comment comment copied as output NOTE\n");
261 T(" T[EST] comment comment\n");
287 T(" Field 5: optional comment appende
654 report(char* comment, char* fun, char* re, char* s, int len, char* msg, int flags, unsigned long test) argument
717 bad(char* comment, char* re, char* s, int len, unsigned long test) argument
[all...]
/ast/src/cmd/tests/
H A Ddate.c104 report(char* comment, char* str, char* pat, char* rem, int flags) argument
128 if (comment)
130 sfprintf(sfstdout, " %s", comment);
131 comment = 0;
141 if (comment)
142 sfprintf(sfstdout, " %s", comment);
147 bad(char* comment, char* str, char* pat) argument
150 report(comment, str, pat, NiL, 0);
/ast/src/lib/libpz/
H A Dpzsplit.c74 char* comment; member in struct:__anon367
H A Dpzip.h144 const char* comment; /* zipped data comment */ member in struct:Pzdisc_s
/ast/src/lib/libz/
H A Dzlib.h119 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */ member in struct:gz_header_s
120 uInt comm_max; /* space at comment (only when reading header) */
507 file name, no extra data, no comment, no modification time (set to zero),
675 deflate(). The text, time, os, extra field, name, and comment information
678 caller must assure that, if not Z_NULL, name and comment are terminated with
686 the time set to zero, and os set to 255, with no extra, name, or comment
836 comment is not Z_NULL, then up to comm_max characters are written there,
838 any of extra, name, or comment are not Z_NULL and the respective field is
/ast/src/cmd/paxlib/calib/
H A Dcalib.c384 char comment[CALIB_LINE + 1]; local
405 comment[0] = from[0] = to[0] = 0;
693 if (!streq((char*)b, comment))
694 (*pax->errorf)(NiL, pax, 0, "comment %s \"%s\"", error_info.file, strcpy(comment, (char*)b));
/ast/src/lib/libast/port/
H A Dastlicense.c28 * generate a license comment -- see proto(1)
101 #define COMMENT(x,b,s,u) comment(x,b,s,sizeof(s)-1,u)
237 * center and copy comment line s to p
247 comment(Notice_t* notice, register Buffer_t* b, register char* s, register int n, int u) function
494 * read the license file and generate a comment in p, length size
807 comment(&notice, &buf, NiL, 1, 0);
808 comment(&notice, &buf, NiL, 0, 0);
814 comment(&notice, &buf, BUF(&tmp), USE(&tmp), 0);
819 comment(&notice, &buf, BUF(&tmp), USE(&tmp), 0);
827 comment(
[all...]
/ast/src/cmd/jcl/
H A Djcm.c34 "[h:comment?Include H card comments in the generated output.]"
165 int comment; member in struct:State_s
685 state.comment = 1;
806 if (state.comment)
/ast/src/cmd/pax/
H A Dpaxlib.h171 Paxvalue_t comment; /* header comment */ member in struct:Paxarchive_s::__anon189
/ast/src/cmd/INIT/
H A Dproto.c389 char* checkpoint; int constack; struct ppinstk* in; char* addp; char* args; char* addbuf; char* catbuf; char* hdrbuf; char* hidebuf; char* path; char* tmpbuf; char* valbuf; char* optflags; int lastout; char* include; char* prefix; struct ppmember* member; int hidden; int hiding; int level; struct { int input; int output; } pool; struct { long ro_state; long ro_mode; long ro_option; long ro_op[2]; int on; char* symtab; } reset; int truncate; struct ppmacstk* macp; char* maxmac; char* mactop; char* toknxt; long* control; long* maxcon; struct oplist* chop; struct ppfile* insert; struct ppfile* original; struct ppdirs* found; int vendor; char* dirtab; char* strtab; PPBUILTIN builtin; PPCOMMENT comment; PPINCREF incref; PPLINESYNC linesync; PPLINESYNC olinesync; PPMACREF macref; PPOPTARG optarg; PPPRAGMA pragma; struct counter counter; char funbuf[256]; member in struct:ppglobals
1606 comment __PARAM__((Notice_t* notice, register Buffer_t* b, register char* s, register int n, int u), (notice, b, s, n, u)) __OTORP__(Notice_t* notice; register Buffer_t* b; register char* s; register int n; int u;){
2161 comment(&notice, &buf, ((char*)0), 1, 0);
2162 comment(&notice, &buf, ((char*)0), 0, 0);
2168 comment(&notice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp)->buf,( &tmp)->siz), 0);
2173 comment(&notice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp)->buf,( &tmp)->siz), 0);
2175 comment( &notice, &buf, "All Rights Reserved",sizeof( "All Rights Reserved")-1, 0);
2181 comment(&notice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp)->buf,( &tmp)->siz), 0);
2191 comment(&notice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp)->buf,( &tmp)->siz), 0);
2211 comment(
4969 char comment[4]; member in struct:Sufcom_s
5017 __OTORP__(register char* file; char* comment;) argument
5043 char* comment = 0; local
[all...]

Completed in 43 milliseconds