Searched refs:allocFromUTF8 (Results 1 – 2 of 2) sorted by relevance
81 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() function172 : mString(allocFromUTF8(o, strlen(o))) in String8()180 : mString(allocFromUTF8(o, len)) in String8()254 const char *newString = allocFromUTF8(other, strlen(other)); in setTo()265 const char *newString = allocFromUTF8(other, len); in setTo()
54 static char16_t* allocFromUTF8(const char* u8str, size_t u8len) in allocFromUTF8() function145 : mString(allocFromUTF8(o.string(), o.size())) in String16()150 : mString(allocFromUTF8(o, strlen(o))) in String16()155 : mString(allocFromUTF8(o, len)) in String16()