Home
last modified time | relevance | path

Searched refs:num_strings (Results 1 – 7 of 7) sorted by relevance

/art/runtime/mirror/
Ddex_cache.cc71 size_t num_strings = kDexCacheStringCacheSize; in InitializeDexCache() local
72 if (dex_file->NumStringIds() < num_strings) { in InitializeDexCache()
73 num_strings = dex_file->NumStringIds(); in InitializeDexCache()
122 for (size_t i = 0; i < num_strings; ++i) { in InitializeDexCache()
164 num_strings, in InitializeDexCache()
222 const size_t num_strings = GetDexFile()->NumStringIds(); in AddPreResolvedStringsArray() local
223 if (num_strings != 0) { in AddPreResolvedStringsArray()
225 linear_alloc->AllocArray<GcRoot<mirror::String>>(self, num_strings); in AddPreResolvedStringsArray()
230 SetField32<false>(NumPreResolvedStringsOffset(), num_strings); in AddPreResolvedStringsArray()
244 uint32_t num_strings, in Init() argument
[all …]
Ddex_cache.h468 static size_t PreResolvedStringsSize(size_t num_strings) { in PreResolvedStringsSize() argument
469 return sizeof(GcRoot<mirror::String>) * num_strings; in PreResolvedStringsSize()
489 uint32_t num_strings,
/art/runtime/native/
Ddalvik_system_VMRuntime.cc479 uint32_t num_strings; member
483 DexCacheStats() : num_strings(0), in DexCacheStats()
510 total->num_strings += dex_file->NumStringIds(); in PreloadDexCachesStatsTotal()
533 for (size_t j = 0, num_strings = dex_cache->NumStrings(); j < num_strings; ++j) { in PreloadDexCachesStatsFilled() local
536 filled->num_strings++; in PreloadDexCachesStatsFilled()
627 total.num_strings, before.num_strings, after.num_strings); in VMRuntime_preloadDexCaches()
/art/runtime/verifier/
Dverifier_deps.cc729 uint32_t num_strings; in DecodeStringVector() local
730 if (UNLIKELY(!DecodeUnsignedLeb128Checked(in, end, &num_strings))) { in DecodeStringVector()
734 strings->reserve(num_strings); in DecodeStringVector()
736 for (uint32_t i = 0; i < num_strings; ++i) { in DecodeStringVector()
/art/dexlayout/
Ddexlayout.cc1620 const size_t num_strings = header_->StringIds().Size(); in LayoutStringData() local
1621 std::vector<bool> is_shorty(num_strings, false); in LayoutStringData()
1622 std::vector<bool> from_hot_method(num_strings, false); in LayoutStringData()
/art/libdexfile/dex/
Ddex_file_verifier.cc3241 for (size_t i = 0, num_strings = header_->string_ids_size_; i != num_strings; ++i) { in CheckInterSection() local
/art/dex2oat/linker/
Dimage_writer.cc2324 const size_t num_strings = dex_cache->NumStrings(); in CollectStringReferenceInfo() local
2325 for (uint32_t index = 0; index != num_strings; ++index) { in CollectStringReferenceInfo()