HomeSort by relevance Sort by last modified time
    Searched refs:u8len (Results 1 - 3 of 3) sorted by null

  /system/core/libutils/
Unicode.cpp 564 ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t u8len, bool overreadIsFatal)
566 const uint8_t* const u8end = u8str + u8len;
604 char16_t* utf8_to_utf16(const uint8_t* u8str, size_t u8len, char16_t* u16str, size_t u16len) {
607 char16_t* end = utf8_to_utf16_no_null_terminator(u8str, u8len, u16str, u16len - 1);
625 size_t u8len = utf8_codepoint_len(*u8cur);
626 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len);
643 u8cur += u8len;
String16.cpp 54 static char16_t* allocFromUTF8(const char* u8str, size_t u8len)
56 if (u8len == 0) return getEmptyString();
60 const ssize_t u16len = utf8_to_utf16_length(u8cur, u8len);
70 utf8_to_utf16(u8cur, u8len, u16str, ((size_t) u16len) + 1);
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp 725 size_t u8len = decodeLength(&u8str); local
728 if ((uint32_t)(u8str+u8len-strings) < mStringPoolSize) {
754 ssize_t actualLen = utf8_to_utf16_length(u8str, u8len);
763 if (u8str[u8len] != 0x00) {
779 utf8_to_utf16(u8str, u8len, u16str, *u16len + 1);
784 (long long)idx, (long long)(u8str+u8len-strings),
    [all...]

Completed in 3499 milliseconds