Searched defs:utf16_length (Results 1 - 7 of 7) sorted by relevance
/art/runtime/ |
H A D | intern_table.h | 60 ObjPtr<mirror::String> InternStrong(int32_t utf16_length, const char* utf8_data) 92 ObjPtr<mirror::String> LookupStrong(Thread* self, uint32_t utf16_length, const char* utf8_data) 146 Utf8String(uint32_t utf16_length, const char* utf8_data, int32_t hash) argument 147 : hash_(hash), utf16_length_(utf16_length), utf8_data_(utf8_data) { }
|
H A D | utf.cc | 173 int32_t ComputeUtf16HashFromModifiedUtf8(const char* utf8, size_t utf16_length) { argument 175 while (utf16_length != 0u) { 179 --utf16_length; 183 DCHECK_NE(utf16_length, 0u); 184 --utf16_length; 199 size_t utf16_length) { 202 return (utf16_length == 0) ? 0 : -1; 203 } else if (utf16_length == 0) { 212 --utf16_length; 221 if (utf16_length 198 CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8, const uint16_t* utf16, size_t utf16_length) argument [all...] |
H A D | intern_table.cc | 100 uint32_t utf16_length, 102 DCHECK_EQ(utf16_length, CountModifiedUtf8Chars(utf8_data)); 103 Utf8String string(utf16_length, 105 ComputeUtf16HashFromModifiedUtf8(utf8_data, utf16_length)); 265 ObjPtr<mirror::String> InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) { argument 269 ObjPtr<mirror::String> s = LookupStrong(self, utf16_length, utf8_data); 274 self, utf16_length, utf8_data)); 99 LookupStrong(Thread* self, uint32_t utf16_length, const char* utf8_data) argument
|
H A D | class_linker.cc | 7841 uint32_t utf16_length; local 7842 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); 7843 ObjPtr<mirror::String> string = intern_table_->InternStrong(utf16_length, utf8_data); 7858 uint32_t utf16_length; local 7859 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); 7861 intern_table_->LookupStrong(Thread::Current(), utf16_length, utf8_data);
|
/art/runtime/mirror/ |
H A D | string.cc | 171 String* String::AllocFromUtf16(Thread* self, int32_t utf16_length, const uint16_t* utf16_data_in) { argument 172 CHECK(utf16_data_in != nullptr || utf16_length == 0); 175 String::AllASCII<uint16_t>(utf16_data_in, utf16_length); 176 int32_t length_with_flag = String::GetFlaggedCount(utf16_length, compressible); 183 for (int i = 0; i < utf16_length; ++i) { 188 memcpy(array, utf16_data_in, utf16_length * sizeof(uint16_t)); 201 int32_t utf16_length, 203 return AllocFromModifiedUtf8(self, utf16_length, utf8_data_in, strlen(utf8_data_in)); 207 int32_t utf16_length, 211 const bool compressible = kUseStringCompression && (utf16_length 200 AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in) argument 206 AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in, int32_t utf8_length) argument [all...] |
/art/compiler/ |
H A D | image_writer.cc | 1607 uint32_t utf16_length; local 1609 &utf16_length); 1610 mirror::String* string = intern_table->LookupStrong(self, utf16_length, utf8_data).Ptr();
|
/art/compiler/optimizing/ |
H A D | intrinsics_arm64.cc | 1467 static const char* GetConstString(HInstruction* candidate, uint32_t* utf16_length) { argument 1471 return dex_file.StringDataAndUtf16LengthByIdx(load_string->GetStringIndex(), utf16_length);
|
Completed in 186 milliseconds