Home
last modified time | relevance | path

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

/art/runtime/mirror/
Ddex_cache.cc58 size_t num_strings = std::min<size_t>(kDexCacheStringCacheSize, dex_file->NumStringIds()); in InitializeNativeFields() local
67 AllocArray<StringDexCacheType>(self, linear_alloc, num_strings); in InitializeNativeFields()
87 for (size_t i = 0; i < num_strings; ++i) { in InitializeNativeFields()
128 num_strings, in InitializeNativeFields()
191 const size_t num_strings = GetDexFile()->NumStringIds(); in AddPreResolvedStringsArray() local
192 if (num_strings != 0) { in AddPreResolvedStringsArray()
194 linear_alloc->AllocArray<GcRoot<mirror::String>>(self, num_strings); in AddPreResolvedStringsArray()
199 SetField32<false>(NumPreResolvedStringsOffset(), num_strings); in AddPreResolvedStringsArray()
211 uint32_t num_strings, in SetNativeArrays() argument
222 CHECK_EQ(num_strings != 0u, strings != nullptr); in SetNativeArrays()
[all …]
Ddex_cache.h459 static size_t PreResolvedStringsSize(size_t num_strings) { in PreResolvedStringsSize() argument
460 return sizeof(GcRoot<mirror::String>) * num_strings; in PreResolvedStringsSize()
478 uint32_t num_strings,
/art/runtime/verifier/
Dverifier_deps.cc492 uint32_t num_strings = reinterpret_cast<const uint32_t*>(*cursor)[0]; in DecodeStringVector() local
494 strings->reserve(num_strings); in DecodeStringVector()
497 *cursor += sizeof(uint32_t) + num_strings * sizeof(uint32_t); in DecodeStringVector()
498 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.cc3240 for (size_t i = 0, num_strings = header_->string_ids_size_; i != num_strings; ++i) { in CheckInterSection() local