Home
last modified time | relevance | path

Searched refs:allocFromUTF8 (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/
DString16.cpp58 static char16_t* allocFromUTF8(const char* u8str, size_t u8len) in allocFromUTF8() function
149 : mString(allocFromUTF8(o.string(), o.size())) in String16()
154 : mString(allocFromUTF8(o, strlen(o))) in String16()
159 : mString(allocFromUTF8(o, len)) in String16()
DString8.cpp81 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() function
171 : mString(allocFromUTF8(o, strlen(o))) in String8()
179 : mString(allocFromUTF8(o, len)) in String8()
248 const char *newString = allocFromUTF8(other, strlen(other)); in setTo()
259 const char *newString = allocFromUTF8(other, len); in setTo()