Searched refs:allocFromUTF8 (Results 1 – 2 of 2) sorted by relevance
78 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() function165 : mString(allocFromUTF8(o, strlen(o))) in String8()173 : mString(allocFromUTF8(o, len)) in String8()242 const char *newString = allocFromUTF8(other, strlen(other)); in setTo()253 const char *newString = allocFromUTF8(other, len); in setTo()
59 static char16_t* allocFromUTF8(const char* u8str, size_t u8len) in allocFromUTF8() function152 : mString(allocFromUTF8(o.string(), o.size())) in String16()157 : mString(allocFromUTF8(o, strlen(o))) in String16()162 : mString(allocFromUTF8(o, len)) in String16()