Home
last modified time | relevance | path

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

12

/bionic/libc/stdio/
Dprintf.c41 va_list ap; in printf() local
43 va_start(ap, fmt); in printf()
44 ret = vfprintf(stdout, fmt, ap); in printf()
45 va_end(ap); in printf()
Dscanf.c41 va_list ap; in scanf() local
43 va_start(ap, fmt); in scanf()
44 ret = vfscanf(stdin, fmt, ap); in scanf()
45 va_end(ap); in scanf()
Dfscanf.c41 va_list ap; in fscanf() local
43 va_start(ap, fmt); in fscanf()
44 ret = vfscanf(fp, fmt, ap); in fscanf()
45 va_end(ap); in fscanf()
Dfprintf.c41 va_list ap; in fprintf() local
43 va_start(ap, fmt); in fprintf()
44 ret = vfprintf(fp, fmt, ap); in fprintf()
45 va_end(ap); in fprintf()
Dsprintf.c49 va_list ap; in sprintf() local
58 va_start(ap, fmt); in sprintf()
59 ret = vfprintf(&f, fmt, ap); in sprintf()
60 va_end(ap); in sprintf()
Dsscanf.c51 va_list ap; in sscanf() local
61 va_start(ap, fmt); in sscanf()
62 ret = vfscanf(&f, fmt, ap); in sscanf()
63 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()
Dsnprintf.c43 va_list ap; in snprintf() local
62 va_start(ap, fmt); in snprintf()
63 ret = vfprintf(&f, fmt, ap); in snprintf()
64 va_end(ap); in snprintf()
Dasprintf.c30 va_list ap; in asprintf() local
40 va_start(ap, fmt); in asprintf()
41 ret = vfprintf(&f, fmt, ap); in asprintf()
42 va_end(ap); in asprintf()
Dvfscanf.c101 VFSCANF(FILE *fp, const char *fmt0, __va_list ap) in VFSCANF() argument
274 *va_arg(ap, __signed char *) = nread; in VFSCANF()
276 *va_arg(ap, short *) = nread; in VFSCANF()
278 *va_arg(ap, long *) = nread; in VFSCANF()
280 *va_arg(ap, ssize_t *) = nread; in VFSCANF()
282 *va_arg(ap, ptrdiff_t *) = nread; in VFSCANF()
284 *va_arg(ap, long long *) = nread; in VFSCANF()
286 *va_arg(ap, intmax_t *) = nread; in VFSCANF()
288 *va_arg(ap, int *) = nread; in VFSCANF()
360 size_t r = fread((void *)va_arg(ap, char *), 1, in VFSCANF()
[all …]
Dvsprintf.c45 vsprintf(char *str, const char *fmt, __va_list ap) in vsprintf() argument
56 ret = vfprintf(&f, fmt, ap); in vsprintf()
Dvsscanf.c47 vsscanf(const char *str, const char *fmt, __va_list ap) in vsscanf() argument
58 return (vfscanf(&f, fmt, ap)); in vsscanf()
Dvsnprintf.c40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) in vsnprintf() argument
61 ret = vfprintf(&f, fmt, ap); in vsnprintf()
Dvfprintf.c54 static void __find_arguments(const char *fmt0, va_list ap, va_list **argtable,
83 __sbprintf(FILE *fp, const char *fmt, va_list ap) in __sbprintf() argument
103 ret = vfprintf(&fake, fmt, ap); in __sbprintf()
159 vfprintf(FILE *fp, const char *fmt0, __va_list ap) in vfprintf() argument
295 (((argtable != NULL) ? (void)(ap = argtable[nextarg]) : (void)0), \ in vfprintf()
296 nextarg++, va_arg(ap, type)) in vfprintf()
308 return (__sbprintf(fp, fmt0, ap)); in vfprintf()
313 va_copy(orgap, ap); in vfprintf()
861 __find_arguments(const char *fmt0, va_list ap, va_list **argtable, in __find_arguments() argument
1101 va_copy((*argtable)[n], ap); in __find_arguments()
[all …]
Dvasprintf.c26 vasprintf(char **str, const char *fmt, __va_list ap) in vasprintf() argument
40 ret = vfprintf(&f, fmt, ap); in vasprintf()
/bionic/libc/bionic/
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()
Dlogd_write.c130 va_list ap) in __libc_android_log_vprint() argument
134 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __libc_android_log_vprint()
141 va_list ap; in __libc_android_log_print() local
144 va_start(ap, fmt); in __libc_android_log_print()
145 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __libc_android_log_print()
146 va_end(ap); in __libc_android_log_print()
154 va_list ap; in __libc_android_log_assert() local
157 va_start(ap, fmt); in __libc_android_log_assert()
158 vsnprintf(buf, LOG_BUF_SIZE, fmt, ap); in __libc_android_log_assert()
159 va_end(ap); in __libc_android_log_assert()
/bionic/libc/unistd/
Dfcntl.c35 va_list ap; in fcntl() local
38 va_start(ap, cmd); in fcntl()
39 arg = va_arg(ap, void *); in fcntl()
40 va_end(ap); in fcntl()
Dexec.c49 va_list ap; in execl() local
53 va_start(ap, arg); in execl()
55 while (va_arg(ap, char *) != NULL) in execl()
57 va_end(ap); in execl()
63 va_start(ap, arg); in execl()
66 while ((argv[n] = va_arg(ap, char *)) != NULL) in execl()
68 va_end(ap); in execl()
75 va_list ap; in execle() local
79 va_start(ap, arg); in execle()
81 while (va_arg(ap, char *) != NULL) in execle()
[all …]
Dsyslog.c61 va_list ap; in syslog() local
63 va_start(ap, fmt); in syslog()
64 vsyslog(pri, fmt, ap); in syslog()
65 va_end(ap); in syslog()
69 vsyslog(int pri, const char *fmt, va_list ap) in vsyslog() argument
71 vsyslog_r(pri, &sdata, fmt, ap); in vsyslog()
98 va_list ap; in syslog_r() local
100 va_start(ap, fmt); in syslog_r()
101 vsyslog_r(pri, data, fmt, ap); in syslog_r()
102 va_end(ap); in syslog_r()
[all …]
/bionic/libc/netbsd/net/
Dnsdispatch.c113 va_list ap; in nsdispatch() local
140 va_start(ap, defaults); in nsdispatch()
141 result = (*cb)(retval, cb_data, ap); in nsdispatch()
142 va_end(ap); in nsdispatch()
/bionic/libc/netbsd/
Dgethnamaddr.c140 va_list ap; in dprintf() local
142 va_start (ap, res); in dprintf()
143 vprintf(msg, ap); in dprintf()
144 va_end (ap); in dprintf()
178 char *bp, **ap, **hap, *ep; in getanswer() local
239 ap = rs->host_aliases; in getanswer()
240 *ap = NULL; in getanswer()
269 if (ap >= &rs->host_aliases[MAXALIASES-1]) in getanswer()
282 *ap++ = bp; in getanswer()
352 else if (ap < &rs->host_aliases[MAXALIASES-1]) in getanswer()
[all …]
/bionic/libc/private/
Dlogd.h48 int __libc_android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap);
/bionic/libc/tzcode/
Dstrftime.c766 const char ** ap; member
787 for (ap = (const char **) &localebuf;
788 ap < (const char **) (&localebuf + 1);
789 ++ap)
790 *ap = p += strlen(p) + 1;
835 for (ap = (const char **) &localebuf;
836 ap < (const char **) (&localebuf + 1);
837 ++ap) {
840 *ap = p;

12