Searched refs:ap (Results 1 - 25 of 33) sorted by relevance

12

/sendmail/include/sm/
H A Dvarargs.h22 # define SM_VA_START(ap, f) va_start(ap, f)
26 # define SM_VA_START(ap, f) va_start(ap)
41 # define SM_VA_LOCAL_DECL va_list ap;
42 # define SM_VA_ARG(ap, type) va_arg(ap, type)
43 # define SM_VA_END(ap) va_end(ap)
/sendmail/libsm/
H A Dvprintf.c26 ** ap -- the variable number of args to be used for output
33 sm_vprintf(timeout, fmt, ap)
38 return sm_io_vfprintf(smiostdout, timeout, fmt, ap);
H A Dstringf.c51 SM_VA_START(ap, fmt);
52 s = sm_vstringf_x(fmt, ap);
53 SM_VA_END(ap);
62 ** ap -- arguments for format.
72 sm_vstringf_x(fmt, ap)
78 sm_vasprintf(&s, fmt, ap);
H A Dfprintf.c51 SM_VA_START(ap, fmt);
52 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
53 SM_VA_END(ap);
H A Dfscanf.c51 SM_VA_START(ap, fmt);
52 ret = sm_vfscanf(fp, timeout, fmt, ap);
53 SM_VA_END(ap);
H A Dexc.c208 ** ap -- varargs.
235 sm_exc_vnew_x(etype, ap)
237 va_list SM_NONVOLATILE ap;
280 argv[i].v_int = SM_VA_ARG(ap, int);
283 argv[i].v_long = SM_VA_ARG(ap, long);
286 argv[i].v_exc = SM_VA_ARG(ap, SM_EXC_T*);
289 argv[i].v_str = SM_VA_ARG(ap, char*);
293 argv[i].v_str = SM_VA_ARG(ap, char*);
324 argv[si].v_str = sm_vstringf_x(fmt, ap);
336 ** Scan ap an
[all...]
H A Dsnprintf.c64 SM_VA_START(ap, fmt);
82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
85 SM_VA_END(ap);
H A Dsscanf.c98 SM_VA_START(ap, fmt);
99 ret = sm_vfscanf(&fake, SM_TIME_FOREVER, fmt, ap);
100 SM_VA_END(ap);
H A Dstrl.c225 SM_VA_START(ap, n);
231 i += strlen(SM_VA_ARG(ap, char *));
232 SM_VA_END(ap);
241 str = SM_VA_ARG(ap, char *);
254 j += strlen(SM_VA_ARG(ap, char *));
255 SM_VA_END(ap);
259 SM_VA_END(ap);
H A Dvfprintf.c87 ** ap -- vectors of data units used for formating
98 sm_bprintf(fp, fmt, ap)
129 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
165 ** ap -- vectors with data units for formating
173 sm_io_vfprintf(fp, timeout, fmt0, ap)
256 (flags&QUADINT ? SM_VA_ARG(ap, LONGLONG_T) : \
261 (flags&QUADINT ? SM_VA_ARG(ap, ULONGLONG_T) : \
304 (((argtable != NULL) ? (void) (ap = argtable[nextarg]) : (void) 0), \
305 nextarg++, SM_VA_ARG(ap, type))
309 (nextarg++, SM_VA_ARG(ap, typ
[all...]
H A Dassert.c142 SM_VA_START(ap, fmt);
143 sm_vsnprintf(msg, sizeof msg, fmt, ap);
144 SM_VA_END(ap);
H A Dvfscanf.c101 ** ap -- vectors for memory location for storing data units
109 sm_vfscanf(fp, timeout, fmt0, ap)
113 va_list SM_NONVOLATILE ap;
310 *SM_VA_ARG(ap, short *) = nread;
312 *SM_VA_ARG(ap, long *) = nread;
314 *SM_VA_ARG(ap, int *) = nread;
398 (void *) SM_VA_ARG(ap, char *),
434 p0 = p = SM_VA_ARG(ap, char *);
478 p0 = p = SM_VA_ARG(ap, char *);
633 *SM_VA_ARG(ap, voi
[all...]
H A Dvasprintf.c43 ** ap -- variable argument list
56 sm_vasprintf(str, fmt, ap)
82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
H A Dvsnprintf.c31 ** ap -- data unit vectors for use by 'fmt'
41 sm_vsnprintf(str, n, fmt, ap)
75 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
H A Ddebug.c157 SM_VA_START(ap, fmt);
158 sm_io_vfprintf(SmDebugOutput, SmDebugOutput->f_timeout, fmt, ap);
159 SM_VA_END(ap);
H A Dmpeix.c207 va_list ap; local
209 va_start(ap, cmd);
210 arg = va_arg(ap, void *);
211 va_end(ap);
H A Dstdio.c488 SM_VA_START(ap, flags);
489 mode = (MODE_T) SM_VA_ARG(ap, int);
490 SM_VA_END(ap);
/sendmail/libsmutil/
H A Derr.c35 SM_VA_START(ap, msg);
36 (void) vfprintf(stderr, m, ap);
37 SM_VA_END(ap);
59 SM_VA_START(ap, msg);
60 (void) vfprintf(stderr, m, ap);
61 SM_VA_END(ap);
/sendmail/contrib/
H A Dbitdomain.c212 register u_char *eom, *ap; local
269 ap = (u_char *) &answer + sizeof(HEADER);
273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ)
275 if ((ret = dn_skipname(ap, eom)) < 0)
281 for (ancount = ntohs(hp->ancount); --ancount >= 0 && ap < eom; ap += n)
283 n = dn_expand((u_char *) &answer, eom, ap,
287 ap += n;
288 GETSHORT(type, ap);
289 ap
[all...]
/sendmail/sendmail/
H A Derr.c179 SM_VA_START(ap, fmt);
180 errtxt = fmtmsg(MsgBuf, (char *) NULL, p, enhsc, save_errno, fmt, ap);
181 SM_VA_END(ap);
298 SM_VA_START(ap, fmt);
299 errtxt = fmtmsg(MsgBuf, CurEnv->e_to, "550", enhsc, 0, fmt, ap);
300 SM_VA_END(ap);
385 SM_VA_START(ap, fmt);
386 errtxt = fmtmsg(MsgBuf, CurEnv->e_to, "550", enhsc, 0, fmt, ap);
387 SM_VA_END(ap);
460 SM_VA_START(ap, ms
[all...]
H A Ddomain.c773 register unsigned char *eom, *ap; local
966 ap = (unsigned char *) &answer + HFIXEDSZ;
972 ap += ret + QFIXEDSZ)
974 if ((ret = dn_skipname(ap, eom)) < 0)
986 --ancount >= 0 && ap < eom;
987 ap += n)
989 n = dn_expand((unsigned char *) &answer, eom, ap,
993 ap += n;
994 GETSHORT(type, ap);
995 ap
[all...]
H A Dtimers.c42 SM_VA_START(ap, msg);
43 (void) sm_vsnprintf(buf, sizeof(buf), msg, ap);
44 SM_VA_END(ap);
H A Dmain.c3397 register char *ap; local
3400 while ((ap = *++argv) != NULL)
3403 if (ap[0] != '-' || ap[1] == '-')
3407 if ((ap[1] == 'Q' && ap[2] == '.') ||
3408 (ap[1] == 'Q' && argv[1] != NULL &&
3417 op = strchr(OPTIONS, ap[1]);
3418 if (op != NULL && *++op == ':' && ap[2] == '\0' &&
3419 ap[
[all...]
/sendmail/libmilter/
H A Dsmfi.c683 SM_VA_START(ap, xcode);
684 while ((txt = SM_VA_ARG(ap, char *)) != NULL)
701 SM_VA_END(ap);
713 SM_VA_START(ap, xcode);
714 txt = SM_VA_ARG(ap, char *);
718 while ((txt = SM_VA_ARG(ap, char *)) != NULL)
729 SM_VA_END(ap);
/sendmail/rmail/
H A Drmail.c426 SM_VA_START(ap, fmt);
428 (void) sm_io_vfprintf(smioerr, SM_TIME_DEFAULT, fmt, ap);
429 SM_VA_END(ap);

Completed in 37 milliseconds

12