Home
last modified time | relevance | path

Searched refs:GetDeclaringClass (Results 1 – 25 of 95) sorted by relevance

1234

/art/runtime/
Dart_field.cc35 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in SetOffset()
69 result += PrettyDescriptor(GetDeclaringClass()->GetDescriptor(&temp)); in PrettyField()
76 CHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlagsDCheck()
80 CHECK(GetDeclaringClass()->IsResolved()); in GetOffsetDCheck()
Dart_method-inl.h57 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 …]
Dart_field-inl.h40 return GetDeclaringClass<kWithoutReadBarrier>()->IsProxyClass<kVerifyNone>(); in IsProxyField()
44 inline ObjPtr<mirror::Class> ArtField::GetDeclaringClass() { in GetDeclaringClass() function
57 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetOffsetDuringLinking()
63 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
73 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
83 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get64()
93 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set64()
104 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in GetObj()
114 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in SetObj()
125 DCHECK(!IsStatic() || ((object) == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); \
[all …]
Dproxy_test.cc126 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()
Dart_method.cc71 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetCanonicalMethod()
87 return &GetDeclaringClass()->GetDirectMethodsSlice(kRuntimePointerSize)[GetMethodIndex()]; in GetNonObsoleteMethod()
89 return GetDeclaringClass()->GetVTableEntry(GetMethodIndex(), kRuntimePointerSize); in GetNonObsoleteMethod()
111 ObjPtr<mirror::ClassExt> ext(GetDeclaringClass()->GetExtData()); in GetObsoleteDexCache()
157 } else if (GetDeclaringClass()->IsInterface()) { in GetInvokeType()
201 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in FindOverriddenMethod()
215 ObjPtr<mirror::IfTable> iftable = GetDeclaringClass()->GetIfTable(); in FindOverriddenMethod()
405 return GetDeclaringClass()->IsInterface(); in IsOverridableByDefaultMethod()
416 ObjPtr<mirror::Class> cls = GetDeclaringClass(); in IsPolymorphicSignature()
452 dex_file->FindTypeId(method->GetDeclaringClass()->GetDescriptor(&descriptor_storage)); in FindOatMethodFromDexFileFor()
[all …]
Dclass_linker-inl.h191 type = DoLookupResolvedType(type_idx, referrer->GetDeclaringClass()); in LookupResolvedType()
203 type = DoLookupResolvedType(type_idx, referrer->GetDeclaringClass()); in LookupResolvedType()
324 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in GetResolvedMethod()
325 if (!referring_class->CanAccessResolvedMethod(resolved_method->GetDeclaringClass(), in GetResolvedMethod()
357 ObjPtr<mirror::Class> declaring_class = referrer->GetDeclaringClass(); in ResolveMethod()
376 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveMethod()
377 if (!referring_class->CheckResolvedMethodAccess(resolved_method->GetDeclaringClass(), in ResolveMethod()
407 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetDeclaringClass()->GetClassLoader(); in LookupResolvedField()
423 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveField()
Dproxy_test.h75 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
83 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
91 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
Dcha.cc336 DCHECK(method_in_super->GetDeclaringClass()->IsResolved()) << "class isn't resolved"; in CheckVirtualMethodSingleImplementationInfo()
341 virtual_method->GetDeclaringClass() == klass.Get()); in CheckVirtualMethodSingleImplementationInfo()
511 if ((single_impl->GetDeclaringClass() == implementation_method->GetDeclaringClass()) && in CheckInterfaceMethodSingleImplementationInfo()
524 DCHECK(method->IsCopied() || method->GetDeclaringClass() == klass.Get()); in InitSingleImplementationFlag()
537 if (method->GetDeclaringClass()->IsInstantiable()) { in InitSingleImplementationFlag()
Druntime_intrinsics.cc49 if (method == nullptr || method->GetDeclaringClass() != cls) { in InitializeIntrinsic()
/art/runtime/mirror/
Dmethod_handle_impl-inl.h39 GetTargetMethod()->GetDeclaringClass() : GetTargetField()->GetDeclaringClass(); in GetTargetClass()
Dexecutable.cc29 SetFieldObject<kTransactionActive>(DeclaringClassOffset(), method->GetDeclaringClass()); in CreateFromArtMethod()
31 DeclaringClassOfOverriddenMethodOffset(), interface_method->GetDeclaringClass()); in CreateFromArtMethod()
Dfield.cc28 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetArtField()
51 CHECK_EQ(declaring_class, art_field->GetDeclaringClass()); in GetArtField()
Dfield-inl.h32 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()
Dclass-refvisitor-inl.h60 CHECK_EQ(field.GetDeclaringClass<kReadBarrierOption>(), this) << GetStatus(); in VisitNativeRoots()
67 CHECK_EQ(field.GetDeclaringClass<kReadBarrierOption>(), this) << GetStatus(); in VisitNativeRoots()
Dexecutable-inl.h35 inline ObjPtr<mirror::Class> Executable::GetDeclaringClass() { in GetDeclaringClass() function
Dstack_trace_element-inl.h27 inline ObjPtr<String> StackTraceElement::GetDeclaringClass() { in GetDeclaringClass() function
Dstack_trace_element.h32 ObjPtr<String> GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_);
/art/runtime/native/
Djava_lang_reflect_Method.cc41 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()
Djava_lang_reflect_Field.cc53 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()
259 DCHECK(f->GetDeclaringClass()->IsInitialized()); in SetFieldValue()
453 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getAnnotationNative()
475 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getDeclaredAnnotations()
489 if (field->GetDeclaringClass()->IsProxyClass()) { in Field_getSignatureAnnotation()
[all …]
Ddalvik_system_VMStack.cc107 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/
Dinterpreter.cc63 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/entrypoints/
Dentrypoint_utils-inl.h263 ObjPtr<mirror::Class> referrer = method->GetDeclaringClass(); in CheckArrayAlloc()
357 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in FindFieldFromCode()
363 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFromCode()
440 if (UNLIKELY(resolved_method->GetDeclaringClass()->IsStringClass() && in FindMethodToCall()
465 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall()
480 Handle<mirror::Class> h_referring_class(hs2.NewHandle(referrer->GetDeclaringClass())); in FindMethodToCall()
504 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall()
528 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall()
629 ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass(); in FindFieldFast()
637 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in FindFieldFast()
[all …]
/art/compiler/dex/
Dinline_method_analyser.cc155 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/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc80 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); \
/art/dex2oat/linker/
Dimage_test.cc126 ASSERT_OBJ_PTR_EQ(origin->GetDeclaringClass(), iface_klass); in TEST_F()
149 ASSERT_OBJ_PTR_EQ(origin->GetDeclaringClass(), iterable_klass); in TEST_F()

1234