Lines Matching refs:c32
493 char32_t c32; in __mbrtowc_utf8() local
494 const size_t retval = __mbrtoc32_utf8(&c32, s, n, ps, ptd); in __mbrtowc_utf8()
498 if (c32 > 0xffff) in __mbrtowc_utf8()
502 c32 = 0xfffd; in __mbrtowc_utf8()
504 _ASSIGN_IF_NOT_NULL(pwc, static_cast<wchar_t>(c32)); in __mbrtowc_utf8()
537 char32_t c32; in __mbsrtowcs_utf8() local
538 const size_t retval = __mbrtoc32_utf8(&c32, current_src, avail, ps, ptd); in __mbsrtowcs_utf8()
552 else if (c32 > 0xffff) in __mbsrtowcs_utf8()
558 c32 -= 0x10000; in __mbsrtowcs_utf8()
559 const char16_t high_surrogate = static_cast<char16_t>((c32 >> 10) | 0xd800); in __mbsrtowcs_utf8()
560 const char16_t low_surrogate = static_cast<char16_t>((c32 & 0x03ff) | 0xdc00); in __mbsrtowcs_utf8()
571 *current_dest++ = static_cast<wchar_t>(c32); in __mbsrtowcs_utf8()