/bionic/libc/stdio/ |
D | printf.c | 41 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()
|
D | scanf.c | 41 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()
|
D | fscanf.c | 41 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()
|
D | fprintf.c | 41 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()
|
D | sprintf.c | 49 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()
|
D | sscanf.c | 51 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()
|
D | vprintf.c | 37 vprintf(const char *fmt, __va_list ap) in vprintf() argument 39 return (vfprintf(stdout, fmt, ap)); in vprintf()
|
D | vscanf.c | 37 vscanf(const char *fmt, __va_list ap) in vscanf() argument 40 return (vfscanf(stdin, fmt, ap)); in vscanf()
|
D | snprintf.c | 43 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()
|
D | asprintf.c | 30 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()
|
D | vfscanf.c | 101 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 …]
|
D | vsprintf.c | 45 vsprintf(char *str, const char *fmt, __va_list ap) in vsprintf() argument 56 ret = vfprintf(&f, fmt, ap); in vsprintf()
|
D | vsscanf.c | 47 vsscanf(const char *str, const char *fmt, __va_list ap) in vsscanf() argument 58 return (vfscanf(&f, fmt, ap)); in vsscanf()
|
D | vsnprintf.c | 40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) in vsnprintf() argument 61 ret = vfprintf(&f, fmt, ap); in vsnprintf()
|
D | vfprintf.c | 54 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 …]
|
D | vasprintf.c | 26 vasprintf(char **str, const char *fmt, __va_list ap) in vasprintf() argument 40 ret = vfprintf(&f, fmt, ap); in vasprintf()
|
/bionic/libc/bionic/ |
D | ioctl.c | 34 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()
|
D | logd_write.c | 130 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/ |
D | fcntl.c | 35 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()
|
D | exec.c | 49 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 …]
|
D | syslog.c | 61 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/ |
D | nsdispatch.c | 113 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/ |
D | gethnamaddr.c | 140 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/ |
D | logd.h | 48 int __libc_android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap);
|
/bionic/libc/tzcode/ |
D | strftime.c | 766 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;
|