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 if (convbuf) { in __vfwprintf()
671 free(convbuf); in __vfwprintf()
[all …]
Dvfprintf.c160 char *convbuf; in __wcsconv() local
197 if ((convbuf = malloc(nbytes + 1)) == NULL) in __wcsconv()
203 if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p, in __wcsconv()
205 free(convbuf); in __wcsconv()
209 convbuf[nbytes] = '\0'; in __wcsconv()
210 return (convbuf); in __wcsconv()
335 char *convbuf; /* buffer for wide to multi-byte conversion */ in __vfprintf() local
480 convbuf = NULL; in __vfprintf()
850 if (convbuf != NULL) { in __vfprintf()
851 free(convbuf); in __vfprintf()
[all …]