Home
last modified time | relevance | path

Searched refs:u8str (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/utils/
DUnicode.cpp519 ssize_t utf8_to_utf16_length(const uint8_t* u8str, size_t u8len) in utf8_to_utf16_length() argument
521 const uint8_t* const u8end = u8str + u8len; in utf8_to_utf16_length()
522 const uint8_t* u8cur = u8str; in utf8_to_utf16_length()
545 char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* u8str, size_t u8len, char16_t* u16str) in utf8_to_utf16_no_null_terminator() argument
547 const uint8_t* const u8end = u8str + u8len; in utf8_to_utf16_no_null_terminator()
548 const uint8_t* u8cur = u8str; in utf8_to_utf16_no_null_terminator()
571 void utf8_to_utf16(const uint8_t* u8str, size_t u8len, char16_t* u16str) { in utf8_to_utf16() argument
572 char16_t* end = utf8_to_utf16_no_null_terminator(u8str, u8len, u16str); in utf8_to_utf16()
DString16.cpp62 static char16_t* allocFromUTF8(const char* u8str, size_t u8len) in allocFromUTF8() argument
66 const uint8_t* u8cur = (const uint8_t*) u8str; in allocFromUTF8()
77 u8cur = (const uint8_t*) u8str; in allocFromUTF8()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp588 const uint8_t* u8str = strings+off; in stringAt() local
590 *u16len = decodeLength(&u8str); in stringAt()
591 size_t u8len = decodeLength(&u8str); in stringAt()
594 if ((uint32_t)(u8str+u8len-strings) < mStringPoolSize) { in stringAt()
601 ssize_t actualLen = utf8_to_utf16_length(u8str, u8len); in stringAt()
616 utf8_to_utf16(u8str, u8len, u16str); in stringAt()
621 (long long)idx, (long long)(u8str+u8len-strings), in stringAt()