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

  /system/core/libutils/
Unicode.cpp 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); local
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) local
    [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);
70 const uint8_t* const u8end = u8cur + u8len;
77 utf8_to_utf16(u8cur, u8len, u16str);
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp 589 size_t u8len = decodeLength(&u8str); local
592 if ((uint32_t)(u8str+u8len-strings) < mStringPoolSize) {
616 ssize_t actualLen = utf8_to_utf16_length(u8str, u8len);
632 utf8_to_utf16(u8str, u8len, u16str);
637 (long long)idx, (long long)(u8str+u8len-strings),
    [all...]

Completed in 688 milliseconds