Searched refs:convbuf (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regerror.c | 172 char convbuf[50]; in regerror() local 178 s = regatoi(preg, convbuf, sizeof convbuf); in regerror() 186 (void)strlcpy(convbuf, r->name, sizeof convbuf); in regerror() 188 (void)snprintf(convbuf, sizeof convbuf, in regerror() 190 s = convbuf; in regerror()
|
/bionic/libc/stdio/ |
D | vfwprintf.cpp | 100 CHAR_TYPE* convbuf; /* buffer for wide/multibyte conversion */ in FUNCTION_NAME() local 146 convbuf = nullptr; in FUNCTION_NAME() 349 free(convbuf); in FUNCTION_NAME() 350 cp = convbuf = helpers::mbsconv(dtoaresult, -1); in FUNCTION_NAME() 389 free(convbuf); in FUNCTION_NAME() 390 cp = convbuf = helpers::mbsconv(dtoaresult, -1); in FUNCTION_NAME() 441 free(convbuf); in FUNCTION_NAME() 442 convbuf = helpers::mbsconv(strerror_r(caller_errno, in FUNCTION_NAME() 444 if (convbuf == nullptr) { in FUNCTION_NAME() 448 cp = convbuf; in FUNCTION_NAME() [all …]
|
D | printf_common.h | 693 char* convbuf; in wcsconv() local 720 if ((convbuf = static_cast<char*>(malloc(nbytes + 1))) == nullptr) return nullptr; in wcsconv() 725 if ((nbytes = wcsrtombs(convbuf, (const wchar_t**)&p, nbytes, &mbs)) == (size_t)-1) { in wcsconv() 726 free(convbuf); in wcsconv() 729 convbuf[nbytes] = '\0'; in wcsconv() 730 return convbuf; in wcsconv() 792 wchar_t* convbuf = static_cast<wchar_t*>(calloc(insize + 1, sizeof(*convbuf))); in mbsconv() local 793 if (convbuf == nullptr) return nullptr; in mbsconv() 794 wchar_t* wcp = convbuf; in mbsconv() 806 free(convbuf); in mbsconv() [all …]
|
D | vfprintf.cpp | 100 CHAR_TYPE* convbuf; /* buffer for wide/multibyte conversion */ in FUNCTION_NAME() local 157 convbuf = nullptr; in FUNCTION_NAME() 485 free(convbuf); in FUNCTION_NAME() 486 convbuf = nullptr; in FUNCTION_NAME() 490 convbuf = helpers::wcsconv(wcp, prec); in FUNCTION_NAME() 491 if (convbuf == nullptr) { in FUNCTION_NAME() 495 cp = convbuf; in FUNCTION_NAME() 682 free(convbuf); in FUNCTION_NAME()
|