Lines Matching refs:u8len
519 ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t u8len)
521 const uint8_t* const u8end = u8str + u8len;
545 char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* u8str, size_t u8len, char16_t* u16str)
547 const uint8_t* const u8end = u8str + u8len;
552 size_t u8len = utf8_codepoint_len(*u8cur);
553 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len);
566 u8cur += u8len;
571 void utf8_to_utf16(const uint8_t* u8str, size_t u8len, char16_t* u16str) {
572 char16_t* end = utf8_to_utf16_no_null_terminator(u8str, u8len, u16str);
583 size_t u8len = utf8_codepoint_len(*u8cur);
584 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len);
601 u8cur += u8len;