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

  /system/core/libutils/
String16.cpp 64 const ssize_t u16len = utf8_to_utf16_length(u8cur, u8len); local
65 if (u16len < 0) {
69 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)*(u16len+1));
  /frameworks/base/libs/androidfw/
ResourceTypes.cpp 692 const char16_t* ResStringPool::stringAt(size_t idx, size_t* u16len) const
702 *u16len = decodeLength(&str);
703 if ((uint32_t)(str+*u16len-strings) < mStringPoolSize) {
707 (int)idx, (int)(str+*u16len-strings), (int)mStringPoolSize);
713 *u16len = decodeLength(&u8str);
742 if (actualLen < 0 || (size_t)actualLen != *u16len) {
745 (long long)idx, (long long)actualLen, (long long)*u16len);
749 char16_t *u16str = (char16_t *)calloc(*u16len+1, sizeof(char16_t));
    [all...]

Completed in 277 milliseconds