/art/runtime/mirror/ |
D | field.cc | 34 SetDeclaringClass<false>(new_value->GetDeclaringClass()); in VisitTarget() 36 IsStatic() ? GetDeclaringClass()->GetSFields() : GetDeclaringClass()->GetIFields(); in VisitTarget() 47 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetArtField() 86 field->GetDeclaringClass()); in CreateFromArtField() 89 auto iter_range = field->IsStatic() ? field->GetDeclaringClass()->GetSFields() in CreateFromArtField() 90 : field->GetDeclaringClass()->GetIFields(); in CreateFromArtField()
|
D | executable.cc | 32 DeclaringClassOffset(), method->GetDeclaringClass()); in InitializeFromArtMethod() 34 DeclaringClassOfOverriddenMethodOffset(), interface_method->GetDeclaringClass()); in InitializeFromArtMethod()
|
D | executable-inl.h | 37 inline ObjPtr<mirror::Class> Executable::GetDeclaringClass() { in GetDeclaringClass() function 49 SetDeclaringClass(new_target->GetDeclaringClass()); in VisitTarget()
|
D | class-refvisitor-inl.h | 59 CHECK_EQ(field->GetDeclaringClass<kReadBarrierOption>(), this) in VisitNativeRoots() 60 << GetStatus() << field->GetDeclaringClass()->PrettyClass() << " != " << PrettyClass(); in VisitNativeRoots()
|
D | stack_trace_element-inl.h | 27 inline ObjPtr<String> StackTraceElement::GetDeclaringClass() { in GetDeclaringClass() function
|
D | field-inl.h | 31 inline ObjPtr<mirror::Class> Field::GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDeclaringClass() function
|
/art/runtime/ |
D | art_field.cc | 35 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in SetOffset() 65 result += PrettyDescriptor(GetDeclaringClass()->GetDescriptor(&temp)); in PrettyField()
|
D | art_field-inl.h | 40 return GetDeclaringClass<kWithoutReadBarrier>()->IsProxyClass<kVerifyNone>(); in IsProxyField() 45 ObjPtr<mirror::Class> declaring_class(GetDeclaringClass()); in CanBeChangedBy() 46 ObjPtr<mirror::Class> referring_class(method->GetDeclaringClass()); in CanBeChangedBy() 51 inline ObjPtr<mirror::Class> ArtField::GetDeclaringClass() { in GetDeclaringClass() function 90 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetOffsetDuringLinking() 96 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32() 106 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32() 116 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get64() 126 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set64() 138 (object == GetDeclaringClass<kReadBarrierOption>()) || in GetObj() [all …]
|
D | art_method-inl.h | 180 DCHECK(GetDeclaringClass()->IsInitialized()); // Used only for initialized well-known classes. 197 DCHECK(!GetDeclaringClass()->IsInterface()); 215 DCHECK(!GetDeclaringClass()->IsInterface()); 217 DCHECK(IsFinal() || GetDeclaringClass()->IsFinal()); 227 DCHECK(!GetDeclaringClass()->IsInterface()); 242 DCHECK(GetDeclaringClass()->IsInterface()); 258 inline ObjPtr<mirror::Class> ArtMethod::GetDeclaringClass() { 283 DCHECK(IsRuntimeMethod() || GetDeclaringClass()->IsResolved()); 311 GetDeclaringClass<kWithoutReadBarrier>()->IsStringClass(); 318 return GetDeclaringClass<kWithoutReadBarrier>()->IsInterface(); [all …]
|
D | art_method-alloc-inl.h | 51 DCHECK(!GetDeclaringClass()->IsInterface()); 52 DCHECK(GetDeclaringClass()->IsInitialized()); 55 MutableHandle<mirror::Object> new_object = hs.NewHandle(GetDeclaringClass()->AllocObject(self));
|
D | proxy_test.cc | 120 EXPECT_STREQ("L$Proxy1234;", field->GetDeclaringClass()->GetDescriptor(&temp)); in TEST_F() 129 EXPECT_STREQ("L$Proxy1234;", field->GetDeclaringClass()->GetDescriptor(&temp)); in TEST_F() 163 EXPECT_OBJ_PTR_EQ(static_fields0->At(0).GetDeclaringClass(), proxyClass0.Get()); in TEST_F() 164 EXPECT_OBJ_PTR_EQ(static_fields0->At(1).GetDeclaringClass(), proxyClass0.Get()); in TEST_F() 165 EXPECT_OBJ_PTR_EQ(static_fields1->At(0).GetDeclaringClass(), proxyClass1.Get()); in TEST_F() 166 EXPECT_OBJ_PTR_EQ(static_fields1->At(1).GetDeclaringClass(), proxyClass1.Get()); in TEST_F()
|
D | art_method.cc | 73 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetCanonicalMethod() 89 return &GetDeclaringClass()->GetDirectMethodsSlice(kRuntimePointerSize)[GetMethodIndex()]; in GetNonObsoleteMethod() 91 return GetDeclaringClass()->GetVTableEntry(GetMethodIndex(), kRuntimePointerSize); in GetNonObsoleteMethod() 130 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass<kReadBarrierOption>(); in GetObsoleteDexCache() 163 << "despite not being the original method pointer for " << GetDeclaringClass()->PrettyClass(); in GetObsoleteDexCache() 184 } else if (GetDeclaringClass()->IsInterface() && receiver != nullptr) { in ThrowInvocationTimeError() 218 } else if (GetDeclaringClass()->IsInterface()) { in GetInvokeType() 262 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in FindOverriddenMethod() 276 ObjPtr<mirror::IfTable> iftable = GetDeclaringClass()->GetIfTable(); in FindOverriddenMethod() 456 ObjPtr<mirror::Class> cls = GetDeclaringClass(); in IsSignaturePolymorphic() [all …]
|
D | proxy_test.h | 76 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass() 84 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass() 92 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
|
D | art_method_test.cc | 53 ArtMethod* unbox_method = value_of->GetDeclaringClass()->FindClassMethod( in TestBoxUnbox() 57 ASSERT_TRUE(value_of->GetDeclaringClass()->IsFinal()); in TestBoxUnbox() 65 ASSERT_OBJ_PTR_EQ(boxed->GetClass(), value_of->GetDeclaringClass()); in TestBoxUnbox()
|
D | hidden_api.cc | 189 ObjPtr<mirror::Class> declaring_class = m->GetDeclaringClass(); in GetReflectionCallerAccessContext() 238 (visitor.caller == nullptr) ? nullptr : visitor.caller->GetDeclaringClass(); in GetReflectionCallerAccessContext() 255 class_name_ = field->GetDeclaringClass()->GetDescriptor(&tmp_); in MemberSignature() 421 DCHECK(consumer_field->GetDeclaringClass()->IsInitialized()); in NotifyHiddenApiListener() 423 hs.NewHandle(consumer_field->GetObject(consumer_field->GetDeclaringClass())); in NotifyHiddenApiListener() 495 ObjPtr<mirror::Class> declaring_class = member->GetDeclaringClass(); in GetDexFlags() 692 if (member->GetDeclaringClass()->IsBootStrapClassLoaded() && in ShouldDenyAccessToMember() 713 const AccessContext callee_context(member->GetDeclaringClass()); in ShouldDenyAccessToMember()
|
D | cha.cc | 320 DCHECK(method_in_super->GetDeclaringClass()->IsResolved()) << "class isn't resolved"; in CheckVirtualMethodSingleImplementationInfo() 325 virtual_method->GetDeclaringClass() == klass.Get()); in CheckVirtualMethodSingleImplementationInfo() 498 if ((single_impl->GetDeclaringClass() == implementation_method->GetDeclaringClass())) { in CheckInterfaceMethodSingleImplementationInfo() 510 DCHECK(method->IsCopied() || method->GetDeclaringClass() == klass.Get()); in InitSingleImplementationFlag() 523 if (method->GetDeclaringClass()->IsInstantiable()) { in InitSingleImplementationFlag()
|
/art/runtime/jit/ |
D | small_pattern_matcher.cc | 52 ObjPtr<mirror::Class> cls = method->GetDeclaringClass(); in ReturnStaticFieldAt() 61 ObjPtr<mirror::Class> cls = method->GetDeclaringClass(); in ReturnStaticFieldObjectAt() 162 method->GetDeclaringClass()->GetSuperClass() != nullptr && in TryMatch() 163 method->GetDeclaringClass()->GetSuperClass()->IsObjectClass(); in TryMatch() 189 if (!target_method->GetDeclaringClass()->IsObjectClass()) { in TryMatch() 192 DCHECK(target_method->GetDeclaringClass()->IsVerified()); in TryMatch() 369 if (is_static && field->GetDeclaringClass() != method->GetDeclaringClass()) { in TryMatch() 376 field->GetDeclaringClass()->GetFirstReferenceStaticFieldOffset(kRuntimePointerSize); in TryMatch()
|
/art/runtime/native/ |
D | java_lang_reflect_Method.cc | 40 if (!method->GetDeclaringClass()->IsAnnotation()) { in Method_getDefaultValue() 49 if (method->GetDeclaringClass()->IsProxyClass()) { in Method_getExceptionTypes() 50 ObjPtr<mirror::Class> klass = method->GetDeclaringClass(); in Method_getExceptionTypes()
|
D | java_lang_reflect_Field.cc | 54 field->GetDeclaringClass() == nullptr ? "null" : in VerifyFieldAccess() 55 field->GetDeclaringClass()->PrettyClass().c_str()).c_str()); in VerifyFieldAccess() 61 field->GetDeclaringClass(), in VerifyFieldAccess() 70 field->GetDeclaringClass() == nullptr ? "null" : in VerifyFieldAccess() 71 field->GetDeclaringClass()->PrettyClass().c_str()).c_str()); in VerifyFieldAccess() 144 ObjPtr<mirror::Class> declaring_class = (*f)->GetDeclaringClass(); in CheckReceiver() 275 DCHECK(f->GetDeclaringClass()->IsInitializing()); in SetFieldValue() 348 ObjPtr<mirror::Class> declaring_class = field->GetDeclaringClass(); in ThrowIAEIfRecordFinalField() 497 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getAnnotationNative() 519 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getDeclaredAnnotations() [all …]
|
D | dalvik_system_VMStack.cc | 99 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader() 110 ObjPtr<mirror::Class> c = GetMethod()->GetDeclaringClass(); in VMStack_getClosestUserClassLoader() 139 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 61 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 72 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 79 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 86 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 93 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 100 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 113 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 121 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 131 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 138 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 314 ObjPtr<mirror::Class> referrer = method->GetDeclaringClass(); in CheckArrayAlloc() 402 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in ResolveFieldWithAccessChecks() 407 ObjPtr<mirror::Class> referring_class = caller->GetDeclaringClass(); in ResolveFieldWithAccessChecks() 446 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); 625 if (!referenced_class->IsAssignableFrom(referrer->GetDeclaringClass())) { in FindSuperMethodToCall() 627 resolved_method->GetDeclaringClass(), in FindSuperMethodToCall() 643 !resolved_method->GetDeclaringClass()->IsInterface()); in FindSuperMethodToCall() 646 ObjPtr<mirror::Class> super_class = referrer->GetDeclaringClass()->GetSuperClass(); in FindSuperMethodToCall() 654 resolved_method->GetDeclaringClass(), in FindSuperMethodToCall() 677 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveVerifyAndClinit() [all …]
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 296 DCHECK(!t->GetDeclaringClass().IsNull()) << "Null declaring class " << PrettyGeneric(t); in EncodeGenericId() 303 off = GetIdOffset(t->GetDeclaringClass(), Canonicalize(t), kRuntimePointerSize); in EncodeGenericId() 305 allocation_failure = EnsureIdsArray(self, t->GetDeclaringClass(), t.Get()); in EncodeGenericId() 311 } else if (ShouldReturnPointer(t->GetDeclaringClass(), t.Get())) { in EncodeGenericId() 319 ObjPtr<mirror::Class> klass = t->GetDeclaringClass(); in EncodeGenericId() 454 ObjPtr<mirror::Class> old_class(old_field->GetDeclaringClass()); in VisitReflectiveTargets() 455 ObjPtr<mirror::Class> new_class(new_field->GetDeclaringClass()); in VisitReflectiveTargets() 507 ObjPtr<mirror::Class> old_class(old_method->GetDeclaringClass()); in VisitReflectiveTargets() 508 ObjPtr<mirror::Class> new_class(new_method->GetDeclaringClass()); in VisitReflectiveTargets() 652 bool alloc_failure = EnsureIdsArray(self, (*t)->GetDeclaringClass(), *t); in EndDefer() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 50 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in FindFieldFast() 58 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFast() 119 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \ 124 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \ 180 field->Set ## Kind <false>(field->GetDeclaringClass(), new_value); \
|
/art/compiler/dex/ |
D | inline_method_analyser.cc | 155 CHECK(method->GetDeclaringClass()->IsSubClass(target_method->GetDeclaringClass())); in GetTargetConstructor() 295 if (!method->GetDeclaringClass()->IsVerified() || in DoAnalyseConstructor() 317 if (target_method->GetDeclaringClass() == method->GetDeclaringClass() && in DoAnalyseConstructor() 325 if (target_method->GetDeclaringClass()->IsObjectClass()) { in DoAnalyseConstructor() 688 ObjPtr<mirror::Class> method_class = method->GetDeclaringClass(); in ComputeSpecialAccessorInfo() 689 ObjPtr<mirror::Class> field_class = field->GetDeclaringClass(); in ComputeSpecialAccessorInfo()
|