Home
last modified time | relevance | path

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

/art/libdexfile/dex/
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.cc49 ASSERT_EQ(arraysize(expected_strings), dex_file->NumStringIds()); in TEST()
Ddex_file_tracking_registrar.cc220 for (size_t stringid_ctr = 0; stringid_ctr < dex_file_->NumStringIds(); ++stringid_ctr) { in SetAllStringDataStartRegistration()
Ddex_instruction.cc205 if (string_idx < file->NumStringIds()) { in DumpString()
348 if (string_idx < file->NumStringIds()) { in DumpString()
Ddex_file.h237 size_t NumStringIds() const { in NumStringIds() function
244 DCHECK_LT(idx.index_, NumStringIds()) << GetLocation(); in GetStringId()
Ddex_file.cc312 int32_t hi = NumStringIds() - 1; in FindStringId()
Ddex_file_verifier.cc2902 if (name_index >= dex_file_->NumStringIds()) { in CheckInterCallSiteIdItem()
/art/runtime/mirror/
Ddex_cache.cc50 if (dex_file->NumStringIds() != 0u || in InitializeDexCache()
62 StringDexCacheType* strings = (dex_file->NumStringIds() == 0u) ? nullptr : in InitializeDexCache()
72 if (dex_file->NumStringIds() < num_strings) { in InitializeDexCache()
73 num_strings = dex_file->NumStringIds(); in InitializeDexCache()
222 const size_t num_strings = GetDexFile()->NumStringIds(); in AddPreResolvedStringsArray()
234 for (size_t i = 0; i < GetDexFile()->NumStringIds(); ++i) { in AddPreResolvedStringsArray()
Ddex_cache-inl.h80 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds()); in StringSlotIndex()
94 DCHECK_EQ(num_preresolved_strings, GetDexFile()->NumStringIds()); in GetResolvedString()
120 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds()); in SetPreResolvedString()
Ddex_cache_test.cc54 || java_lang_dex_file_->NumStringIds() == dex_cache->NumStrings()); in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc108 dex_file->NumStringIds(), in StoreStringInBss()
/art/dex2oat/
Dverifier_deps_test.cc512 ASSERT_LT(id_Main1.index_, primary_dex_file_->NumStringIds()); in TEST_F()
516 ASSERT_LT(id_Main2.index_, primary_dex_file_->NumStringIds()); in TEST_F()
520 ASSERT_GE(id_Lorem1.index_, primary_dex_file_->NumStringIds()); in TEST_F()
524 ASSERT_GE(id_Lorem2.index_, primary_dex_file_->NumStringIds()); in TEST_F()
Ddex2oat_test.cc2411 ASSERT_EQ(dex_file->NumStringIds(), dex_cache->NumPreResolvedStrings()); in TEST_F()
/art/runtime/
Dtransaction.cc264 DCHECK_LT(string_idx.index_, dex_cache->GetDexFile()->NumStringIds()); in RecordResolveString()
631 DCHECK_LT(string_idx_.index_, dex_cache->GetDexFile()->NumStringIds()); in ResolveStringLog()
/art/dex2oat/driver/
Dcompiler_driver_test.cc127 EXPECT_EQ(dex.NumStringIds(), dex_cache->NumStrings()); in TEST_F()
/art/tools/dexanalyze/
Ddexanalyze_strings.cc426 for (size_t i = 0; i < dex_file->NumStringIds(); ++i) { in ProcessDexFiles()
Ddexanalyze_experiments.cc239 num_string_ids_ += dex_file.NumStringIds(); in ProcessDexFile()
/art/runtime/verifier/
Dverifier_deps.cc232 uint32_t num_ids_in_dex = dex_file.NumStringIds(); in GetIdFromString()
256 uint32_t num_ids_in_dex = dex_file.NumStringIds(); in GetStringFromId()
Dmethod_verifier.cc4200 { EncodedArrayValueIterator::ValueType::kString, dex_file_->NumStringIds() }, in CheckCallSite()
/art/dexlayout/
Ddex_ir_builder.cc265 dex_file.NumStringIds(), in DexIrBuilder()
275 for (uint32_t i = 0; i < dex_file.NumStringIds(); ++i) { in DexIrBuilder()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc510 total->num_strings += dex_file->NumStringIds(); in PreloadDexCachesStatsTotal()
/art/dex2oat/linker/
Dimage_writer.cc686 if (dex_file->NumTypeIds() + dex_file->NumStringIds() + dex_file->NumMethodIds() + in PrepareDexCacheArraySlots()
705 DCHECK_EQ(dex_file->NumStringIds() != 0u, dex_cache->GetStrings() != nullptr); in PrepareDexCacheArraySlots()
1371 for (size_t i = 0, end = dex_cache->GetDexFile()->NumStringIds(); i < end; ++i) { in PreloadDexCache()
2043 for (size_t i = 0, count = dex_file->NumStringIds(); i < count; ++i) { in ProcessDexFileObjects()
Doat_writer.cc923 target_string.dex_file->NumStringIds(), in VisitMethod()
2178 dex_file->NumStringIds(), in InitIndexBssMappings()
2986 dex_file->NumStringIds(), in WriteIndexBssMappings()
/art/oatdump/
Doatdump.cc547 dex_file->NumStringIds(), in Dump()