Home
last modified time | relevance | path

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

/frameworks/native/libs/utils/
DUnicode.cpp545 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
549 char16_t* u16cur = u16str; 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.cpp78 char16_t* u16str = (char16_t*)buf->data(); in allocFromUTF8() local
80 utf8_to_utf16(u8cur, u8len, u16str); in allocFromUTF8()
86 return u16str; in allocFromUTF8()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp609 char16_t *u16str = (char16_t *)calloc(*u16len+1, sizeof(char16_t)); in stringAt() local
610 if (!u16str) { in stringAt()
616 utf8_to_utf16(u8str, u8len, u16str); in stringAt()
617 mCache[idx] = u16str; in stringAt()
618 return u16str; in stringAt()