Searched refs:utf8_data (Results 1 – 5 of 5) sorted by relevance
/art/runtime/ |
D | intern_table.cc | 104 const char* utf8_data) { in LookupStrong() argument 105 DCHECK_EQ(utf16_length, CountModifiedUtf8Chars(utf8_data)); in LookupStrong() 107 utf8_data, in LookupStrong() 108 ComputeUtf16HashFromModifiedUtf8(utf8_data, utf16_length)); in LookupStrong() 256 ObjPtr<mirror::String> InternTable::InternStrong(int32_t utf16_length, const char* utf8_data) { in InternStrong() argument 257 DCHECK(utf8_data != nullptr); in InternStrong() 260 ObjPtr<mirror::String> s = LookupStrong(self, utf16_length, utf8_data); in InternStrong() 265 self, utf16_length, utf8_data)); in InternStrong() 268 ObjPtr<mirror::String> InternTable::InternStrong(const char* utf8_data) { in InternStrong() argument 269 DCHECK(utf8_data != nullptr); in InternStrong() [all …]
|
D | intern_table.h | 62 Utf8String(uint32_t utf16_length, const char* utf8_data, int32_t hash) in Utf8String() argument 63 : hash_(hash), utf16_length_(utf16_length), utf8_data_(utf8_data) { } in Utf8String() 110 ObjPtr<mirror::String> InternStrong(int32_t utf16_length, const char* utf8_data) 123 ObjPtr<mirror::String> InternStrong(const char* utf8_data) REQUIRES_SHARED(Locks::mutator_lock_) 132 ObjPtr<mirror::String> InternWeak(const char* utf8_data) REQUIRES_SHARED(Locks::mutator_lock_) 149 ObjPtr<mirror::String> LookupStrong(Thread* self, uint32_t utf16_length, const char* utf8_data)
|
D | class_linker.cc | 8589 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); in DoResolveString() local 8590 ObjPtr<mirror::String> string = intern_table_->InternStrong(utf16_length, utf8_data); in DoResolveString() 8602 const char* utf8_data = dex_file.StringDataAndUtf16LengthByIdx(string_idx, &utf16_length); in DoLookupString() local 8604 intern_table_->LookupStrong(Thread::Current(), utf16_length, utf8_data); in DoLookupString()
|
/art/libdexfile/dex/ |
D | dex_file-inl.h | 35 inline std::string_view StringViewFromUtf16Length(const char* utf8_data, size_t utf16_length) { in StringViewFromUtf16Length() argument 36 size_t utf8_length = LIKELY(utf8_data[utf16_length] == 0) // Is ASCII? in StringViewFromUtf16Length() 38 : utf16_length + strlen(utf8_data + utf16_length); in StringViewFromUtf16Length() 39 return std::string_view(utf8_data, utf8_length); in StringViewFromUtf16Length()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 2045 const char* utf8_data = dex_file->StringDataAndUtf16LengthByIdx(dex::StringIndex(i), in ProcessDexFileObjects() local 2047 ObjPtr<mirror::String> string = intern_table->LookupStrong(self, utf16_length, utf8_data); in ProcessDexFileObjects()
|