Lines Matching refs:DexCache
68 using ::art::mirror::DexCache;
434 mirror::DexCache* dex_cache =
435 down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
465 void ImageWriter::AddDexCacheArrayRelocation(void* array, size_t offset, DexCache* dex_cache) {
876 mirror::DexCache* dex_cache = self->DecodeJObject(data.weak_root)->AsDexCache();
886 mirror::DexCache::GetElementPtrSize(resolved_methods, i, target_ptr_size_);
893 mirror::DexCache::SetElementPtrSize(resolved_methods,
905 ArtField* field = mirror::DexCache::GetElementPtrSize(resolved_fields, i, target_ptr_size_);
912 dex_cache->SetFieldObject<false>(mirror::DexCache::DexOffset(), nullptr);
1036 mirror::DexCache* dex_cache =
1037 down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
1055 mirror::DexCache* dex_cache =
1056 down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
1069 mirror::DexCache* dex_cache =
1070 down_cast<mirror::DexCache*>(self->DecodeJObject(data.weak_root));
1146 mirror::DexCache* dex_cache = as_klass->GetDexCache();
1920 T* ImageWriter::NativeCopyLocation(T* obj, mirror::DexCache* dex_cache) {
1990 FixupDexCache(down_cast<mirror::DexCache*>(orig), down_cast<mirror::DexCache*>(copy));
2022 void ImageWriter::FixupDexCache(mirror::DexCache* orig_dex_cache,
2023 mirror::DexCache* copy_dex_cache) {
2024 // Though the DexCache array fields are usually treated as native pointers, we set the full
2030 copy_dex_cache->SetFieldPtrWithSize<false>(mirror::DexCache::StringsOffset(),
2038 copy_dex_cache->SetFieldPtrWithSize<false>(mirror::DexCache::ResolvedTypesOffset(),
2046 copy_dex_cache->SetFieldPtrWithSize<false>(mirror::DexCache::ResolvedMethodsOffset(),
2051 ArtMethod* orig = mirror::DexCache::GetElementPtrSize(orig_methods, i, target_ptr_size_);
2054 mirror::DexCache::SetElementPtrSize(copy_methods, i, copy, target_ptr_size_);
2059 copy_dex_cache->SetFieldPtrWithSize<false>(mirror::DexCache::ResolvedFieldsOffset(),
2064 ArtField* orig = mirror::DexCache::GetElementPtrSize(orig_fields, i, target_ptr_size_);
2066 mirror::DexCache::SetElementPtrSize(copy_fields, i, copy, target_ptr_size_);
2278 mirror::DexCache* dex_cache =
2296 size_t ImageWriter::GetOatIndexForDexCache(mirror::DexCache* dex_cache) const {