/bionic/linker/ |
D | linker_debug.cpp | 33 void linker_log_va_list(int prio __unused, const char* fmt, va_list ap) { in linker_log_va_list() argument 35 async_safe_format_log_va_list(5 - prio, "linker", fmt, ap); in linker_log_va_list() 37 async_safe_format_fd_va_list(STDOUT_FILENO, fmt, ap); in linker_log_va_list() 43 va_list ap; in linker_log() local 44 va_start(ap, fmt); in linker_log() 45 linker_log_va_list(prio, fmt, ap); in linker_log() 46 va_end(ap); in linker_log()
|
D | linker_globals.cpp | 58 va_list ap; in DL_WARN_documented_change() local 59 va_start(ap, fmt); in DL_WARN_documented_change() 60 android::base::StringAppendV(&result, fmt, ap); in DL_WARN_documented_change() 61 va_end(ap); in DL_WARN_documented_change()
|
D | linker_logger.cpp | 112 va_list ap; in Log() local 113 va_start(ap, format); in Log() 114 async_safe_format_log_va_list(ANDROID_LOG_DEBUG, "linker", format, ap); in Log() 115 va_end(ap); in Log()
|
/bionic/libc/bionic/ |
D | error.cpp | 68 va_list ap; in error() local 69 va_start(ap, fmt); in error() 70 vfprintf(stderr, fmt, ap); in error() 71 va_end(ap); in error() 90 va_list ap; in error_at_line() local 91 va_start(ap, fmt); in error_at_line() 92 vfprintf(stderr, fmt, ap); in error_at_line() 93 va_end(ap); in error_at_line()
|
D | ioctl.cpp | 35 va_list ap; in ioctl() local 36 va_start(ap, request); in ioctl() 37 void* arg = va_arg(ap, void*); in ioctl() 38 va_end(ap); in ioctl()
|
D | mremap.cpp | 51 va_list ap; in mremap() local 52 va_start(ap, flags); in mremap() 53 new_address = va_arg(ap, void*); in mremap() 54 va_end(ap); in mremap()
|
D | fcntl.cpp | 62 va_list ap; in fcntl() local 64 va_start(ap, cmd); in fcntl() 65 void* arg = va_arg(ap, void*); in fcntl() 66 va_end(ap); in fcntl()
|
D | sys_sem.cpp | 40 va_list ap; in semctl() local 41 va_start(ap, cmd); in semctl() 42 semun arg = va_arg(ap, semun); in semctl() 43 va_end(ap); in semctl()
|
/bionic/libc/malloc_debug/tests/ |
D | log_fake.cpp | 50 va_list ap; in async_safe_format_log() local 51 va_start(ap, format); in async_safe_format_log() 52 android::base::StringAppendV(&g_fake_log_print, format, ap); in async_safe_format_log() 53 va_end(ap); in async_safe_format_log() 79 va_list ap; in __android_log_print() local 80 va_start(ap, fmt); in __android_log_print() 81 android::base::StringAppendV(&g_fake_log_print, fmt, ap); in __android_log_print() 82 va_end(ap); in __android_log_print()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | warn.c | 37 va_list ap; in warn() local 39 va_start(ap, fmt); in warn() 40 vwarn(fmt, ap); in warn() 41 va_end(ap); in warn()
|
D | warnx.c | 37 va_list ap; in warnx() local 39 va_start(ap, fmt); in warnx() 40 vwarnx(fmt, ap); in warnx() 41 va_end(ap); in warnx()
|
D | err.c | 37 va_list ap; in err() local 39 va_start(ap, fmt); in err() 40 verr(eval, fmt, ap); in err() 41 va_end(ap); in err()
|
D | errx.c | 37 va_list ap; in errx() local 39 va_start(ap, fmt); in errx() 40 verrx(eval, fmt, ap); in errx() 41 va_end(ap); in errx()
|
D | vwarnx.c | 37 vwarnx(const char *fmt, va_list ap) in vwarnx() argument 41 (void)vfprintf(stderr, fmt, ap); in vwarnx()
|
D | verrx.c | 37 verrx(int eval, const char *fmt, va_list ap) in verrx() argument 41 (void)vfprintf(stderr, fmt, ap); in verrx()
|
D | vwarn.c | 39 vwarn(const char *fmt, va_list ap) in vwarn() argument 46 (void)vfprintf(stderr, fmt, ap); in vwarn()
|
D | verr.c | 39 verr(int eval, const char *fmt, va_list ap) in verr() argument 46 (void)vfprintf(stderr, fmt, ap); in verr()
|
/bionic/libc/stdio/ |
D | vfwscanf.c | 131 int __vfwscanf(FILE* __restrict fp, const wchar_t* __restrict fmt, __va_list ap) { in __vfwscanf() argument 319 *va_arg(ap, signed char*) = nread; in __vfwscanf() 321 *va_arg(ap, short*) = nread; in __vfwscanf() 323 *va_arg(ap, long*) = nread; in __vfwscanf() 325 *va_arg(ap, ssize_t*) = nread; in __vfwscanf() 327 *va_arg(ap, ptrdiff_t*) = nread; in __vfwscanf() 329 *va_arg(ap, long long*) = nread; in __vfwscanf() 331 *va_arg(ap, intmax_t*) = nread; in __vfwscanf() 333 *va_arg(ap, int*) = nread; in __vfwscanf() 367 if (!(flags & SUPPRESS)) p = va_arg(ap, wchar_t*); in __vfwscanf() [all …]
|
D | vfscanf.cpp | 86 int __svfscanf(FILE* fp, const char* fmt0, va_list ap) { in __svfscanf() argument 265 *va_arg(ap, signed char*) = nread; in __svfscanf() 267 *va_arg(ap, short*) = nread; in __svfscanf() 269 *va_arg(ap, long*) = nread; in __svfscanf() 271 *va_arg(ap, ssize_t*) = nread; in __svfscanf() 273 *va_arg(ap, ptrdiff_t*) = nread; in __svfscanf() 275 *va_arg(ap, long long*) = nread; in __svfscanf() 277 *va_arg(ap, intmax_t*) = nread; in __svfscanf() 279 *va_arg(ap, int*) = nread; in __svfscanf() 342 wcp = va_arg(ap, wchar_t*); in __svfscanf() [all …]
|
D | printf_common.h | 88 static int __sbprintf(FILE* fp, const CHAR_TYPE* fmt, va_list ap) { in __sbprintf() argument 106 int ret = FUNCTION_NAME(&fake, fmt, ap); in __sbprintf() 112 static int __find_arguments(const CHAR_TYPE* fmt0, va_list ap, union arg** argtable, size_t* argtab… 303 ((argtable != NULL) ? *((type*)(&argtable[nextarg++])) : (nextarg++, va_arg(ap, type))) 313 static int __find_arguments(const CHAR_TYPE* fmt0, va_list ap, union arg** argtable, in __find_arguments() argument 554 (*argtable)[n].intarg = va_arg(ap, int); in __find_arguments() 557 (*argtable)[n].pshortarg = va_arg(ap, short*); in __find_arguments() 560 (*argtable)[n].uintarg = va_arg(ap, unsigned int); in __find_arguments() 563 (*argtable)[n].pintarg = va_arg(ap, int*); in __find_arguments() 566 (*argtable)[n].longarg = va_arg(ap, long); in __find_arguments() [all …]
|
D | stdio.cpp | 66 va_list ap; \ 67 va_start(ap, fmt); \ 69 va_end(ap); \ 737 PRINTF_IMPL(vasprintf(s, fmt, ap)); in asprintf() 745 PRINTF_IMPL(vdprintf(fd, fmt, ap)); in dprintf() 750 PRINTF_IMPL(vfprintf(fp, fmt, ap)); in fprintf() 839 PRINTF_IMPL(vfscanf(fp, fmt, ap)); in fscanf() 844 PRINTF_IMPL(vfwprintf(fp, fmt, ap)); in fwprintf() 849 PRINTF_IMPL(vfwscanf(fp, fmt, ap)); in fwscanf() 891 PRINTF_IMPL(vfprintf(stdout, fmt, ap)); in printf() [all …]
|
/bionic/libc/dns/net/ |
D | nsdispatch.c | 103 va_list ap; in nsdispatch() local 130 va_start(ap, defaults); in nsdispatch() 131 result = (*cb)(retval, cb_data, ap); in nsdispatch() 132 va_end(ap); in nsdispatch()
|
D | sethostent.c | 99 _hf_gethtbyname(void *rv, void *cb_data, va_list ap) in _hf_gethtbyname() argument 108 name = va_arg(ap, char *); in _hf_gethtbyname() 109 /* NOSTRICT skip string len */(void)va_arg(ap, int); in _hf_gethtbyname() 110 af = va_arg(ap, int); in _hf_gethtbyname() 251 _hf_gethtbyaddr(void *rv, void *cb_data, va_list ap) in _hf_gethtbyaddr() argument 260 addr = va_arg(ap, unsigned char *); in _hf_gethtbyaddr() 261 info->hp->h_length = va_arg(ap, int); in _hf_gethtbyaddr() 262 info->hp->h_addrtype = va_arg(ap, int); in _hf_gethtbyaddr()
|
D | gethnamaddr.c | 190 va_list ap; in debugprintf() local 192 va_start (ap, res); in debugprintf() 193 vprintf(msg, ap); in debugprintf() 194 va_end (ap); in debugprintf() 224 char *bp, **ap, **hap, *ep; in getanswer() local 286 hent->h_aliases = ap = aliases; in getanswer() 288 *ap = NULL; in getanswer() 324 addalias(ap, bp, aliases, maxaliases); in getanswer() 392 addalias(ap, bp, aliases, maxaliases); in getanswer() 472 *ap = NULL; in getanswer() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vsscanf.c | 46 vsscanf(const char *str, const char *fmt, __va_list ap) in vsscanf() argument 57 return (__svfscanf(&f, fmt, ap)); in vsscanf()
|