Lines Matching refs:codepoint
548 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8charLen); in utf8_to_utf16_length() local
549 if (codepoint > 0xFFFF) u16measuredLen++; // this will be a surrogate pair in utf16 in utf8_to_utf16_length()
572 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); in utf8_to_utf16_no_null_terminator() local
575 if (codepoint <= 0xFFFF) { in utf8_to_utf16_no_null_terminator()
577 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_no_null_terminator()
580 codepoint = codepoint - 0x10000; in utf8_to_utf16_no_null_terminator()
581 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_no_null_terminator()
582 *u16cur++ = (char16_t) ((codepoint & 0x3FF) + 0xDC00); in utf8_to_utf16_no_null_terminator()
603 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); in utf8_to_utf16_n() local
606 if (codepoint <= 0xFFFF) { in utf8_to_utf16_n()
608 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_n()
611 codepoint = codepoint - 0x10000; in utf8_to_utf16_n()
612 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_n()
617 *u16cur++ = (char16_t) ((codepoint & 0x3FF) + 0xDC00); in utf8_to_utf16_n()