Lines Matching refs:u8cur
400 const uint8_t* u8cur = u8str; in utf8_to_utf16_length() local
404 while (u8cur < u8end) { in utf8_to_utf16_length()
406 int u8charLen = utf8_codepoint_len(*u8cur); in utf8_to_utf16_length()
414 if (u8cur + u8charLen - 1 >= u8end) { in utf8_to_utf16_length()
421 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8charLen); in utf8_to_utf16_length()
423 u8cur += u8charLen; in utf8_to_utf16_length()
430 if (u8cur != u8end) { in utf8_to_utf16_length()
453 const uint8_t* u8cur = src; in utf8_to_utf16_no_null_terminator() local
457 while (u8cur < u8end && u16cur < u16end) { in utf8_to_utf16_no_null_terminator()
458 size_t u8len = utf8_codepoint_len(*u8cur); in utf8_to_utf16_no_null_terminator()
459 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); in utf8_to_utf16_no_null_terminator()
476 u8cur += u8len; in utf8_to_utf16_no_null_terminator()