/art/runtime/ |
D | class_linker.cc | 175 method->GetDeclaringClass()->GetClassLoader() : nullptr)); in HasInitWithString() 235 if (method->GetDeclaringClass()->IsVisiblyInitialized() || in ChangeInterpreterBridgeToNterp() 478 if (method->GetDeclaringClass()->IsVisiblyInitialized()) { in RegisterNative() 1899 CHECK_EQ(field.GetDeclaringClass(), klass); in CheckObjects() 1902 CHECK_EQ(field.GetDeclaringClass(), klass); in CheckObjects() 1964 CHECK(m->GetDeclaringClass() != nullptr) << m->PrettyMethod(); in CheckArtMethod() 2034 ObjPtr<mirror::Class> klass = method.GetDeclaringClass(); in VerifyAppImage() 2179 CHECK(field->GetDeclaringClass()->GetClass() != nullptr); in AddImageSpace() 2193 DCHECK(method.GetDeclaringClass() != nullptr); in AddImageSpace() 3742 DCHECK(!method->GetDeclaringClass()->IsVisiblyInitialized()); // Actually ClassStatus::Idx. in LinkCode() [all …]
|
D | aot_class_linker.cc | 191 ObjPtr<mirror::Class> declaring_class = m.GetDeclaringClass(); in CanReferenceInBootImageExtension()
|
D | method_handles.cc | 91 return jni::DecodeArtMethod(m)->GetDeclaringClass(); in GetBoxedPrimitiveClass() 635 ObjPtr<mirror::Class> klass = field->GetDeclaringClass(); in GetAndInitializeDeclaringClass() 667 ObjPtr<mirror::Class> declaring_class(target_method->GetDeclaringClass()); in RefineTargetMethod() 681 if (target_method->IsConstructor() && target_method->GetDeclaringClass()->IsStringClass()) { in RefineTargetMethod() 691 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in RefineTargetMethod()
|
D | class_linker_test.cc | 253 EXPECT_TRUE(method->GetDeclaringClass() != nullptr); in AssertMethod() 261 EXPECT_OBJ_PTR_EQ(klass, field->GetDeclaringClass()); in AssertField() 332 EXPECT_OBJ_PTR_EQ(klass.Get(), method.GetDeclaringClass()); in AssertClass() 338 EXPECT_OBJ_PTR_EQ(klass.Get(), method.GetDeclaringClass()); in AssertClass() 345 EXPECT_TRUE(method.GetDeclaringClass()->IsInterface()) in AssertClass() 346 << "declaring class: " << method.GetDeclaringClass()->PrettyClass(); in AssertClass() 347 EXPECT_TRUE(method.GetDeclaringClass()->IsAssignableFrom(klass.Get())) in AssertClass() 348 << "declaring class: " << method.GetDeclaringClass()->PrettyClass(); in AssertClass() 1227 s8->SetObject<false>(s8->GetDeclaringClass(), str_value); in TEST_F()
|
D | instrumentation.cc | 249 method->GetDeclaringClass()->DescriptorEquals("Ljava/lang/reflect/Proxy;"))) { in InstallStubsForMethod() 256 bool is_class_initialized = method->GetDeclaringClass()->IsInitialized(); in InstallStubsForMethod() 961 DCHECK(method->GetDeclaringClass()->IsResolved()); in UpdateMethodsCode() 1056 !method->GetDeclaringClass()->IsInitialized()) { in Undeoptimize() 1586 visitor.caller->GetDeclaringClass()->IsObsoleteObject() || in PopInstrumentationStackFrame()
|
D | art_field.h | 43 ObjPtr<mirror::Class> GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_);
|
D | hidden_api.h | 416 const AccessContext callee_context(member->GetDeclaringClass()); in ShouldDenyAccessToMember()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 166 inline const DexClass& GetDeclaringClass() const { return klass_; } in GetDeclaringClass() function in art::hiddenapi::DexMember 454 HierarchyClass* klass = FindClass(other.GetDeclaringClass().GetDescriptor()); in ForEachResolvableMember() 464 } else if (member.GetDeclaringClass().IsPublic()) { in IsMemberVisible() 477 HierarchyClass* klass = FindClass(member.GetDeclaringClass().GetDescriptor()); in IsMemberVisible()
|
/art/runtime/jit/ |
D | jit.cc | 310 DCHECK(method->GetDeclaringClass()->IsObsoleteObject() || in CompileMethod() 775 if (method->GetDeclaringClass()->GetClassLoader() != nullptr && in JitCompileTask() 777 klass_ = soa.Vm()->AddGlobalRef(soa.Self(), method_->GetDeclaringClass()); in JitCompileTask() 1490 ObjPtr<mirror::Class> klass = method->GetDeclaringClass(); in IgnoreSamplesForMethod() 1515 method->GetDeclaringClass()->IsVisiblyInitialized()) { in MaybeCompileMethod() 1832 Runtime::Current()->GetHeap()->ObjectIsInBootImageSpace(method->GetDeclaringClass()); in CanEncodeMethod()
|
D | jit_code_cache.cc | 147 ObjPtr<mirror::Class> klass = m->GetDeclaringClass<kWithoutReadBarrier>(); in UpdateEntryPoints() 354 if (method->GetDeclaringClass()->GetClassLoader() == nullptr) { in GetSavedEntryPointOfPreCompiledMethod() 766 !method->GetDeclaringClass()->IsVisiblyInitialized()) { in Commit() 1725 ClassStatus status = method->GetDeclaringClass() in NotifyCompilationOf()
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 120 ObjPtr<mirror::Class> GetDeclaringClass(Handle<mirror::Class> klass)
|
/art/openjdkjvmti/ |
D | ti_breakpoint.cc | 134 if (b.GetMethod()->GetDeclaringClass() == klass) { in RemoveBreakpointsInClass()
|
D | ti_redefine.cc | 318 DCHECK_EQ(new_obsolete_method->GetDeclaringClass(), old_method->GetDeclaringClass()); in VisitFrame() 2135 DCHECK(m->IsCopied() || m->GetDeclaringClass() == linked_class.Get()) in AllocateNewClassObject() 2137 << " m->GetDeclaringClass(): " << m->GetDeclaringClass()->PrettyClass() in AllocateNewClassObject() 2142 DCHECK_EQ(f->GetDeclaringClass(), linked_class.Get()); in AllocateNewClassObject() 2598 dex_file_->FindTypeId(field.GetDeclaringClass()->GetDescriptor(&declaring_class_name)); in UpdateFields() 2849 art::ObjPtr<art::mirror::Class> f_or_m_class = field_or_method->GetDeclaringClass(); in UpdateClassStructurally() 2984 DCHECK_EQ(method->GetDeclaringClass(), orig) in UpdateClassStructurally() 2985 << method->GetDeclaringClass()->PrettyClass() << " vs " << orig->PrettyClass(); in UpdateClassStructurally() 2989 DCHECK_EQ(field->GetDeclaringClass(), orig) in UpdateClassStructurally() 2990 << field->GetDeclaringClass()->PrettyClass() << " vs " << orig->PrettyClass(); in UpdateClassStructurally()
|
D | ti_method.cc | 352 if (!art_method->GetDeclaringClass()->IsProxyClass()) { in GetMethodName() 392 art::ObjPtr<art::mirror::Class> klass = art_method->GetDeclaringClass(); in GetMethodDeclaringClass() 641 hs.NewHandle(method->GetDeclaringClass()->GetClassLoader()))); in InferSlotTypeFromVerifier() 1049 method->GetDeclaringClass()->GetClassLoader(); in GetTypeErrorInner()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 337 DCHECK(!(called_method->GetDeclaringClass()->IsStringClass() && in DoInvoke() 339 DCHECK(type != kStatic || called_method->GetDeclaringClass()->IsVisiblyInitialized()); in DoInvoke() 521 obj = f->GetDeclaringClass(); in DoFieldGet() 685 obj = f->GetDeclaringClass(); in DoFieldPut()
|
D | interpreter_common.cc | 82 if (method->GetDeclaringClass()->IsStringClass() && method->IsConstructor()) { in UseFastInterpreterToInterpreterInvoke() 85 if (method->IsStatic() && !method->GetDeclaringClass()->IsVisiblyInitialized()) { in UseFastInterpreterToInterpreterInvoke() 266 ObjPtr<mirror::Class> declaringClass = method->GetDeclaringClass(); in ArtInterpreterToCompiledCodeBridge() 1029 hs.NewHandle(shadow_frame.GetMethod()->GetDeclaringClass()); in InvokeBootstrapMethod() 1218 if (UNLIKELY(called_method->GetDeclaringClass()->IsStringClass() in DoCallCommon()
|
/art/runtime/mirror/ |
D | class-inl.h | 619 ObjPtr<Class> declaring_class = method->GetDeclaringClass(); in FindVirtualMethodForInterface() 641 DCHECK(!method->GetDeclaringClass()->IsInterface() || method->IsDefault() || method->IsMiranda()); in FindVirtualMethodForVirtual() 648 DCHECK(!method->GetDeclaringClass()->IsInterface()); in FindVirtualMethodForSuper() 657 if (method->GetDeclaringClass()->IsInterface() && !method->IsCopied()) { in FindVirtualMethodForVirtualOrInterface()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 87 ObjPtr<mirror::Class> declaring_class = m->GetDeclaringClass(); in GetReflectionCaller() 128 ? nullptr : visitor.caller->GetDeclaringClass(); in GetReflectionCaller() 891 return soa.AddLocalReference<jclass>(annotations::GetDeclaringClass(klass)); in Class_getDeclaringClass() 945 ObjPtr<mirror::Class> declaring_class = constructor->GetDeclaringClass(); in Class_newInstance()
|
/art/compiler/optimizing/ |
D | optimizing_compiler.cc | 1029 handles.NewHandle(method != nullptr ? method->GetDeclaringClass() : nullptr); in Compile() 1148 Handle<mirror::Class> compiling_class = handles.NewHandle(method->GetDeclaringClass()); in JniCompile() 1223 method->GetDeclaringClass()->GetClassLoader())); in JitCompile() 1316 Handle<mirror::Class> compiling_class = handles.NewHandle(method->GetDeclaringClass()); in JitCompile()
|
D | instruction_builder.cc | 918 if (resolved_method->GetDeclaringClass()->IsObjectClass()) { in ResolveMethod() 923 DCHECK(resolved_method->GetDeclaringClass()->IsInterface()); in ResolveMethod() 944 resolved_method->IsConstructor() && resolved_method->GetDeclaringClass()->IsStringClass(); in ResolveMethod() 1448 ObjPtr<mirror::Class> klass = resolved_method->GetDeclaringClass(); in ProcessClinitCheckForInvoke() 1847 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() 1870 uint16_t class_def_index = resolved_field->GetDeclaringClass()->GetDexClassDefIndex(); in BuildInstanceFieldAccess() 1938 } else if (!compiling_class->CanAccessResolvedField(resolved_field->GetDeclaringClass(), in ResolveField() 1947 (compiling_class.Get() != resolved_field->GetDeclaringClass())) { in ResolveField() 1983 graph_->GetHandleCache()->NewHandle(resolved_field->GetDeclaringClass()); in BuildStaticFieldAccess()
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 193 jclass GetDeclaringClass() const { in GetDeclaringClass() function in tifast::__anon9d4dc8ac0111::ScopedMethodInfo
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 218 jclass GetDeclaringClass() const { in GetDeclaringClass() function in breakpoint_logger::ScopedMethodInfo
|
/art/test/ti-stress/ |
D | stress.cc | 258 jclass GetDeclaringClass() const { in GetDeclaringClass() function in art::ScopedMethodInfo 313 jclass GetDeclaringClass() const { in GetDeclaringClass() function in art::ScopedFieldInfo
|
/art/runtime/jni/ |
D | check_jni.cc | 410 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckMethodAndSig() 421 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckMethodAndSig() 442 if (!f->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckStaticFieldID() 466 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckStaticMethod() 491 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod() 781 if (!field->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckFieldAccess() 788 if (o == nullptr || !field->GetDeclaringClass()->IsAssignableFrom(o->GetClass())) { in CheckFieldAccess() 1274 if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(f->GetDeclaringClass().Ptr())) { in CheckFieldID() 1289 if (!Runtime::Current()->GetHeap()->IsValidObjectAddress(m->GetDeclaringClass().Ptr())) { in CheckMethodID()
|
/art/test/common/ |
D | runtime_state.cc | 247 Handle<mirror::Class> h_klass(hs.NewHandle(method->GetDeclaringClass())); in ForceJitCompiled()
|