Home
last modified time | relevance | path

Searched refs:super_class (Results 1 – 13 of 13) sorted by relevance

/art/runtime/mirror/
Dobject-refvisitor-inl.h79 ObjPtr<Class> super_class = klass; in VisitReferences() local
82 super_class->NumReferenceInstanceFields<kVerifyFlags>(); in VisitReferences()
83 super_class = super_class->GetSuperClass<kVerifyFlags, kReadBarrierOption>(); in VisitReferences()
84 } while (super_class != nullptr); in VisitReferences()
Dclass-inl.h690 ObjPtr<Class> super_class = GetSuperClass<kVerifyFlags, kReadBarrierOption>(); in GetFirstReferenceInstanceFieldOffset() local
691 return (super_class != nullptr) in GetFirstReferenceInstanceFieldOffset()
692 ? MemberOffset(RoundUp(super_class->GetObjectSize<kVerifyFlags>(), kHeapReferenceSize)) in GetFirstReferenceInstanceFieldOffset()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h487 ObjPtr<mirror::Class> super_class = nullptr; in FindMethodToCall() local
489 super_class = h_referring_class->GetSuperClass(); in FindMethodToCall()
494 if (super_class == nullptr || in FindMethodToCall()
495 !super_class->HasVTable() || in FindMethodToCall()
496 vtable_index >= static_cast<uint32_t>(super_class->GetVTableLength())) { in FindMethodToCall()
503 DCHECK(super_class != nullptr); in FindMethodToCall()
504 DCHECK(super_class->HasVTable()); in FindMethodToCall()
505 return super_class->GetVTableEntry(vtable_index, class_linker->GetImagePointerSize()); in FindMethodToCall()
684 ObjPtr<mirror::Class> super_class = referring_class->GetSuperClass(); in FindMethodFast() local
685 if (resolved_method->GetMethodIndex() >= super_class->GetVTableLength()) { in FindMethodFast()
[all …]
/art/test/utils/python/
Dgenerate_java_main.py216 c = classes.get(c.super_class)
291 super_class = iface.attrib['super'],
299 super_class = clazz.attrib['super'],
/art/runtime/
Dcha.cc568 ObjPtr<mirror::Class> super_class = klass->GetSuperClass(); in UpdateAfterLoadingOf() local
569 if (super_class == nullptr) { in UpdateAfterLoadingOf()
578 for (int32_t i = 0; i < super_class->GetVTableLength(); ++i) { in UpdateAfterLoadingOf()
580 ArtMethod* method_in_super = super_class->GetVTableEntry(i, image_pointer_size); in UpdateAfterLoadingOf()
602 for (int32_t i = super_class->GetVTableLength(); i < klass->GetVTableLength(); ++i) { in UpdateAfterLoadingOf()
Dart_method.cc211 ObjPtr<mirror::Class> super_class = declaring_class->GetSuperClass(); in FindOverriddenMethod() local
216 if (super_class->HasVTable() && method_index < super_class->GetVTableLength()) { in FindOverriddenMethod()
217 result = super_class->GetVTableEntry(method_index, pointer_size); in FindOverriddenMethod()
Dmethod_handles.cc703 ObjPtr<mirror::Class> super_class = referrer_class->GetSuperClass(); in RefineTargetMethod() local
705 DCHECK(super_class != nullptr); in RefineTargetMethod()
706 DCHECK(super_class->HasVTable()); in RefineTargetMethod()
709 DCHECK_LT(vtable_index, super_class->GetVTableLength()); in RefineTargetMethod()
710 return super_class->GetVTableEntry(vtable_index, kRuntimePointerSize); in RefineTargetMethod()
/art/runtime/interpreter/mterp/
Dnterp.cc232 ObjPtr<mirror::Class> super_class = executing_class->GetSuperClass(); in NterpGetMethod() local
233 if (super_class == nullptr || in NterpGetMethod()
234 !super_class->HasVTable() || in NterpGetMethod()
235 vtable_index >= static_cast<uint32_t>(super_class->GetVTableLength())) { in NterpGetMethod()
/art/test/004-JniTest/
Djni_test.cc169 jclass super_class = env->FindClass("Main$testCallStaticVoidMethodOnSubClass_SuperClass"); in Java_Main_testCallStaticVoidMethodOnSubClassNative() local
170 CHECK(super_class != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
172 jmethodID execute = env->GetStaticMethodID(super_class, "execute", "()V"); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
547 …void TestnonstaticCallNonvirtualMethod(bool super_object, bool super_class, bool super_method, con… in TestnonstaticCallNonvirtualMethod() argument
552 if (super_class && !super_method) { in TestnonstaticCallNonvirtualMethod()
559 jclass c = (super_class) ? super_ : sub_; in TestnonstaticCallNonvirtualMethod()
/art/openjdkjvmti/
Dti_redefine.h192 art::Handle<art::mirror::Class> super_class,
Dti_redefine.cc1864 [this](RedefinitionDataIter* data, art::Handle<art::mirror::Class> super_class) in FinishNewClassAllocations()
1869 super_class, in FinishNewClassAllocations()
2038 art::Handle<art::mirror::Class> super_class(hs.NewHandle(old_class->GetSuperClass())); in AllocateNewClassObject() local
2039 return AllocateNewClassObject(old_class, super_class, cache, /*dex_class_def_index*/0); in AllocateNewClassObject()
2044 art::Handle<art::mirror::Class> super_class, in AllocateNewClassObject() argument
2085 new_class->SetSuperClass(super_class.Get()); in AllocateNewClassObject()
/art/dex2oat/driver/
Dcompiler_driver.cc2469 Handle<mirror::Class> super_class = hs.NewHandle(klass->GetSuperClass()); in InitializeDependencies() local
2470 if (!super_class->IsInitialized()) { in InitializeDependencies()
2471 this->TryInitializeClass(super_class, class_loader); in InitializeDependencies()
2472 if (!super_class->IsInitialized()) { in InitializeDependencies()
2508 ObjPtr<mirror::Class> super_class = klass->GetSuperClass(); in NoClinitInDependency() local
2510 Handle<mirror::Class> handle_scope_super(hs.NewHandle(super_class)); in NoClinitInDependency()
/art/compiler/optimizing/
Dinstruction_builder.cc1168 static bool IsSubClass(ObjPtr<mirror::Class> to_test, ObjPtr<mirror::Class> super_class) in IsSubClass() argument
1170 return to_test != nullptr && !to_test->IsInterface() && to_test->IsSubClass(super_class); in IsSubClass()