Home
last modified time | relevance | path

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

/art/runtime/mirror/
Ddex_cache.cc69 size_t num_strings = kDexCacheStringCacheSize; in InitializeDexCache() local
70 if (dex_file->NumStringIds() < num_strings) { in InitializeDexCache()
71 num_strings = dex_file->NumStringIds(); in InitializeDexCache()
120 for (size_t i = 0; i < num_strings; ++i) { in InitializeDexCache()
162 num_strings, in InitializeDexCache()
179 const size_t num_strings = GetDexFile()->NumStringIds(); in AddPreResolvedStringsArray() local
181 linear_alloc->AllocArray<GcRoot<mirror::String>>(self, num_strings); in AddPreResolvedStringsArray()
186 SetField32<false>(NumPreResolvedStringsOffset(), num_strings); in AddPreResolvedStringsArray()
199 uint32_t num_strings, in Init() argument
212 CHECK_EQ(num_strings != 0u, strings != nullptr); in Init()
[all …]
Ddex_cache.h466 static size_t PreResolvedStringsSize(size_t num_strings) { in PreResolvedStringsSize() argument
467 return sizeof(GcRoot<mirror::String>) * num_strings; in PreResolvedStringsSize()
483 uint32_t num_strings,
/art/runtime/native/
Ddalvik_system_VMRuntime.cc474 uint32_t num_strings; member
478 DexCacheStats() : num_strings(0), in DexCacheStats()
505 total->num_strings += dex_file->NumStringIds(); in PreloadDexCachesStatsTotal()
528 for (size_t j = 0, num_strings = dex_cache->NumStrings(); j < num_strings; ++j) { in PreloadDexCachesStatsFilled() local
531 filled->num_strings++; in PreloadDexCachesStatsFilled()
622 total.num_strings, before.num_strings, after.num_strings); in VMRuntime_preloadDexCaches()
/art/runtime/verifier/
Dverifier_deps.cc707 size_t num_strings = DecodeUint32WithOverflowCheck(in, end); in DecodeStringVector() local
708 strings->reserve(num_strings); in DecodeStringVector()
709 for (size_t i = 0; i < num_strings; ++i) { in DecodeStringVector()
/art/dexlayout/
Ddexlayout.cc1616 const size_t num_strings = header_->StringIds().Size(); in LayoutStringData() local
1617 std::vector<bool> is_shorty(num_strings, false); in LayoutStringData()
1618 std::vector<bool> from_hot_method(num_strings, false); in LayoutStringData()