Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dclass-inl.h386 DCHECK(klass->IsInterface()) << PrettyClass(); in Implements()
441 DCHECK(!IsInterface()) << PrettyClass(); // handled first in IsAssignableFrom in IsAssignableFromArray()
583 DCHECK(!IsInterface()) << PrettyClass(); in IsSubClass()
621 if (UNLIKELY(!declaring_class->IsInterface())) { 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()
1053 return !IsPrimitive() && !IsInterface() && !IsAbstract() && !IsArrayClass(); in IsInstantiableNonArray()
1059 !IsInterface<kVerifyFlags>() && in IsInstantiable()
1096 } else if (IsInterface()) { in IsAssignableFrom()
[all …]
Diftable-inl.h38 DCHECK(interface->IsInterface()); in SetInterface()
Dclass.cc431 os << "----- " << (IsInterface() ? "interface" : "class") << " " in DumpClass()
566 if (LIKELY(klass->IsInterface())) { in FindInterfaceMethodWithSignature()
589 if (LIKELY(klass->IsInterface())) { in FindInterfaceMethodWithSignature()
630 } else if (klass->IsInterface()) { in IsValidInheritanceCheck()
858 DCHECK(method->GetDeclaringClass()->IsInterface()); in FindVirtualMethodForInterfaceSuper()
859 DCHECK(IsInterface()) << "Should only be called on a interface class"; in FindVirtualMethodForInterfaceSuper()
1238 DCHECK(!klass->IsInterface()); in GetCommonSuperClass()
1239 DCHECK(!IsInterface()); in GetCommonSuperClass()
/art/openjdkjvmti/
Dti_class.h83 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr);
DOpenjdkJvmTi.cc748 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr) { in IsInterface() function in openjdkjvmti::JvmtiFunctions
750 return ClassUtil::IsInterface(env, klass, is_interface_ptr); in IsInterface()
1612 JvmtiFunctions::IsInterface,
Dti_class.cc803 jvmtiError ClassUtil::IsInterface(jvmtiEnv* env ATTRIBUTE_UNUSED, in IsInterface() function in openjdkjvmti::ClassUtil
807 return klass->IsInterface(); in IsInterface()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc71 c->IsInterface() ? "interface" : "abstract class", in Constructor_newInstance0()
Djava_lang_Class.cc472 if (h_clazz->IsInterface()) { in GetPublicFieldRecursive()
902 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()
Dreg_type.cc650 } else if (s->IsInterface() || t->IsInterface()) { in ClassJoin()
722 if (!s_cl->IsInterface()) { in InterfaceClassJoin()
728 if (!t_cl->IsInterface()) { in InterfaceClassJoin()
740 ObjPtr<mirror::Class> obj_class = s->IsInterface() ? s->GetSuperClass() : t->GetSuperClass(); in InterfaceClassJoin()
Dverifier_deps.cc359 DCHECK(destination->IsInterface()); in FindOneClassPathBoundaryForInterface()
440 (!is_strict && destination->IsInterface())) { in AddAssignability()
482 if (!destination->IsInterface() && !source->IsInterface()) { in AddAssignability()
1124 if (cls->IsInterface()) { in VerifyMethods()
/art/runtime/
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()
Daot_class_linker.cc80 if (strict_mode && !klass->IsInterface() && klass->HasSuperClass()) { in InitializeClass()
Dclass_linker-inl.h234 if (UNLIKELY(!klass->IsInterface())) { in CheckInvokeClassMismatch()
253 if (UNLIKELY(klass->IsInterface())) { in CheckInvokeClassMismatch()
Dart_method.cc75 DCHECK(declaring_class->IsInterface()); in GetCanonicalMethod()
166 } else if (GetDeclaringClass()->IsInterface()) { in GetInvokeType()
414 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()
145 EXPECT_FALSE(JavaLangObject->IsInterface()); in AssertObjectClass()
220 EXPECT_FALSE(array->IsInterface()); in AssertArrayClass()
289 if (klass->IsInterface()) { in AssertClass()
301 EXPECT_EQ(klass->IsInterface(), !klass->HasVTable()); in AssertClass()
306 if (klass->IsInterface()) { in AssertClass()
345 EXPECT_TRUE(method.GetDeclaringClass()->IsInterface()) in AssertClass()
953 EXPECT_FALSE(MyClass->IsInterface()); in TEST_F()
/art/runtime/interpreter/mterp/
Dnterp.cc227 if (referenced_class->IsInterface()) { in NterpGetMethod()
256 DCHECK(resolved_method->GetDeclaringClass()->IsInterface()); in NterpGetMethod()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h483 } else if (!method_reference_class->IsInterface()) { in FindMethodToCall()
677 } else if (!method_reference_class->IsInterface()) { in FindMethodFast()
/art/compiler/optimizing/
Dsharpening.cc278 } 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/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