Searched refs:intern_table (Results 1 – 10 of 10) sorted by relevance
/art/runtime/ |
D | intern_table_test.cc | 34 InternTable intern_table; in TEST_F() local 36 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 37 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 40 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F() 204 InternTable intern_table; in TEST_F() local 206 Handle<mirror::String> foo(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 207 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F() 208 Handle<mirror::String> foobar(hs.NewHandle(intern_table.InternStrong(6, "foobar"))); in TEST_F() 218 ObjPtr<mirror::String> lookup_foo = intern_table.LookupStrong(soa.Self(), 3, "foo"); in TEST_F() 220 ObjPtr<mirror::String> lookup_bar = intern_table.LookupStrong(soa.Self(), 3, "bar"); in TEST_F() [all …]
|
D | transaction.cc | 331 InternTable* const intern_table = Runtime::Current()->GetInternTable(); in UndoInternStringTableModifications() local 335 string_log.Undo(intern_table); in UndoInternStringTableModifications() 582 void Transaction::InternStringLog::Undo(InternTable* intern_table) const { in Undo() 583 DCHECK(intern_table != nullptr); in Undo() 588 intern_table->RemoveStrongFromTransaction(str_.Read()); in Undo() 591 intern_table->RemoveWeakFromTransaction(str_.Read()); in Undo() 602 intern_table->InsertStrongFromTransaction(str_.Read()); in Undo() 605 intern_table->InsertWeakFromTransaction(str_.Read()); in Undo()
|
D | aot_class_linker.h | 33 explicit AotClassLinker(InternTable *intern_table);
|
D | aot_class_linker.cc | 30 AotClassLinker::AotClassLinker(InternTable* intern_table) in AotClassLinker() argument 31 : ClassLinker(intern_table, /*fast_class_not_found_exceptions=*/ false) {} in AotClassLinker()
|
D | transaction.h | 247 void Undo(InternTable* intern_table) const
|
D | class_linker.cc | 613 ClassLinker::ClassLinker(InternTable* intern_table, bool fast_class_not_found_exceptions) in ClassLinker() argument 620 intern_table_(intern_table), in ClassLinker() 1610 InternTable* const intern_table = runtime->GetInternTable(); in HandleAppImageStrings() local 1619 const size_t non_boot_image_strings = intern_table->CountInterns( in HandleAppImageStrings() 1628 ObjPtr<mirror::String> existing = intern_table->LookupWeakLocked(string); in HandleAppImageStrings() 1630 existing = intern_table->LookupStrongLocked(string); in HandleAppImageStrings() 1640 intern_table->VisitInterns([&](const GcRoot<mirror::String>& root) in HandleAppImageStrings() 1655 CHECK(intern_table->LookupWeakLocked(string) == nullptr) << string->ToModifiedUtf8(); in HandleAppImageStrings() 1656 CHECK(intern_table->LookupStrongLocked(string) == nullptr) << string->ToModifiedUtf8(); in HandleAppImageStrings() 1660 intern_table->AddImageStringsToTable(space, func); in HandleAppImageStrings()
|
D | Android.bp | 140 "intern_table.cc",
|
D | class_linker.h | 155 explicit ClassLinker(InternTable* intern_table,
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1944 InternTable* const intern_table = Runtime::Current()->GetInternTable(); in ProcessInterns() local 1946 DCHECK_EQ(std::count_if(intern_table->strong_interns_.tables_.begin(), in ProcessInterns() 1947 intern_table->strong_interns_.tables_.end(), in ProcessInterns() 1952 DCHECK(!intern_table->strong_interns_.tables_.back().IsBootImage()); in ProcessInterns() 1953 const InternTable::UnorderedSet& intern_set = intern_table->strong_interns_.tables_.back().set_; in ProcessInterns() 2803 const InternTable::UnorderedSet& intern_table = *image_info.intern_table_; in CopyAndFixupNativeData() local 2806 const size_t intern_table_bytes = intern_table.WriteToMemory(intern_table_memory_ptr); in CopyAndFixupNativeData() 2817 CHECK_EQ(temp_intern_table.Size(), intern_table.size()); in CopyAndFixupNativeData() 2824 CHECK_EQ(temp_intern_table.strong_interns_.tables_[0].Size(), intern_table.size()); in CopyAndFixupNativeData()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 2131 InternTable intern_table; in TEST_F() local 2132 intern_table.AddImageStringsToTable(space.get(), [&](InternTable::UnorderedSet& interns) in TEST_F() 2155 intern_table.VisitInterns([&](const GcRoot<mirror::String>& root) in TEST_F() 2159 intern_table.VisitInterns([&](const GcRoot<mirror::String>& root) in TEST_F()
|