Searched refs:u16str (Results 1 – 3 of 3) sorted by relevance
/system/core/libutils/ |
D | String16.cpp | 55 char16_t* u16str = (char16_t*)buf->data(); in allocFromUTF8() local 57 utf8_to_utf16(u8cur, u8len, u16str, ((size_t) u16len) + 1); in allocFromUTF8() 63 return u16str; in allocFromUTF8() 69 char16_t* String16::allocFromUTF16(const char16_t* u16str, size_t u16len) { in allocFromUTF16() argument 79 memcpy(str, u16str, u16len * sizeof(char16_t)); in allocFromUTF16()
|
D | Unicode.cpp | 525 char16_t* utf8_to_utf16(const uint8_t* u8str, size_t u8len, char16_t* u16str, size_t u16len) { in utf8_to_utf16() argument 528 char16_t* end = utf8_to_utf16_no_null_terminator(u8str, u8len, u16str, u16len - 1); in utf8_to_utf16()
|
/system/core/libutils/include/utils/ |
D | String16.h | 128 static char16_t* allocFromUTF16(const char16_t* u16str, size_t u16len);
|