Lines Matching refs:utf8_data
124 const char* utf8_data) { in LookupStrong() argument
125 uint32_t hash = Utf8String::Hash(utf16_length, utf8_data); in LookupStrong()
127 return strong_interns_.Find(Utf8String(utf16_length, utf8_data), hash); in LookupStrong()
253 ObjPtr<mirror::String> InternTable::InternStrong(uint32_t utf16_length, const char* utf8_data) { in InternStrong() argument
254 DCHECK(utf8_data != nullptr); in InternStrong()
255 uint32_t hash = Utf8String::Hash(utf16_length, utf8_data); in InternStrong()
264 s = strong_interns_.Find(Utf8String(utf16_length, utf8_data), hash); in InternStrong()
269 bool is_ascii = (utf8_data[utf16_length] == 0); in InternStrong()
270 int32_t utf8_length = utf16_length + (LIKELY(is_ascii) ? 0 : strlen(utf8_data + utf16_length)); in InternStrong()
271 DCHECK_EQ(static_cast<size_t>(utf8_length), strlen(utf8_data)); in InternStrong()
272 s = mirror::String::AllocFromModifiedUtf8(self, utf16_length, utf8_data, utf8_length); in InternStrong()
281 ObjPtr<mirror::String> InternTable::InternStrong(const char* utf8_data) { in InternStrong() argument
282 DCHECK(utf8_data != nullptr); in InternStrong()
284 ObjPtr<mirror::String> s = mirror::String::AllocFromModifiedUtf8(self, utf8_data); in InternStrong()
299 ObjPtr<mirror::String> InternTable::InternWeak(const char* utf8_data) { in InternWeak() argument
300 DCHECK(utf8_data != nullptr); in InternWeak()
302 ObjPtr<mirror::String> s = mirror::String::AllocFromModifiedUtf8(self, utf8_data); in InternWeak()