Home
last modified time | relevance | path

Searched refs:NumTypeIds (Results 1 – 18 of 18) sorted by relevance

/art/runtime/mirror/
Ddex_cache.cc53 dex_file->NumTypeIds() != 0u || in InitializeDexCache()
66 TypeDexCacheType* types = (dex_file->NumTypeIds() == 0u) ? nullptr : in InitializeDexCache()
78 if (dex_file->NumTypeIds() < num_types) { in InitializeDexCache()
79 num_types = dex_file->NumTypeIds(); in InitializeDexCache()
Ddex_cache_test.cc56 || java_lang_dex_file_->NumTypeIds() == dex_cache->NumResolvedTypes()); in TEST_F()
Ddex_cache-inl.h93 DCHECK_LT(type_idx.index_, GetDexFile()->NumTypeIds()); in TypeSlotIndex()
/art/compiler/utils/
Dtest_dex_file_builder_test.cc64 ASSERT_EQ(arraysize(expected_types), dex_file->NumTypeIds()); in TEST()
/art/dexlayout/
Ddex_ir_builder.cc50 for (uint32_t i = 0; i < dex_file.NumTypeIds(); ++i) { in DexIrBuilder()
/art/runtime/
Ddex_file.h581 uint32_t NumTypeIds() const { in NumTypeIds() function
587 return idx.IsValid() && idx.index_ < NumTypeIds(); in IsTypeIndexValid()
592 DCHECK_LT(idx.index_, NumTypeIds()) << GetLocation(); in GetTypeId()
Ddex_file.cc793 int32_t hi = NumTypeIds() - 1; in FindTypeId()
832 int32_t hi = NumTypeIds() - 1; in FindTypeId()
1337 if (type_idx.index_ >= NumTypeIds()) { in PrettyType()
Ddex_file_test.cc468 for (size_t i = 0; i < java_lang_dex_file_->NumTypeIds(); i++) { in TEST_F()
Ddex_file_verifier.cc171 if (UNLIKELY(!CheckIndex(type_idx.index_, dex_file_->NumTypeIds(), error_string))) { in CheckLoadStringByTypeIdx()
2079 dex_file_->NumTypeIds(), in CheckInterProtoIdItem()
Dclass_linker_test.cc436 for (size_t i = 0; i < dex.NumTypeIds(); i++) { in AssertDexFile()
Dclass_linker.cc1389 if (dex_file->NumTypeIds() < num_types) { in Update()
1390 num_types = dex_file->NumTypeIds(); in Update()
/art/dex2oat/
Ddex2oat_image_test.cc73 for (size_t i = 0; i < dex_file->NumTypeIds(); ++i) { in VisitLibcoreDexes()
/art/compiler/driver/
Dcompiler_driver_test.cc119 EXPECT_EQ(dex.NumTypeIds(), dex_cache->NumResolvedTypes()); in TEST_F()
Dcompiler_driver.cc1838 context.ForAll(0, dex_file.NumTypeIds(), &visitor, thread_count); in ResolveDexFile()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc436 total->num_types += dex_file->NumTypeIds(); in PreloadDexCachesStatsTotal()
/art/profman/
Dprofman.cc635 if (kInvalidTypeIndex >= dex_file->NumTypeIds()) { in FindClass()
/art/compiler/
Dimage_writer.cc461 DCHECK_EQ(dex_file->NumTypeIds() != 0u, dex_cache->GetResolvedTypes() != nullptr); in PrepareDexCacheArraySlots()
1123 for (size_t i = 0, end = dex_cache->GetDexFile()->NumTypeIds(); i < end; ++i) { in PruneAndPreloadDexCache()
/art/oatdump/
Doatdump.cc821 num_type_ids_(dex_file.NumTypeIds()), in DexFileData()