Lines Matching refs:u8cur
530 const uint8_t* u8cur = u8str; in utf8_to_utf16_length() local
534 while (u8cur < u8end) { in utf8_to_utf16_length()
536 int u8charLen = utf8_codepoint_len(*u8cur); in utf8_to_utf16_length()
544 if (u8cur + u8charLen - 1 >= u8end) { in utf8_to_utf16_length()
551 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8charLen); in utf8_to_utf16_length()
553 u8cur += u8charLen; in utf8_to_utf16_length()
560 if (u8cur != u8end) { in utf8_to_utf16_length()
583 const uint8_t* u8cur = src; in utf8_to_utf16_no_null_terminator() local
587 while (u8cur < u8end && u16cur < u16end) { in utf8_to_utf16_no_null_terminator()
588 size_t u8len = utf8_codepoint_len(*u8cur); in utf8_to_utf16_no_null_terminator()
589 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); in utf8_to_utf16_no_null_terminator()
606 u8cur += u8len; in utf8_to_utf16_no_null_terminator()