Home
last modified time | relevance | path

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

12345

/art/runtime/mirror/
Dfield.cc34 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()
Dexecutable.cc32 DeclaringClassOffset(), method->GetDeclaringClass()); in InitializeFromArtMethod()
34 DeclaringClassOfOverriddenMethodOffset(), interface_method->GetDeclaringClass()); in InitializeFromArtMethod()
Dexecutable-inl.h37 inline ObjPtr<mirror::Class> Executable::GetDeclaringClass() { in GetDeclaringClass() function
49 SetDeclaringClass(new_target->GetDeclaringClass()); in VisitTarget()
Dclass-refvisitor-inl.h59 CHECK_EQ(field->GetDeclaringClass<kReadBarrierOption>(), this) in VisitNativeRoots()
60 << GetStatus() << field->GetDeclaringClass()->PrettyClass() << " != " << PrettyClass(); in VisitNativeRoots()
Dstack_trace_element-inl.h27 inline ObjPtr<String> StackTraceElement::GetDeclaringClass() { in GetDeclaringClass() function
Dfield-inl.h31 inline ObjPtr<mirror::Class> Field::GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDeclaringClass() function
/art/runtime/
Dart_field.cc35 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in SetOffset()
65 result += PrettyDescriptor(GetDeclaringClass()->GetDescriptor(&temp)); in PrettyField()
Dart_field-inl.h40 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 …]
Dart_method-inl.h180 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 …]
Dart_method-alloc-inl.h51 DCHECK(!GetDeclaringClass()->IsInterface());
52 DCHECK(GetDeclaringClass()->IsInitialized());
55 MutableHandle<mirror::Object> new_object = hs.NewHandle(GetDeclaringClass()->AllocObject(self));
Dproxy_test.cc120 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()
Dart_method.cc73 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 …]
Dproxy_test.h76 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
84 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
92 CHECK(method->GetDeclaringClass() == javaLangObject.Get()); in GenerateProxyClass()
Dart_method_test.cc53 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()
Dhidden_api.cc189 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()
Dcha.cc320 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/
Dsmall_pattern_matcher.cc52 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/
Djava_lang_reflect_Method.cc40 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()
Djava_lang_reflect_Field.cc54 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 …]
Ddalvik_system_VMStack.cc99 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/
Dinterpreter.cc61 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/
Dentrypoint_utils-inl.h314 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/
Djni_id_manager.cc296 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/
Dquick_field_entrypoints.cc50 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/
Dinline_method_analyser.cc155 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()

12345