Lines Matching refs:wchar_t
140 while (*inbytesleft >= sizeof(wchar_t)) { in wchar_from_loop_convert()
141 const wchar_t * inptr = (const wchar_t *) *inbuf; in wchar_from_loop_convert()
146 while (inleft >= sizeof(wchar_t)) { in wchar_from_loop_convert()
159 const wchar_t * fallback_inptr; in wchar_from_loop_convert()
166 for (fallback_inptr = (const wchar_t *) *inbuf; in wchar_from_loop_convert()
179 *inbytesleft = inleft - sizeof(wchar_t); in wchar_from_loop_convert()
192 inleft -= sizeof(wchar_t); in wchar_from_loop_convert()
247 size_t bufcount = wcrtomb(buf,(wchar_t)0,&state); in wchar_from_loop_reset()
296 static void mb_to_wc_write_replacement (const wchar_t *buf, size_t buflen, in mb_to_wc_write_replacement()
304 if (plocals->l_outbytesleft < sizeof(wchar_t)*buflen) in mb_to_wc_write_replacement()
308 *(wchar_t*) plocals->l_outbuf = *buf; in mb_to_wc_write_replacement()
309 plocals->l_outbuf += sizeof(wchar_t); in mb_to_wc_write_replacement()
310 plocals->l_outbytesleft -= sizeof(wchar_t); in mb_to_wc_write_replacement()
348 wchar_t wc; in wchar_to_loop_convert()
389 if (*outbytesleft < sizeof(wchar_t)) { in wchar_to_loop_convert()
393 *(wchar_t*) *outbuf = wc; in wchar_to_loop_convert()
399 *outbuf += sizeof(wchar_t); in wchar_to_loop_convert()
400 *outbytesleft -= sizeof(wchar_t); in wchar_to_loop_convert()
434 const wchar_t* inptr = (const wchar_t*) *inbuf; in wchar_id_loop_convert()
435 size_t inleft = *inbytesleft / sizeof(wchar_t); in wchar_id_loop_convert()
436 wchar_t* outptr = (wchar_t*) *outbuf; in wchar_id_loop_convert()
437 size_t outleft = *outbytesleft / sizeof(wchar_t); in wchar_id_loop_convert()
440 *inbytesleft -= count * sizeof(wchar_t); in wchar_id_loop_convert()
441 *outbytesleft -= count * sizeof(wchar_t); in wchar_id_loop_convert()
443 wchar_t wc = *inptr++; in wchar_id_loop_convert()