Lines Matching refs:convbuf
425 wchar_t *convbuf, *wcp; in __mbsconv() local
463 convbuf = malloc((insize + 1) * sizeof(*convbuf)); in __mbsconv()
464 if (convbuf == NULL) in __mbsconv()
466 wcp = convbuf; in __mbsconv()
479 free(convbuf); in __mbsconv()
484 return (convbuf); in __mbsconv()
500 char *convbuf; in __wcsconv() local
531 if ((convbuf = malloc(nbytes + 1)) == NULL) in __wcsconv()
537 if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p, in __wcsconv()
539 free(convbuf); in __wcsconv()
542 convbuf[nbytes] = '\0'; in __wcsconv()
543 return (convbuf); in __wcsconv()
685 CHAR_T *convbuf; /* multibyte to wide conversion result */ in WDECL() local
831 convbuf = NULL; in WDECL()
1083 if (convbuf != NULL) in WDECL()
1084 free(convbuf); in WDECL()
1086 result = convbuf = __mbsconv(dtoaresult, -1); in WDECL()
1089 result = convbuf = strdup(dtoaresult); in WDECL()
1129 if (convbuf != NULL) in WDECL()
1130 free(convbuf); in WDECL()
1132 result = convbuf = __mbsconv(dtoaresult, -1); in WDECL()
1135 result = convbuf = strdup(dtoaresult); in WDECL()
1215 if (convbuf != NULL) in WDECL()
1216 free(convbuf); in WDECL()
1218 result = convbuf = __mbsconv(dtoaresult, -1); in WDECL()
1221 result = convbuf = strdup(dtoaresult); in WDECL()
1345 if (convbuf != NULL) in WDECL()
1346 free(convbuf); in WDECL()
1350 convbuf = SCONV(mc, prec); in WDECL()
1351 if (convbuf == NULL) { in WDECL()
1355 result = convbuf; in WDECL()
1516 PRINTANDPAD(result, convbuf + ndig, in WDECL()
1530 convbuf + ndig, in WDECL()
1534 if (result > convbuf + ndig) in WDECL()
1535 result = convbuf + ndig; in WDECL()
1542 PRINTANDPAD(result, convbuf + ndig, prec, in WDECL()
1571 if (convbuf != NULL) in WDECL()
1572 free(convbuf); in WDECL()