Home
last modified time | relevance | path

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

1234

/art/runtime/
Dart_field.cc35 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()
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()
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 …]
Dart_method.cc74 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 …]
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()
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()
Dclass_linker-inl.h194 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()
Druntime_intrinsics.cc49 if (method == nullptr || method->GetDeclaringClass() != cls) { in InitializeIntrinsic()
/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()
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()
92 auto iter_range = field->IsStatic() ? field->GetDeclaringClass()->GetSFields() in CreateFromArtField()
93 : field->GetDeclaringClass()->GetIFields(); in CreateFromArtField()
Dexecutable.cc29 SetFieldObject<kTransactionActive>(DeclaringClassOffset(), method->GetDeclaringClass()); in CreateFromArtMethod()
31 DeclaringClassOfOverriddenMethodOffset(), interface_method->GetDeclaringClass()); in CreateFromArtMethod()
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
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()
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 …]
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/interpreter/mterp/
Dnterp.cc213 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/
Dentrypoint_utils-inl.h249 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/
Djni_id_manager.cc279 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/
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/dex2oat/linker/
Dimage_test.cc128 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/
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); \

1234