Searched refs:allocFromUTF8 (Results 1 – 2 of 2) sorted by relevance
57 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() function148 : mString(allocFromUTF8(o, strlen(o))) in String8()156 : mString(allocFromUTF8(o, len)) in String8()230 const char *newString = allocFromUTF8(other, strlen(other)); in setTo()241 const char *newString = allocFromUTF8(other, len); in setTo()
41 static char16_t* allocFromUTF8(const char* u8str, size_t u8len) in allocFromUTF8() function123 : mString(allocFromUTF8(o.string(), o.size())) in String16()128 : mString(allocFromUTF8(o, strlen(o))) in String16()133 : mString(allocFromUTF8(o, len)) in String16()