Home
last modified time | relevance | path

Searched refs:GetDexCache (Results 1 – 25 of 50) sorted by relevance

12

/art/runtime/
Dclass_linker-inl.h81 ObjPtr<mirror::Class> resolved_type = referrer->GetDexCache()->GetResolvedType(type_idx); in ResolveType()
85 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveType()
197 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod()
235 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod()
247 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in ResolveMethod()
280 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in LookupResolvedField()
294 referrer->GetDexCache()->GetResolvedField(field_idx, image_pointer_size_); in ResolveField()
297 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveField()
Dart_method-inl.h116 DCHECK_LT(slot_idx, GetInterfaceMethodIfProxy(pointer_size)->GetDexCache()->NumResolvedMethods()); in GetDexCacheResolvedMethod()
137 DCHECK_LT(slot_idx, GetInterfaceMethodIfProxy(pointer_size)->GetDexCache()->NumResolvedMethods()); in SetDexCacheResolvedMethod()
160 ObjPtr<mirror::DexCache> dex_cache = GetDexCache(); in GetClassFromTypeIndex()
232 return GetDexCache<kWithoutReadBarrier>()->GetDexFile(); in GetDexFile()
365 inline mirror::DexCache* ArtMethod::GetDexCache() { in GetDexCache() function
368 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
Dart_field-inl.h312 auto* dex_cache = declaring_class->GetDexCache(); in GetType()
334 inline ObjPtr<mirror::DexCache> ArtField::GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexCache() function
335 return GetDeclaringClass()->GetDexCache(); in GetDexCache()
339 return GetDexCache()->GetDexFile(); in GetDexFile()
345 ObjPtr<mirror::DexCache> dex_cache = GetDexCache(); in GetStringName()
Dart_method.cc71 ArtMethod* ret = declaring_class->FindInterfaceMethod(declaring_class->GetDexCache(), in GetCanonicalMethod()
141 Handle<mirror::DexCache> dex_cache(hs.NewHandle(GetDexCache())); in GetNameAsString()
192 if (GetDexCache() == other->GetDexCache()) { in HasSameNameAndSignature()
547 GetOatMethodIndexFromMethodIndex(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
550 OatFile::OatClass oat_class = OatFile::FindOatClass(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
560 auto* dex_cache = GetDexCache(); in EqualParameters()
Ddex_file_annotations.cc73 ObjPtr<mirror::DexCache> GetDexCache() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexCache() function in art::__anon607cc5e80111::ClassData
75 return method_->GetDexCache(); in GetDexCache()
77 return real_klass_->GetDexCache(); in GetDexCache()
327 hs.NewHandle(klass.GetDexCache()), in ProcessEncodedAnnotation()
440 klass.GetDexFile(), dex::StringIndex(index), hs.NewHandle(klass.GetDexCache())); in ProcessAnnotationValue()
458 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
485 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
524 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
553 hs.NewHandle(klass.GetDexCache()), in ProcessAnnotationValue()
787 hs.NewHandle(klass.GetDexCache()), in GetAnnotationItemFromAnnotationSet()
[all …]
Dcommon_throws.cc419 Thread::Current()->GetCurrentMethod(nullptr)->GetDeclaringClass()->GetDexCache(); in ThrowNullPointerExceptionForMethodAccess()
426 ObjPtr<mirror::DexCache> dex_cache = method->GetDeclaringClass()->GetDexCache(); in ThrowNullPointerExceptionForMethodAccess()
552 const DexFile* dex_file = method->GetDeclaringClass()->GetDexCache()->GetDexFile(); in ThrowNullPointerExceptionFromDexPC()
702 method->GetDeclaringClass()->GetDexCache()->GetDexFile(); in ThrowNullPointerExceptionFromDexPC()
Dart_field.h213 ObjPtr<mirror::DexCache> GetDexCache() REQUIRES_SHARED(Locks::mutator_lock_);
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc35 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_cloneResolvedMethods()
70 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods()
73 soa.Decode<mirror::Class>(cls)->GetDexCache()->GetResolvedMethods(); in Java_Main_restoreResolvedMethods()
/art/runtime/mirror/
Dfield-inl.h56 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, kPointerSize); in CreateFromArtField()
69 field->GetDexCache()->SetResolvedField(dex_field_index, field, kPointerSize); in CreateFromArtField()
Ddex_cache_test.cc90 EXPECT_TRUE(linear_alloc->Contains(klass->GetDexCache()->GetResolvedMethods())); in TEST_F()
106 EXPECT_EQ(klass1->GetDexCache(), klass2->GetDexCache()); in TEST_F()
114 klass1->GetDexCache(), in TEST_F()
Dfield.cc70 mirror::DexCache* const dex_cache = declaring_class->GetDexCache(); in GetArtField()
Dclass.cc576 ObjPtr<DexCache> this_dex_cache = GetDexCache(); in FindClassMethod()
610 if (klass->GetDexCache() == dex_cache) { in FindClassMethod()
820 if (GetDexCache() == dex_cache) { in FindDeclaredInstanceField()
860 if (dex_cache == GetDexCache()) { in FindDeclaredStaticField()
1017 type_idx, klass->GetDexCache(), klass->GetClassLoader()); in GetDirectInterface()
1060 ObjPtr<DexCache> dex_cache = GetDexCache(); in GetLocation()
1346 if (h_this->IsProxyClass() || h_this->GetDexCache() == nullptr) { in GetInnerClassFlags()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h83 ObjPtr<mirror::DexCache> dex_cache = caller->GetDexCache(); in GetResolvedMethod()
248 mirror::Class* klass = method->GetDexCache()->GetResolvedType(type_idx); in CheckArrayAlloc()
349 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(method->GetDexCache())); in FindFieldFromCode()
375 referrer->GetDexCache(), in FindFieldFromCode()
611 referrer->GetDexCache()->GetResolvedField(field_idx, kRuntimePointerSize); in FindFieldFast()
668 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in FindMethodFast()
756 ObjPtr<mirror::String> string = referrer->GetDexCache()->GetResolvedString(string_idx); in ResolveString()
759 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveString()
768 ObjPtr<mirror::String> string = referrer->GetDexCache()->GetResolvedString(string_idx); in ResolveStringFromCode()
771 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveStringFromCode()
/art/runtime/native/
Djava_lang_Class.cc153 type_idx, klass->GetDexCache(), klass->GetClassLoader())); in Class_getInterfacesInternal()
508 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotation()
520 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getDeclaredAnnotations()
538 if (!klass->IsProxyClass() && klass->GetDexCache() != nullptr) { in Class_getDeclaredClasses()
562 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingClass()
572 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingConstructorNative()
589 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getEnclosingMethodNative()
613 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getInnerClassName()
627 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_getSignatureAnnotation()
638 if (klass->IsProxyClass() || klass->GetDexCache() == nullptr) { in Class_isAnonymousClass()
[all …]
/art/runtime/verifier/
Dmethod_verifier-inl.h49 inline mirror::DexCache* MethodVerifier::GetDexCache() { in GetDexCache() function
/art/compiler/driver/
Ddex_compilation_unit.h111 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() function
/art/compiler/optimizing/
Dbuilder.h59 dex_compilation_unit->GetDexCache(), in HGraphBuilder()
Dinliner.cc281 if (cls->GetDexCache() == nullptr) { in FindClassIndexIn()
288 DCHECK_EQ(cls->GetDexCache(), compilation_unit.GetDexCache().Get()); in FindClassIndexIn()
297 index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in FindClassIndexIn()
801 outer_compilation_unit_.GetDexCache(), in TryInlineMonomorphicCall()
1001 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCall()
1197 outer_compilation_unit_.GetDexCache(), in TryInlinePolymorphicCallToSameTarget()
1279 outer_compilation_unit_.GetDexCache(), in TryInlineAndReplace()
1555 Handle<mirror::DexCache> dex_cache = handles_->NewHandle(referrer->GetDexCache()); in CreateInstanceFieldGet()
1616 Handle<mirror::DexCache> dex_cache = NewHandleIfDifferent(resolved_method->GetDexCache(), in TryBuildAndInlineHelper()
1617 caller_compilation_unit_.GetDexCache(), in TryBuildAndInlineHelper()
[all …]
Dsharpening.cc249 ? compilation_unit_.GetDexCache() in ProcessLoadString()
Dinstruction_builder.cc718 dex_compilation_unit_->GetDexCache(), in ResolveMethod()
753 dex_compilation_unit_->GetDexCache().Get(), in ResolveMethod()
1340 Handle<mirror::DexCache> dex_cache = compilation_unit.GetDexCache(); in GetClassFrom()
1356 Handle<mirror::DexCache> dex_cache = dex_compilation_unit_->GetDexCache(); in IsOutermostCompilingClass()
1398 dex_compilation_unit_->GetDexCache(), in ResolveField()
1421 dex_compilation_unit_->GetDexCache().Get(), in ResolveField()
1715 soa, dex_compilation_unit_->GetDexCache(), class_loader, type_index, dex_compilation_unit_)); in BuildLoadClass()
2836 type_index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in LookupResolvedType()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc28 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_nativeClearResolvedTypes()
/art/compiler/dex/
Dinline_method_analyser.cc149 method_index, method->GetDexCache(), method->GetClassLoader()); in GetTargetConstructor()
344 target_method->GetDexCache() != method->GetDexCache()) { in DoAnalyseConstructor()
712 ObjPtr<mirror::DexCache> dex_cache = method->GetDexCache(); in ComputeSpecialAccessorInfo()
/art/compiler/
Dexception_test.cc56 dex_ = my_klass_->GetDexCache()->GetDexFile(); in SetUp()
/art/runtime/interpreter/
Dinterpreter_common.h314 ObjPtr<mirror::String> string_ptr = method->GetDexCache()->GetResolvedString(string_idx); in ResolveString()
317 Handle<mirror::DexCache> dex_cache(hs.NewHandle(method->GetDexCache())); in ResolveString()
Dinterpreter_common.cc586 hs.NewHandle<mirror::DexCache>(caller_class->GetDexCache()), in DoInvokePolymorphic()
643 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in InvokeBootstrapMethod()
862 Handle<mirror::DexCache> dex_cache(hs.NewHandle(shadow_frame.GetMethod()->GetDexCache())); in DoInvokeCustom()
1067 ObjPtr<mirror::Class> arg_type = method->GetDexCache()->GetResolvedType(type_idx); in DoCallCommon()

12