Home
last modified time | relevance | path

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

/art/compiler/utils/
Dstring_reference_test.cc37 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()
Dtest_dex_file_builder_test.cc50 ASSERT_EQ(arraysize(expected_strings), dex_file->NumStringIds()); in TEST()
/art/runtime/mirror/
Ddex_cache.cc51 } 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()
Ddex_cache_test.cc54 || java_lang_dex_file_->NumStringIds() == dex_cache->NumStrings()); in TEST_F()
Ddex_cache-inl.h57 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds()); in StringSlotIndex()
/art/dexlayout/
Ddex_ir_builder.cc45 for (uint32_t i = 0; i < dex_file.NumStringIds(); ++i) { in DexIrBuilder()
/art/runtime/
Ddex_instruction.cc196 if (string_idx < file->NumStringIds()) { in DumpString()
339 if (string_idx < file->NumStringIds()) { in DumpString()
Dtransaction.cc191 DCHECK_LT(string_idx.index_, dex_cache->GetDexFile()->NumStringIds()); in RecordResolveString()
553 DCHECK_LT(string_idx_.index_, dex_cache->GetDexFile()->NumStringIds()); in ResolveStringLog()
Ddex_file.h540 size_t NumStringIds() const { in NumStringIds() function
547 DCHECK_LT(idx.index_, NumStringIds()) << GetLocation(); in GetStringId()
Ddex_file.cc753 int32_t hi = NumStringIds() - 1; in FindStringId()
792 int32_t hi = NumStringIds() - 1; in FindStringId()
Ddex_file_verifier.cc103 if (UNLIKELY(!CheckIndex(idx.index_, dex_file_->NumStringIds(), error_string))) { in CheckLoadStringByIdx()
2442 if (name_index >= dex_file_->NumStringIds()) { in CheckInterCallSiteIdItem()
Dclass_linker.cc1275 if (dex_file->NumStringIds() < num_strings) { in UpdateAppImageClassLoadersAndDexCaches()
1276 num_strings = dex_file->NumStringIds(); in UpdateAppImageClassLoadersAndDexCaches()
/art/compiler/
Dverifier_deps_test.cc484 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()
Dimage_writer.cc466 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/
Dcompiler_driver_test.cc114 EXPECT_EQ(dex.NumStringIds(), dex_cache->NumStrings()); in TEST_F()
/art/runtime/verifier/
Dverifier_deps.cc218 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/
Ddalvik_system_VMRuntime.cc440 total->num_strings += dex_file->NumStringIds(); in PreloadDexCachesStatsTotal()
/art/oatdump/
Doatdump.cc796 : num_string_ids_(dex_file.NumStringIds()), in DexFileData()