Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject-refvisitor-inl.h78 ObjPtr<Class> super_class = klass; in VisitReferences() local
80 total_reference_instance_fields += super_class->NumReferenceInstanceFields(); in VisitReferences()
81 super_class = super_class->GetSuperClass<kVerifyFlags, kReadBarrierOption>(); in VisitReferences()
82 } while (super_class != nullptr); in VisitReferences()
Dclass-inl.h602 ObjPtr<Class> super_class = GetSuperClass<kVerifyFlags, kReadBarrierOption>(); in GetFirstReferenceInstanceFieldOffset() local
603 return (super_class != nullptr) in GetFirstReferenceInstanceFieldOffset()
604 ? MemberOffset(RoundUp(super_class->GetObjectSize<kVerifyFlags, kReadBarrierOption>(), in GetFirstReferenceInstanceFieldOffset()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h512 ObjPtr<mirror::Class> super_class = nullptr; in FindMethodFromCode() local
514 super_class = h_referring_class->GetSuperClass(); in FindMethodFromCode()
519 if (super_class == nullptr || in FindMethodFromCode()
520 !super_class->HasVTable() || in FindMethodFromCode()
521 vtable_index >= static_cast<uint32_t>(super_class->GetVTableLength())) { in FindMethodFromCode()
528 DCHECK(super_class != nullptr); in FindMethodFromCode()
529 DCHECK(super_class->HasVTable()); in FindMethodFromCode()
530 return super_class->GetVTableEntry(vtable_index, class_linker->GetImagePointerSize()); in FindMethodFromCode()
697 ObjPtr<mirror::Class> super_class = referring_class->GetSuperClass(); in FindMethodFast() local
698 if (resolved_method->GetMethodIndex() >= super_class->GetVTableLength()) { in FindMethodFast()
[all …]
/art/runtime/
Dcha.cc449 mirror::Class* super_class = klass->GetSuperClass(); in UpdateAfterLoadingOf() local
450 if (super_class == nullptr) { in UpdateAfterLoadingOf()
459 for (int32_t i = 0; i < super_class->GetVTableLength(); ++i) { in UpdateAfterLoadingOf()
461 ArtMethod* method_in_super = super_class->GetVTableEntry(i, image_pointer_size); in UpdateAfterLoadingOf()
483 for (int32_t i = super_class->GetVTableLength(); i < klass->GetVTableLength(); ++i) { in UpdateAfterLoadingOf()
Dclass_linker.cc1491 ObjPtr<mirror::Class> super_class = klass->GetSuperClass(); in Update() local
1492 if (super_class != nullptr && !heap->ObjectIsInBootImageSpace(super_class)) { in Update()
1493 auto it2 = new_class_set->Find(ClassTable::TableSlot(super_class)); in Update()
1495 DCHECK_EQ(it2->Read(), super_class); in Update()
4778 ObjPtr<mirror::Class> super_class = klass->GetSuperClass(); in CanWeInitializeClass() local
4779 if (!can_init_parents && !super_class->IsInitialized()) { in CanWeInitializeClass()
4782 return CanWeInitializeClass(super_class, can_init_statics, can_init_parents); in CanWeInitializeClass()
4905 ObjPtr<mirror::Class> super_class = klass->GetSuperClass(); in InitializeClass() local
4906 if (!super_class->IsInitialized()) { in InitializeClass()
4907 CHECK(!super_class->IsInterface()); in InitializeClass()
[all …]
Dart_method.cc209 mirror::Class* super_class = declaring_class->GetSuperClass(); in FindOverriddenMethod() local
214 if (super_class->HasVTable() && method_index < super_class->GetVTableLength()) { in FindOverriddenMethod()
215 result = super_class->GetVTableEntry(method_index, pointer_size); in FindOverriddenMethod()
Dmethod_handles.cc697 ObjPtr<mirror::Class> super_class = referrer_class->GetSuperClass(); in RefineTargetMethod() local
699 DCHECK(super_class != nullptr); in RefineTargetMethod()
700 DCHECK(super_class->HasVTable()); in RefineTargetMethod()
703 DCHECK_LT(vtable_index, super_class->GetVTableLength()); in RefineTargetMethod()
704 return super_class->GetVTableEntry(vtable_index, kRuntimePointerSize); in RefineTargetMethod()
/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/test/004-JniTest/
Djni_test.cc158 jclass super_class = env->FindClass("Main$testCallStaticVoidMethodOnSubClass_SuperClass"); in Java_Main_testCallStaticVoidMethodOnSubClassNative() local
159 CHECK(super_class != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
161 jmethodID execute = env->GetStaticMethodID(super_class, "execute", "()V"); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
536 …void TestnonstaticCallNonvirtualMethod(bool super_object, bool super_class, bool super_method, con… in TestnonstaticCallNonvirtualMethod() argument
541 if (super_class && !super_method) { in TestnonstaticCallNonvirtualMethod()
548 jclass c = (super_class) ? super_ : sub_; in TestnonstaticCallNonvirtualMethod()
/art/runtime/gc/space/
Dimage_space.cc1015 mirror::Class* super_class = klass->GetSuperClass<kVerifyNone, kWithoutReadBarrier>(); in operator ()() local
1016 if (super_class != nullptr) { in operator ()()
1017 mirror::Class* new_super_class = down_cast<mirror::Class*>(ForwardObject(super_class)); in operator ()()
1018 if (new_super_class != super_class && IsInAppImage(new_super_class)) { in operator ()()
/art/compiler/driver/
Dcompiler_driver.cc2512 ObjPtr<mirror::Class> super_class = klass->GetSuperClass(); in InitializeDependencies() local
2514 Handle<mirror::Class> handle_scope_super(hs.NewHandle(super_class)); in InitializeDependencies()
2553 ObjPtr<mirror::Class> super_class = klass->GetSuperClass(); in NoClinitInDependency() local
2555 Handle<mirror::Class> handle_scope_super(hs.NewHandle(super_class)); in NoClinitInDependency()
/art/compiler/optimizing/
Dinstruction_builder.cc1044 static bool IsSubClass(mirror::Class* to_test, mirror::Class* super_class) in IsSubClass() argument
1046 return to_test != nullptr && !to_test->IsInterface() && to_test->IsSubClass(super_class); in IsSubClass()