Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 25 of 43) sorted by relevance

12

/bionic/libc/bionic/
Derr.c42 va_list ap; in err() local
44 va_start(ap, fmt); in err()
45 verr(eval, fmt, ap); in err()
46 va_end(ap); in err()
52 va_list ap; in errx() local
54 va_start(ap, fmt); in errx()
55 verrx(eval, fmt, ap); in errx()
56 va_end(ap); in errx()
60 verr(int eval, const char *fmt, va_list ap) in verr() argument
67 (void)vfprintf(stderr, fmt, ap); in verr()
[all …]
Dioctl.c34 va_list ap; in ioctl() local
37 va_start(ap, request); in ioctl()
38 arg = va_arg(ap, void *); in ioctl()
39 va_end(ap); in ioctl()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dexec.c48 va_list ap; in execl() local
52 va_start(ap, arg); in execl()
54 while (va_arg(ap, char *) != NULL) in execl()
56 va_end(ap); in execl()
62 va_start(ap, arg); in execl()
65 while ((argv[n] = va_arg(ap, char *)) != NULL) in execl()
67 va_end(ap); in execl()
74 va_list ap; in execle() local
78 va_start(ap, arg); in execle()
80 while (va_arg(ap, char *) != NULL) in execle()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dscanf.c42 va_list ap; in scanf() local
44 va_start(ap, fmt); in scanf()
45 ret = vfscanf(stdin, fmt, ap); in scanf()
46 va_end(ap); in scanf()
Dprintf.c42 va_list ap; in printf() local
44 va_start(ap, fmt); in printf()
45 ret = vfprintf(stdout, fmt, ap); in printf()
46 va_end(ap); in printf()
Dwprintf.c42 va_list ap; in wprintf() local
44 va_start(ap, fmt); in wprintf()
45 ret = vfwprintf(stdout, fmt, ap); in wprintf()
46 va_end(ap); in wprintf()
Dfprintf.c42 va_list ap; in fprintf() local
44 va_start(ap, fmt); in fprintf()
45 ret = vfprintf(fp, fmt, ap); in fprintf()
46 va_end(ap); in fprintf()
Dwscanf.c36 va_list ap; in wscanf() local
39 va_start(ap, fmt); in wscanf()
40 r = vfwscanf(stdin, fmt, ap); in wscanf()
41 va_end(ap); in wscanf()
Dfscanf.c42 va_list ap; in fscanf() local
44 va_start(ap, fmt); in fscanf()
45 ret = vfscanf(fp, fmt, ap); in fscanf()
46 va_end(ap); in fscanf()
Ddprintf.c41 va_list ap; in dprintf() local
44 va_start(ap, fmt); in dprintf()
45 ret = vdprintf(fd, fmt, ap); in dprintf()
46 va_end(ap); in dprintf()
Dfwprintf.c42 va_list ap; in fwprintf() local
44 va_start(ap, fmt); in fwprintf()
45 ret = vfwprintf(fp, fmt, ap); in fwprintf()
46 va_end(ap); in fwprintf()
Dswscanf.c36 va_list ap; in swscanf() local
39 va_start(ap, fmt); in swscanf()
40 r = vswscanf(str, fmt, ap); in swscanf()
41 va_end(ap); in swscanf()
Dfwscanf.c36 va_list ap; in fwscanf() local
39 va_start(ap, fmt); in fwscanf()
40 r = vfwscanf(fp, fmt, ap); in fwscanf()
41 va_end(ap); in fwscanf()
Dswprintf.c38 va_list ap; in swprintf() local
40 va_start(ap, fmt); in swprintf()
41 ret = vswprintf(s, n, fmt, ap); in swprintf()
42 va_end(ap); in swprintf()
Dsscanf.c52 va_list ap; in sscanf() local
62 va_start(ap, fmt); in sscanf()
63 ret = __svfscanf(&f, fmt, ap); in sscanf()
64 va_end(ap); in sscanf()
Dvprintf.c37 vprintf(const char *fmt, __va_list ap) in vprintf() argument
39 return (vfprintf(stdout, fmt, ap)); in vprintf()
Dvscanf.c37 vscanf(const char *fmt, __va_list ap) in vscanf() argument
40 return (vfscanf(stdin, fmt, ap)); in vscanf()
Dvwscanf.c34 vwscanf(const wchar_t * __restrict fmt, __va_list ap) in vwscanf() argument
37 return (vfwscanf(stdin, fmt, ap)); in vwscanf()
Dvwprintf.c39 vwprintf(const wchar_t * __restrict fmt, __va_list ap) in vwprintf() argument
41 return (vfwprintf(stdout, fmt, ap)); in vwprintf()
Dasprintf.c31 va_list ap; in asprintf() local
43 va_start(ap, fmt); in asprintf()
44 ret = __vfprintf(&f, fmt, ap); in asprintf()
45 va_end(ap); in asprintf()
Dvfwscanf.c102 __vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, __va_list ap) in __vfwscanf() argument
302 *va_arg(ap, signed char *) = nread; in __vfwscanf()
304 *va_arg(ap, short *) = nread; in __vfwscanf()
306 *va_arg(ap, long *) = nread; in __vfwscanf()
308 *va_arg(ap, ssize_t *) = nread; in __vfwscanf()
310 *va_arg(ap, ptrdiff_t *) = nread; in __vfwscanf()
312 *va_arg(ap, long long *) = nread; in __vfwscanf()
314 *va_arg(ap, intmax_t *) = nread; in __vfwscanf()
316 *va_arg(ap, int *) = nread; in __vfwscanf()
357 p = va_arg(ap, wchar_t *); in __vfwscanf()
[all …]
Dvfscanf.c99 __svfscanf(FILE *fp, const char *fmt0, __va_list ap) in __svfscanf() argument
276 *va_arg(ap, signed char *) = nread; in __svfscanf()
278 *va_arg(ap, short *) = nread; in __svfscanf()
280 *va_arg(ap, long *) = nread; in __svfscanf()
282 *va_arg(ap, ssize_t *) = nread; in __svfscanf()
284 *va_arg(ap, ptrdiff_t *) = nread; in __svfscanf()
286 *va_arg(ap, long long *) = nread; in __svfscanf()
288 *va_arg(ap, intmax_t *) = nread; in __svfscanf()
290 *va_arg(ap, int *) = nread; in __svfscanf()
344 wcp = va_arg(ap, wchar_t *); in __svfscanf()
[all …]
/bionic/libc/stdio/
Dsprintf.c50 va_list ap; in sprintf() local
59 va_start(ap, fmt); in sprintf()
60 ret = __vfprintf(&f, fmt, ap); in sprintf()
61 va_end(ap); in sprintf()
Dsnprintf.c44 va_list ap; in snprintf() local
63 va_start(ap, fmt); in snprintf()
64 ret = __vfprintf(&f, fmt, ap); in snprintf()
65 va_end(ap); in snprintf()
/bionic/libc/dns/net/
Dnsdispatch.c102 va_list ap; in nsdispatch() local
129 va_start(ap, defaults); in nsdispatch()
130 result = (*cb)(retval, cb_data, ap); in nsdispatch()
131 va_end(ap); in nsdispatch()

12