Searched refs:NumStringIds (Results 1 – 18 of 18) sorted by relevance
/art/compiler/utils/ |
D | string_reference_test.cc | 37 ASSERT_EQ(1u, dex_file1->NumStringIds()); in TEST() 44 ASSERT_EQ(1u, dex_file2->NumStringIds()); in TEST() 82 ASSERT_EQ(arraysize(kDexFile1Strings), dex_file1->NumStringIds()); in TEST() 93 ASSERT_EQ(arraysize(kDexFile2Strings), dex_file2->NumStringIds()); in TEST()
|
D | test_dex_file_builder_test.cc | 50 ASSERT_EQ(arraysize(expected_strings), dex_file->NumStringIds()); in TEST()
|
/art/runtime/mirror/ |
D | dex_cache.cc | 51 } else if (dex_file->NumStringIds() != 0u || in InitializeDexCache() 63 mirror::StringDexCacheType* strings = (dex_file->NumStringIds() == 0u) ? nullptr : in InitializeDexCache() 73 if (dex_file->NumStringIds() < num_strings) { in InitializeDexCache() 74 num_strings = dex_file->NumStringIds(); in InitializeDexCache()
|
D | dex_cache_test.cc | 54 || java_lang_dex_file_->NumStringIds() == dex_cache->NumStrings()); in TEST_F()
|
D | dex_cache-inl.h | 57 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds()); in StringSlotIndex()
|
/art/dexlayout/ |
D | dex_ir_builder.cc | 45 for (uint32_t i = 0; i < dex_file.NumStringIds(); ++i) { in DexIrBuilder()
|
/art/runtime/ |
D | dex_instruction.cc | 196 if (string_idx < file->NumStringIds()) { in DumpString() 339 if (string_idx < file->NumStringIds()) { in DumpString()
|
D | transaction.cc | 191 DCHECK_LT(string_idx.index_, dex_cache->GetDexFile()->NumStringIds()); in RecordResolveString() 553 DCHECK_LT(string_idx_.index_, dex_cache->GetDexFile()->NumStringIds()); in ResolveStringLog()
|
D | dex_file.h | 540 size_t NumStringIds() const { in NumStringIds() function 547 DCHECK_LT(idx.index_, NumStringIds()) << GetLocation(); in GetStringId()
|
D | dex_file.cc | 753 int32_t hi = NumStringIds() - 1; in FindStringId() 792 int32_t hi = NumStringIds() - 1; in FindStringId()
|
D | dex_file_verifier.cc | 103 if (UNLIKELY(!CheckIndex(idx.index_, dex_file_->NumStringIds(), error_string))) { in CheckLoadStringByIdx() 2442 if (name_index >= dex_file_->NumStringIds()) { in CheckInterCallSiteIdItem()
|
D | class_linker.cc | 1275 if (dex_file->NumStringIds() < num_strings) { in UpdateAppImageClassLoadersAndDexCaches() 1276 num_strings = dex_file->NumStringIds(); in UpdateAppImageClassLoadersAndDexCaches()
|
/art/compiler/ |
D | verifier_deps_test.cc | 484 ASSERT_LT(id_Main1.index_, primary_dex_file_->NumStringIds()); in TEST_F() 488 ASSERT_LT(id_Main2.index_, primary_dex_file_->NumStringIds()); in TEST_F() 492 ASSERT_GE(id_Lorem1.index_, primary_dex_file_->NumStringIds()); in TEST_F() 496 ASSERT_GE(id_Lorem2.index_, primary_dex_file_->NumStringIds()); in TEST_F()
|
D | image_writer.cc | 466 DCHECK_EQ(dex_file->NumStringIds() != 0u, dex_cache->GetStrings() != nullptr); in PrepareDexCacheArraySlots() 1025 for (size_t i = 0, end = dex_cache->GetDexFile()->NumStringIds(); i < end; ++i) { in PruneAndPreloadDexCache() 1606 for (size_t i = 0, count = dex_file->NumStringIds(); i < count; ++i) { in CalculateNewObjectOffsets()
|
/art/compiler/driver/ |
D | compiler_driver_test.cc | 114 EXPECT_EQ(dex.NumStringIds(), dex_cache->NumStrings()); in TEST_F()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 218 uint32_t num_ids_in_dex = dex_file.NumStringIds(); in GetIdFromString() 242 uint32_t num_ids_in_dex = dex_file.NumStringIds(); in GetStringFromId()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 440 total->num_strings += dex_file->NumStringIds(); in PreloadDexCachesStatsTotal()
|
/art/oatdump/ |
D | oatdump.cc | 796 : num_string_ids_(dex_file.NumStringIds()), in DexFileData()
|