Searched refs:allocFromUTF8 (Results 1 – 2 of 2) sorted by relevance
44 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() function119 : mString(allocFromUTF8(o, strlen(o))) in String8()126 : mString(allocFromUTF8(o, len)) in String8()186 const char *newString = allocFromUTF8(other, strlen(other)); in setTo()195 const char *newString = allocFromUTF8(other, len); in setTo()
32 static char16_t* allocFromUTF8(const char* u8str, size_t u8len) in allocFromUTF8() function96 : mString(allocFromUTF8(o.string(), o.size())) in String16()100 : mString(allocFromUTF8(o, strlen(o))) in String16()104 : mString(allocFromUTF8(o, len)) in String16()