Home
last modified time | relevance | path

Searched refs:IsInterface (Results 1 – 25 of 41) sorted by relevance

12

/art/runtime/mirror/
Dclass-inl.h380 DCHECK(klass->IsInterface()) << PrettyClass(); in Implements()
435 DCHECK(!IsInterface()) << PrettyClass(); // handled first in IsAssignableFrom in IsAssignableFromArray()
561 DCHECK(!IsInterface()) << PrettyClass(); in IsSubClass()
599 if (UNLIKELY(!declaring_class->IsInterface())) { in FindVirtualMethodForInterface()
619 DCHECK(!method->GetDeclaringClass()->IsInterface() || method->IsDefault() || method->IsMiranda()); in FindVirtualMethodForVirtual()
626 DCHECK(!method->GetDeclaringClass()->IsInterface()); in FindVirtualMethodForSuper()
635 if (method->GetDeclaringClass()->IsInterface() && !method->IsCopied()) { in FindVirtualMethodForVirtualOrInterface()
1026 return !IsPrimitive() && !IsInterface() && !IsAbstract() && !IsArrayClass(); in IsInstantiableNonArray()
1032 !IsInterface<kVerifyFlags>() && in IsInstantiable()
1069 } else if (IsInterface()) { in IsAssignableFrom()
[all …]
Diftable-inl.h38 DCHECK(interface->IsInterface()); in SetInterface()
Dclass.cc310 os << "----- " << (IsInterface() ? "interface" : "class") << " " in DumpClass()
445 if (LIKELY(klass->IsInterface())) { in FindInterfaceMethodWithSignature()
468 if (LIKELY(klass->IsInterface())) { in FindInterfaceMethodWithSignature()
509 } else if (klass->IsInterface()) { in IsValidInheritanceCheck()
737 DCHECK(method->GetDeclaringClass()->IsInterface()); in FindVirtualMethodForInterfaceSuper()
738 DCHECK(IsInterface()) << "Should only be called on a interface class"; in FindVirtualMethodForInterfaceSuper()
1090 DCHECK(!klass->IsInterface()); in GetCommonSuperClass()
1091 DCHECK(!IsInterface()); in GetCommonSuperClass()
/art/runtime/
Daot_class_linker.cc49 if (strict_mode_ && !klass->IsInterface() && klass->HasSuperClass()) { in InitializeClass()
Dart_method-inl.h114 return IsDirect() || (methods_class->IsInterface() && !IsCopied()); in CheckIncompatibleClassChange()
121 return IsDirect() || !(methods_class->IsInterface() || methods_class->IsObjectClass()); in CheckIncompatibleClassChange()
Ddebug_print.cc157 if (target_class->IsInterface()) { in DumpB77342775DebugData()
Dclass_linker-inl.h231 if (UNLIKELY(!klass->IsInterface())) { in CheckInvokeClassMismatch()
250 if (UNLIKELY(klass->IsInterface())) { in CheckInvokeClassMismatch()
Dart_method.cc72 DCHECK(declaring_class->IsInterface()); in GetCanonicalMethod()
157 } else if (GetDeclaringClass()->IsInterface()) { in GetInvokeType()
405 return GetDeclaringClass()->IsInterface(); in IsOverridableByDefaultMethod()
Dcha.cc91 if (klass->IsInterface()) { in ResetSingleImplementationInHierarchy()
560 if (klass->IsInterface()) { in UpdateAfterLoadingOf()
Dclass_linker_test.cc105 EXPECT_FALSE(primitive->IsInterface()); in AssertPrimitiveClass()
144 EXPECT_FALSE(JavaLangObject->IsInterface()); in AssertObjectClass()
219 EXPECT_FALSE(array->IsInterface()); in AssertArrayClass()
288 if (klass->IsInterface()) { in AssertClass()
300 EXPECT_EQ(klass->IsInterface(), !klass->HasVTable()); in AssertClass()
305 if (klass->IsInterface()) { in AssertClass()
344 EXPECT_TRUE(method.GetDeclaringClass()->IsInterface()) in AssertClass()
946 EXPECT_FALSE(MyClass->IsInterface()); in TEST_F()
Dclass_linker.cc3789 if (klass->IsInterface() && dst->IsAbstract()) { in LoadMethod()
4574 && !klass->IsInterface()) { // See (2) in VerifyClass()
5115 if (!klass->IsInterface()) { in CanWeInitializeClass()
5126 if (klass->IsInterface() || !klass->HasSuperClass()) { in CanWeInitializeClass()
5263 if (!klass->IsInterface() && klass->HasSuperClass()) { in InitializeClass()
5266 CHECK(!super_class->IsInterface()); in InitializeClass()
5290 if (!klass->IsInterface()) { in InitializeClass()
5300 CHECK(handle_scope_iface->IsInterface()); in InitializeClass()
5435 CHECK(iface->IsInterface()); in InitializeDefaultInterfaceRecursive()
5543 super_klass->IsInterface() ? "interface" : "superclass", in ThrowSignatureCheckResolveReturnTypeException()
[all …]
/art/openjdkjvmti/
Dti_class.h83 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr);
Dti_heap.cc219 obj->AsClass()->IsInterface(), in ReportFields()
432 DCHECK(inf_klass->IsInterface()); in CountInterfaceFields()
674 if (filter_klass->IsInterface()) { in IterateOverInstancesOfClass()
DOpenjdkJvmTi.cc756 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr) { in IsInterface() function in openjdkjvmti::JvmtiFunctions
758 return ClassUtil::IsInterface(env, klass, is_interface_ptr); in IsInterface()
1634 JvmtiFunctions::IsInterface,
Dti_class.cc798 jvmtiError ClassUtil::IsInterface(jvmtiEnv* env ATTRIBUTE_UNUSED, in IsInterface() function in openjdkjvmti::ClassUtil
802 return klass->IsInterface(); in IsInterface()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc71 c->IsInterface() ? "interface" : "abstract class", in Constructor_newInstance0()
Djava_lang_Class.cc435 if (h_clazz->IsInterface()) { in GetPublicFieldRecursive()
795 if (UNLIKELY(klass->GetPrimitiveType() != 0 || klass->IsInterface() || klass->IsArrayClass() || in Class_newInstance()
/art/runtime/verifier/
Dreg_type-inl.h108 } else if (!strict && !lhs.IsUnresolvedTypes() && lhs.GetClass()->IsInterface()) { in AssignableFrom()
Dverifier_deps.cc359 DCHECK(destination->IsInterface()); in FindOneClassPathBoundaryForInterface()
440 (!is_strict && destination->IsInterface())) { in AddAssignability()
482 if (!destination->IsInterface() && !source->IsInterface()) { in AddAssignability()
1111 if (cls->IsInterface()) { in VerifyMethods()
/art/compiler/optimizing/
Dsharpening.cc255 } else if (klass->IsInterface()) { in ComputeTypeCheckKind()
Dreference_type_propagation.cc835 bool a_is_interface = a_type_handle->IsInterface(); in MergeTypes()
836 bool b_is_interface = b_type_handle->IsInterface(); in MergeTypes()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h489 } else if (!method_reference_class->IsInterface()) { in FindMethodToCall()
683 } else if (!method_reference_class->IsInterface()) { in FindMethodFast()
/art/tools/hiddenapi/
Dhiddenapi.cc132 inline bool IsInterface() const { return HasAccessFlags(kAccInterface); } in IsInterface() function in art::hiddenapi::DexClass
400 /* allow_explore_up */ GetOneDexClass().IsInterface(), in ForEachResolvableMember_Impl()
/art/openjdkjvmti/include/
Djvmti.h1293 jvmtiError (JNICALL *IsInterface) (jvmtiEnv* env,
2203 jvmtiError IsInterface(jclass klass, in IsInterface() function
2205 return functions->IsInterface(this, klass, is_interface_ptr); in IsInterface()
/art/compiler/debug/
Delf_debug_info_writer.h326 } else if (type->IsInterface()) { in Write()

12