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

  /system/core/libutils/
Unicode.cpp 545 ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t u8len)
547 const uint8_t* const u8end = u8str + u8len;
571 char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* u8str, size_t u8len, char16_t* u16str)
573 const uint8_t* const u8end = u8str + u8len;
578 size_t u8len = utf8_codepoint_len(*u8cur);
579 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len);
592 u8cur += u8len;
597 void utf8_to_utf16(const uint8_t* u8str, size_t u8len, char16_t* u16str) {
598 char16_t* end = utf8_to_utf16_no_null_terminator(u8str, u8len, u16str);
609 size_t u8len = utf8_codepoint_len(*u8cur)
    [all...]
String16.cpp 59 static char16_t* allocFromUTF8(const char* u8str, size_t u8len)
61 if (u8len == 0) return getEmptyString();
65 const ssize_t u16len = utf8_to_utf16_length(u8cur, u8len);
75 utf8_to_utf16(u8cur, u8len, u16str);
  /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);
784 (long long)idx, (long long)(u8str+u8len-strings),
    [all...]

Completed in 1068 milliseconds