/art/runtime/ |
D | art_field.cc | 35 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in SetOffset() 64 result += PrettyDescriptor(GetDeclaringClass()->GetDescriptor(&temp)); in PrettyField() 71 CHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlagsDCheck() 75 CHECK(GetDeclaringClass()->IsResolved()); in GetOffsetDCheck()
|
D | art_method-inl.h | 57 inline ObjPtr<mirror::Class> ArtMethod::GetDeclaringClass() { in GetDeclaringClass() function 82 DCHECK(IsRuntimeMethod() || GetDeclaringClass()->IsResolved()); in GetMethodIndex() 113 ObjPtr<mirror::Class> methods_class = GetDeclaringClass(); in CheckIncompatibleClassChange() 120 ObjPtr<mirror::Class> methods_class = GetDeclaringClass(); in CheckIncompatibleClassChange() 256 return GetDeclaringClass()->GetSourceFile(); in GetDeclaringClassSourceFile() 262 return GetDeclaringClass()->GetDexClassDefIndex(); in GetClassDefIndex() 296 return GetDeclaringClass()->GetClassLoader(); in GetClassLoader() 302 ObjPtr<mirror::Class> klass = GetDeclaringClass<kReadBarrierOption>(); in GetDexCache() 314 return GetDeclaringClass<kWithoutReadBarrier>()->IsProxyClass(); in IsProxyMethod() 331 DCHECK(!GetDeclaringClass()->IsResolved() || in GetInterfaceMethodIfProxy() [all …]
|
D | art_field-inl.h | 40 return GetDeclaringClass<kWithoutReadBarrier>()->IsProxyClass<kVerifyNone>(); in IsProxyField() 48 ObjPtr<mirror::Class> declaring_class(GetDeclaringClass()); in CanBeChangedBy() 49 ObjPtr<mirror::Class> referring_class(method->GetDeclaringClass()); in CanBeChangedBy() 55 inline ObjPtr<mirror::Class> ArtField::GetDeclaringClass() { in GetDeclaringClass() function 68 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetOffsetDuringLinking() 74 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32() 84 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32() 94 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get64() 104 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set64() 115 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in GetObj() [all …]
|
D | art_method.cc | 74 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetCanonicalMethod() 90 return &GetDeclaringClass()->GetDirectMethodsSlice(kRuntimePointerSize)[GetMethodIndex()]; in GetNonObsoleteMethod() 92 return GetDeclaringClass()->GetVTableEntry(GetMethodIndex(), kRuntimePointerSize); in GetNonObsoleteMethod() 115 ObjPtr<mirror::ClassExt> ext(GetDeclaringClass()->GetExtData()); in GetObsoleteDexCache() 128 CHECK(GetDeclaringClass()->IsObsoleteObject()) in GetObsoleteDexCache() 130 << GetDeclaringClass()->PrettyClass() << " Searched " << len << " caches."; in GetObsoleteDexCache() 133 &(*GetDeclaringClass()->GetMethods(pointer_size).begin()), in GetObsoleteDexCache() 134 &(*GetDeclaringClass()->GetMethods(pointer_size).end()))) in GetObsoleteDexCache() 136 << "despite not being the original method pointer for " << GetDeclaringClass()->PrettyClass(); in GetObsoleteDexCache() 137 return GetDeclaringClass()->GetDexCache(); in GetObsoleteDexCache() [all …]
|
D | proxy_test.cc | 126 EXPECT_STREQ("L$Proxy1234;", field->GetDeclaringClass()->GetDescriptor(&temp)); in TEST_F() 134 EXPECT_STREQ("L$Proxy1234;", field->GetDeclaringClass()->GetDescriptor(&temp)); in TEST_F() 168 EXPECT_OBJ_PTR_EQ(static_fields0->At(0).GetDeclaringClass(), proxyClass0.Get()); in TEST_F() 169 EXPECT_OBJ_PTR_EQ(static_fields0->At(1).GetDeclaringClass(), proxyClass0.Get()); in TEST_F() 170 EXPECT_OBJ_PTR_EQ(static_fields1->At(0).GetDeclaringClass(), proxyClass1.Get()); in TEST_F() 171 EXPECT_OBJ_PTR_EQ(static_fields1->At(1).GetDeclaringClass(), proxyClass1.Get()); in TEST_F()
|
D | proxy_test.h | 75 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass() 83 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass() 91 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
|
D | class_linker-inl.h | 194 type = DoLookupResolvedType(type_idx, referrer->GetDeclaringClass()); in LookupResolvedType() 206 type = DoLookupResolvedType(type_idx, referrer->GetDeclaringClass()); in LookupResolvedType() 327 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in GetResolvedMethod() 328 if (!referring_class->CanAccessResolvedMethod(resolved_method->GetDeclaringClass(), in GetResolvedMethod() 360 ObjPtr<mirror::Class> declaring_class = referrer->GetDeclaringClass(); in ResolveMethod() 395 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveMethod() 396 if (!referring_class->CheckResolvedMethodAccess(resolved_method->GetDeclaringClass(), in ResolveMethod() 426 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetDeclaringClass()->GetClassLoader(); in LookupResolvedField() 442 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveField()
|
D | runtime_intrinsics.cc | 49 if (method == nullptr || method->GetDeclaringClass() != cls) { in InitializeIntrinsic()
|
/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()
|
D | field-inl.h | 32 inline ObjPtr<mirror::Class> Field::GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDeclaringClass() function 74 if (field->GetDeclaringClass()->IsProxyClass()) { in CreateFromArtField() 90 ret->SetDeclaringClass<kTransactionActive>(field->GetDeclaringClass()); in CreateFromArtField() 92 auto iter_range = field->IsStatic() ? field->GetDeclaringClass()->GetSFields() in CreateFromArtField() 93 : field->GetDeclaringClass()->GetIFields(); in CreateFromArtField()
|
D | executable.cc | 29 SetFieldObject<kTransactionActive>(DeclaringClassOffset(), method->GetDeclaringClass()); in CreateFromArtMethod() 31 DeclaringClassOfOverriddenMethodOffset(), interface_method->GetDeclaringClass()); in CreateFromArtMethod()
|
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 | stack_trace_element.h | 32 ObjPtr<String> GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/runtime/native/ |
D | java_lang_reflect_Method.cc | 41 if (!method->GetDeclaringClass()->IsAnnotation()) { in Method_getDefaultValue() 50 if (method->GetDeclaringClass()->IsProxyClass()) { in Method_getExceptionTypes() 51 ObjPtr<mirror::Class> klass = method->GetDeclaringClass(); in Method_getExceptionTypes()
|
D | java_lang_reflect_Field.cc | 53 field->GetDeclaringClass() == nullptr ? "null" : in VerifyFieldAccess() 54 field->GetDeclaringClass()->PrettyClass().c_str()).c_str()); in VerifyFieldAccess() 60 field->GetDeclaringClass(), in VerifyFieldAccess() 69 field->GetDeclaringClass() == nullptr ? "null" : in VerifyFieldAccess() 70 field->GetDeclaringClass()->PrettyClass().c_str()).c_str()); in VerifyFieldAccess() 130 ObjPtr<mirror::Class> declaring_class = (*f)->GetDeclaringClass(); in CheckReceiver() 261 DCHECK(f->GetDeclaringClass()->IsInitializing()); in SetFieldValue() 455 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getAnnotationNative() 477 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getDeclaredAnnotations() 491 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getSignatureAnnotation() [all …]
|
D | dalvik_system_VMStack.cc | 107 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader() 118 ObjPtr<mirror::Class> c = GetMethod()->GetDeclaringClass(); in VMStack_getClosestUserClassLoader() 147 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 63 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 74 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 81 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 88 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 95 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 102 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 115 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 123 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 133 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 140 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() [all …]
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 213 ObjPtr<mirror::Class> executing_class = caller->GetDeclaringClass(); in NterpGetMethod() 222 resolved_method->GetDeclaringClass(), in NterpGetMethod() 238 resolved_method->GetDeclaringClass(), in NterpGetMethod() 250 if (resolved_method->GetDeclaringClass()->IsObjectClass()) { in NterpGetMethod() 256 DCHECK(resolved_method->GetDeclaringClass()->IsInterface()); in NterpGetMethod() 260 } else if (resolved_method->GetDeclaringClass()->IsStringClass() in NterpGetMethod() 302 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in ResolveFieldWithAccessChecks() 307 ObjPtr<mirror::Class> referring_class = caller->GetDeclaringClass(); in ResolveFieldWithAccessChecks() 338 if (UNLIKELY(!resolved_field->GetDeclaringClass()->IsVisiblyInitialized())) { in NterpGetStaticField() 340 Handle<mirror::Class> h_class(hs.NewHandle(resolved_field->GetDeclaringClass())); in NterpGetStaticField()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 249 ObjPtr<mirror::Class> referrer = method->GetDeclaringClass(); in CheckArrayAlloc() 349 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in FindFieldFromCode() 355 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFromCode() 434 if (UNLIKELY(resolved_method->GetDeclaringClass()->IsStringClass() && in FindMethodToCall() 459 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall() 474 Handle<mirror::Class> h_referring_class(hs2.NewHandle(referrer->GetDeclaringClass())); in FindMethodToCall() 498 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall() 522 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall() 623 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in FindFieldFast() 631 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFast() [all …]
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 279 DCHECK(!t->GetDeclaringClass().IsNull()) << "Null declaring class " << PrettyGeneric(t); in EncodeGenericId() 280 size_t off = GetIdOffset(t->GetDeclaringClass(), Canonicalize(t), kRuntimePointerSize); in EncodeGenericId() 282 bool allocation_failure = EnsureIdsArray(self, t->GetDeclaringClass(), t.Get()); in EncodeGenericId() 287 } else if (ShouldReturnPointer(t->GetDeclaringClass(), t.Get())) { in EncodeGenericId() 290 ObjPtr<mirror::Class> klass = t->GetDeclaringClass(); in EncodeGenericId() 425 ObjPtr<mirror::Class> old_class(old_field->GetDeclaringClass()); in VisitReflectiveTargets() 426 ObjPtr<mirror::Class> new_class(new_field->GetDeclaringClass()); in VisitReflectiveTargets() 478 ObjPtr<mirror::Class> old_class(old_method->GetDeclaringClass()); in VisitReflectiveTargets() 479 ObjPtr<mirror::Class> new_class(new_method->GetDeclaringClass()); in VisitReflectiveTargets() 623 bool alloc_failure = EnsureIdsArray(self, (*t)->GetDeclaringClass(), *t); in EndDefer() [all …]
|
/art/compiler/dex/ |
D | inline_method_analyser.cc | 155 CHECK(target_method->GetDeclaringClass() == method->GetDeclaringClass() || in GetTargetConstructor() 156 target_method->GetDeclaringClass() == method->GetDeclaringClass()->GetSuperClass()); in GetTargetConstructor() 296 if (!method->GetDeclaringClass()->IsVerified() || in DoAnalyseConstructor() 318 if (target_method->GetDeclaringClass() == method->GetDeclaringClass() && in DoAnalyseConstructor() 326 if (target_method->GetDeclaringClass()->IsObjectClass()) { in DoAnalyseConstructor() 720 ObjPtr<mirror::Class> method_class = method->GetDeclaringClass(); in ComputeSpecialAccessorInfo() 721 ObjPtr<mirror::Class> field_class = field->GetDeclaringClass(); in ComputeSpecialAccessorInfo()
|
/art/dex2oat/linker/ |
D | image_test.cc | 128 ASSERT_OBJ_PTR_EQ(origin->GetDeclaringClass(), iface_klass); in TEST_F() 151 ASSERT_OBJ_PTR_EQ(origin->GetDeclaringClass(), iterable_klass); in TEST_F()
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 80 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \ 85 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \ 122 field->Set ## Kind <false>(field->GetDeclaringClass(), new_value); \ 136 field->Set ## Kind <false>(field->GetDeclaringClass(), new_value); \
|