/sendmail/include/sm/ |
H A D | varargs.h | 22 # 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 D | vprintf.c | 26 ** 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 D | stringf.c | 51 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 D | fprintf.c | 51 SM_VA_START(ap, fmt); 52 ret = sm_io_vfprintf(fp, timeout, fmt, ap); 53 SM_VA_END(ap);
|
H A D | fscanf.c | 51 SM_VA_START(ap, fmt); 52 ret = sm_vfscanf(fp, timeout, fmt, ap); 53 SM_VA_END(ap);
|
H A D | exc.c | 208 ** 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 D | snprintf.c | 64 SM_VA_START(ap, fmt); 82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap); 85 SM_VA_END(ap);
|
H A D | sscanf.c | 98 SM_VA_START(ap, fmt); 99 ret = sm_vfscanf(&fake, SM_TIME_FOREVER, fmt, ap); 100 SM_VA_END(ap);
|
H A D | strl.c | 225 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 D | vfprintf.c | 87 ** 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 D | assert.c | 142 SM_VA_START(ap, fmt); 143 sm_vsnprintf(msg, sizeof msg, fmt, ap); 144 SM_VA_END(ap);
|
H A D | vfscanf.c | 101 ** 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 D | vasprintf.c | 43 ** ap -- variable argument list 56 sm_vasprintf(str, fmt, ap) 82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
|
H A D | vsnprintf.c | 31 ** 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 D | debug.c | 157 SM_VA_START(ap, fmt); 158 sm_io_vfprintf(SmDebugOutput, SmDebugOutput->f_timeout, fmt, ap); 159 SM_VA_END(ap);
|
H A D | mpeix.c | 207 va_list ap; local 209 va_start(ap, cmd); 210 arg = va_arg(ap, void *); 211 va_end(ap);
|
H A D | stdio.c | 488 SM_VA_START(ap, flags); 489 mode = (MODE_T) SM_VA_ARG(ap, int); 490 SM_VA_END(ap);
|
/sendmail/libsmutil/ |
H A D | err.c | 35 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 D | bitdomain.c | 212 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 D | err.c | 179 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 D | domain.c | 773 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 D | timers.c | 42 SM_VA_START(ap, msg); 43 (void) sm_vsnprintf(buf, sizeof(buf), msg, ap); 44 SM_VA_END(ap);
|
H A D | main.c | 3397 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 D | smfi.c | 683 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 D | rmail.c | 426 SM_VA_START(ap, fmt); 428 (void) sm_io_vfprintf(smioerr, SM_TIME_DEFAULT, fmt, ap); 429 SM_VA_END(ap);
|