Searched refs:u8cur (Results 1 – 2 of 2) sorted by relevance
530 const uint8_t* u8cur = u8str; in utf8_to_utf16_length() local534 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() local587 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()[all …]
45 const uint8_t* u8cur = (const uint8_t*) u8str; in allocFromUTF8() local47 const ssize_t u16len = utf8_to_utf16_length(u8cur, u8len); in allocFromUTF8()54 u8cur = (const uint8_t*) u8str; in allocFromUTF8()57 utf8_to_utf16(u8cur, u8len, u16str, ((size_t) u16len) + 1); in allocFromUTF8()