Searched refs:utf16_data_in (Results 1 – 2 of 2) sorted by relevance
175 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { in AllocFromUtf16() argument176 CHECK(utf16_data_in != nullptr || utf16_length == 0); in AllocFromUtf16()179 String::AllASCII<uint16_t>(utf16_data_in, utf16_length); in AllocFromUtf16()188 string->GetValueCompressed()[i] = static_cast<uint8_t>(utf16_data_in[i]); in AllocFromUtf16()192 memcpy(array, utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16()
130 static String* AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in)