Home
last modified time | relevance | path

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

/system/core/libutils/
DString8.cpp79 static char* allocFromUTF16(const char16_t* in, size_t len) in allocFromUTF16() function
153 : mString(allocFromUTF16(o.string(), o.size())) in String8()
158 : mString(allocFromUTF16(o, strlen16(o))) in String8()
163 : mString(allocFromUTF16(o, len)) in String8()
239 const char *newString = allocFromUTF16(other, len); in setTo()
DString16.cpp69 char16_t* String16::allocFromUTF16(const char16_t* u16str, size_t u16len) { in allocFromUTF16() function in android::String16
105 String16::String16(const char16_t* o) : mString(allocFromUTF16(o, strlen16(o))) {} in String16()
107 String16::String16(const char16_t* o, size_t len) : mString(allocFromUTF16(o, len)) {} in String16()
/system/core/libutils/include/utils/
DString16.h124 static char16_t* allocFromUTF16(const char16_t* u16str, size_t u16len);