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
540 *argtable = static_cast<arg*>(mmap(nullptr, *argtablesiz, in __find_arguments()
543 if (*argtable == MAP_FAILED) return -1; in __find_arguments()
554 (*argtable)[n].intarg = va_arg(ap, int); in __find_arguments()
557 (*argtable)[n].pshortarg = va_arg(ap, short*); in __find_arguments()
[all …]
Dvfwprintf.cpp95 union arg* argtable; /* args, built due to positional arg */ in FUNCTION_NAME() local
139 argtable = nullptr; in FUNCTION_NAME()
219 if (argtable == nullptr) { in FUNCTION_NAME()
220 argtable = statargtable; in FUNCTION_NAME()
221 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
254 if (argtable == nullptr) { in FUNCTION_NAME()
255 argtable = statargtable; in FUNCTION_NAME()
256 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
670 if (argtable != nullptr && argtable != statargtable) { in FUNCTION_NAME()
671 munmap(argtable, argtablesiz); in FUNCTION_NAME()
[all …]
Dvfprintf.cpp95 union arg* argtable; /* args, built due to positional arg */ in FUNCTION_NAME() local
150 argtable = nullptr; in FUNCTION_NAME()
230 if (argtable == nullptr) { in FUNCTION_NAME()
231 argtable = statargtable; in FUNCTION_NAME()
232 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
265 if (argtable == nullptr) { in FUNCTION_NAME()
266 argtable = statargtable; in FUNCTION_NAME()
267 if (__find_arguments(fmt0, orgap, &argtable, &argtablesiz) == -1) { in FUNCTION_NAME()
684 if (argtable != nullptr && argtable != statargtable) { in FUNCTION_NAME()
685 munmap(argtable, argtablesiz); in FUNCTION_NAME()
[all …]