Searched refs:num_strings (Results 1 – 5 of 5) sorted by relevance
/art/runtime/mirror/ |
D | dex_cache.cc | 69 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 …]
|
D | dex_cache.h | 466 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/ |
D | dalvik_system_VMRuntime.cc | 474 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/ |
D | verifier_deps.cc | 707 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/ |
D | dexlayout.cc | 1616 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()
|