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

  /system/core/libutils/
Unicode.cpp 520 ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t u8len)
522 const uint8_t* const u8end = u8str + u8len;
546 char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* u8str, size_t u8len, char16_t* u16str)
548 const uint8_t* const u8end = u8str + u8len;
553 size_t u8len = utf8_codepoint_len(*u8cur); local
554 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len);
567 u8cur += u8len;
572 void utf8_to_utf16(const uint8_t* u8str, size_t u8len, char16_t* u16str) {
573 char16_t* end = utf8_to_utf16_no_null_terminator(u8str, u8len, u16str);
584 size_t u8len = utf8_codepoint_len(*u8cur) local
    [all...]
String16.cpp 58 static char16_t* allocFromUTF8(const char* u8str, size_t u8len)
60 if (u8len == 0) return getEmptyString();
64 const ssize_t u16len = utf8_to_utf16_length(u8cur, u8len);
74 utf8_to_utf16(u8cur, u8len, u16str);
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp 714 size_t u8len = decodeLength(&u8str); local
717 if ((uint32_t)(u8str+u8len-strings) < mStringPoolSize) {
741 ssize_t actualLen = utf8_to_utf16_length(u8str, u8len);
757 utf8_to_utf16(u8str, u8len, u16str);
762 (long long)idx, (long long)(u8str+u8len-strings),
    [all...]

Completed in 79 milliseconds