Home
last modified time | relevance | path

Searched refs:argtable (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/stdio/
Dprintf_common.h112 static int __find_arguments(const CHAR_TYPE* fmt0, va_list ap, union arg** argtable, size_t* argtab…
284 if (argtable == NULL) { \
285 argtable = statargtable; \
286 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { \
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
565 *argtable = static_cast<arg*>(mmap(nullptr, *argtablesiz, in __find_arguments()
568 if (*argtable == MAP_FAILED) return -1; in __find_arguments()
579 (*argtable)[n].intarg = va_arg(ap, int); in __find_arguments()
582 (*argtable)[n].pshortarg = va_arg(ap, short*); in __find_arguments()
[all …]
Dvfprintf.cpp115 union arg* argtable; /* args, built due to positional arg */ in FUNCTION_NAME() local
152 argtable = nullptr; in FUNCTION_NAME()
232 if (argtable == nullptr) { in FUNCTION_NAME()
233 argtable = statargtable; in FUNCTION_NAME()
234 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
267 if (argtable == nullptr) { in FUNCTION_NAME()
268 argtable = statargtable; in FUNCTION_NAME()
269 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
731 if (argtable != nullptr && argtable != statargtable) { in FUNCTION_NAME()
732 munmap(argtable, argtablesiz); in FUNCTION_NAME()
[all …]
Dvfwprintf.cpp118 union arg* argtable; /* args, built due to positional arg */ in FUNCTION_NAME() local
155 argtable = nullptr; in FUNCTION_NAME()
235 if (argtable == nullptr) { in FUNCTION_NAME()
236 argtable = statargtable; in FUNCTION_NAME()
237 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
270 if (argtable == nullptr) { in FUNCTION_NAME()
271 argtable = statargtable; in FUNCTION_NAME()
272 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
709 if (argtable != nullptr && argtable != statargtable) { in FUNCTION_NAME()
710 munmap(argtable, argtablesiz); in FUNCTION_NAME()
[all …]