Lines Matching refs:convbuf
424 wchar_t *convbuf, *wcp; in __mbsconv() local
462 convbuf = NULL; in __mbsconv()
463 errno = reallocarr(&convbuf, insize + 1, sizeof(*convbuf)); in __mbsconv()
466 wcp = convbuf; in __mbsconv()
480 free(convbuf); in __mbsconv()
486 return convbuf; in __mbsconv()
502 char *convbuf; in __wcsconv() local
533 if ((convbuf = malloc(nbytes + 1)) == NULL) in __wcsconv()
539 if ((nbytes = wcsrtombs_l(convbuf, (void *)&p, in __wcsconv()
541 free(convbuf); in __wcsconv()
544 convbuf[nbytes] = '\0'; in __wcsconv()
545 return convbuf; in __wcsconv()
689 CHAR_T *convbuf; /* multibyte to wide conversion result */ in WDECL() local
831 convbuf = NULL; in WDECL()
1094 if (convbuf != NULL) in WDECL()
1095 free(convbuf); in WDECL()
1097 result = convbuf = __mbsconv(dtoaresult, -1, loc); in WDECL()
1100 result = convbuf = strdup(dtoaresult); in WDECL()
1146 if (convbuf != NULL) in WDECL()
1147 free(convbuf); in WDECL()
1149 result = convbuf = __mbsconv(dtoaresult, -1, loc); in WDECL()
1152 result = convbuf = strdup(dtoaresult); in WDECL()
1285 if (convbuf != NULL) in WDECL()
1286 free(convbuf); in WDECL()
1290 convbuf = SCONV(mc, prec, loc); in WDECL()
1291 if (convbuf == NULL) { in WDECL()
1295 result = convbuf; in WDECL()
1461 PRINTANDPAD(result, convbuf + ndig, in WDECL()
1475 convbuf + ndig, in WDECL()
1479 if (result > convbuf + ndig) in WDECL()
1480 result = convbuf + ndig; in WDECL()
1487 PRINTANDPAD(result, convbuf + ndig, prec, in WDECL()
1516 if (convbuf != NULL) in WDECL()
1517 free(convbuf); in WDECL()