Lines Matching refs:u8len
538 ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t u8len) in utf8_to_utf16_length() argument
540 const uint8_t* const u8end = u8str + u8len; in utf8_to_utf16_length()
564 char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* u8str, size_t u8len, char16_t* u16str) in utf8_to_utf16_no_null_terminator() argument
566 const uint8_t* const u8end = u8str + u8len; in utf8_to_utf16_no_null_terminator()
571 size_t u8len = utf8_codepoint_len(*u8cur); in utf8_to_utf16_no_null_terminator() local
572 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); in utf8_to_utf16_no_null_terminator()
585 u8cur += u8len; in utf8_to_utf16_no_null_terminator()
590 void utf8_to_utf16(const uint8_t* u8str, size_t u8len, char16_t* u16str) { in utf8_to_utf16() argument
591 char16_t* end = utf8_to_utf16_no_null_terminator(u8str, u8len, u16str); in utf8_to_utf16()
602 size_t u8len = utf8_codepoint_len(*u8cur); in utf8_to_utf16_n() local
603 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); in utf8_to_utf16_n()
620 u8cur += u8len; in utf8_to_utf16_n()