Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregerror.c172 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/upstream-openbsd/lib/libc/stdio/
Dvfwprintf.c169 wchar_t *convbuf, *wcp; in __mbsconv() local
207 convbuf = calloc(insize + 1, sizeof(*convbuf)); in __mbsconv()
208 if (convbuf == NULL) in __mbsconv()
210 wcp = convbuf; in __mbsconv()
223 free(convbuf); in __mbsconv()
228 return (convbuf); in __mbsconv()
334 wchar_t *convbuf; /* buffer for multibyte to wide conversion */ in __vfwprintf() local
464 convbuf = NULL; in __vfwprintf()
670 free(convbuf); in __vfwprintf()
671 cp = convbuf = __mbsconv(dtoaresult, -1); in __vfwprintf()
[all …]
Dvfprintf.c160 char *convbuf; in __wcsconv() local
193 if ((convbuf = malloc(nbytes + 1)) == NULL) in __wcsconv()
199 if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p, in __wcsconv()
201 free(convbuf); in __wcsconv()
204 convbuf[nbytes] = '\0'; in __wcsconv()
205 return (convbuf); in __wcsconv()
331 char *convbuf; /* buffer for wide to multi-byte conversion */ in __vfprintf() local
480 convbuf = NULL; in __vfprintf()
857 free(convbuf); in __vfprintf()
858 convbuf = NULL; in __vfprintf()
[all …]