Lines Matching defs:wstring
320 wchar_t *wstring;
354 if ((wstring = malloc(slen * sizeof (wchar_t))) == NULL)
356 if ((wccount = mbstowcs(wstring, sstring, slen - 1)) == -1) {
357 free(wstring);
361 wchar_t *clipp = wstring + (len - 2);
369 while (wcstombs(NULL, wstring, 0) >= ssize) {
381 if ((wccount = wcstombs(sstring, wstring, ssize)) == -1) {
382 free(wstring);
386 free(wstring);
416 wchar_t *wstring;
450 if ((wstring = malloc(slen * sizeof (wchar_t))) == NULL)
452 if ((wccount = mbstowcs(wstring, sstring, slen - 1)) == -1) {
453 free(wstring);
457 wchar_t *clipp = wstring + (len - 2);
465 while (wcstombs(NULL, wstring, 0) >= ssize) {
472 free(wstring);
477 if ((wccount = wcstombs(sstring, wstring, ssize)) == -1) {
478 free(wstring);
482 free(wstring);