Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Diftable-inl.h28 DCHECK(interface->IsInterface()); in SetInterface()
Dclass-inl.h344 DCHECK(klass->IsInterface()) << PrettyClass(); in Implements()
399 DCHECK(!IsInterface()) << PrettyClass(); // handled first in IsAssignableFrom in IsAssignableFromArray()
520 DCHECK(!IsInterface()) << PrettyClass(); in IsSubClass()
536 DCHECK(declaring_class->IsInterface()) << method->PrettyMethod(); in FindVirtualMethodForInterface()
552 DCHECK(!method->GetDeclaringClass()->IsInterface() || method->IsDefault() || method->IsMiranda()); in FindVirtualMethodForVirtual()
559 DCHECK(!method->GetDeclaringClass()->IsInterface()); in FindVirtualMethodForSuper()
568 if (method->GetDeclaringClass()->IsInterface() && !method->IsCopied()) { in FindVirtualMethodForVirtualOrInterface()
1029 } else if (IsInterface()) { in IsAssignableFrom()
1034 return !src->IsInterface() && src->IsSubClass(this); in IsAssignableFrom()
1118 if (!this->IsInterface() && this->IsSubClass(access_to)) { in CanAccessMember()
Dclass.cc266 os << "----- " << (IsInterface() ? "interface" : "class") << " " in DumpClass()
632 DCHECK(method->GetDeclaringClass()->IsInterface()); in FindVirtualMethodForInterfaceSuper()
633 DCHECK(IsInterface()) << "Should only be called on a interface class"; in FindVirtualMethodForInterfaceSuper()
973 DCHECK(!klass->IsInterface()); in GetCommonSuperClass()
974 DCHECK(!IsInterface()); in GetCommonSuperClass()
Dclass.h254 ALWAYS_INLINE bool IsInterface() REQUIRES_SHARED(Locks::mutator_lock_) { in IsInterface() function
521 return !IsPrimitive() && !IsInterface() && !IsAbstract() && !IsArrayClass(); in IsInstantiableNonArray()
527 return (!IsPrimitive() && !IsInterface() && !IsAbstract()) || in IsInstantiable()
/art/runtime/openjdkjvmti/
Dti_class.h78 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr);
Dti_class.cc800 jvmtiError ClassUtil::IsInterface(jvmtiEnv* env ATTRIBUTE_UNUSED, in IsInterface() function in openjdkjvmti::ClassUtil
804 return klass->IsInterface(); in IsInterface()
DOpenjdkJvmTi.cc752 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr) { in IsInterface() function in openjdkjvmti::JvmtiFunctions
754 return ClassUtil::IsInterface(env, klass, is_interface_ptr); in IsInterface()
1801 JvmtiFunctions::IsInterface,
Dti_heap.cc217 obj->AsClass()->IsInterface(), in ReportFields()
430 DCHECK(inf_klass->IsInterface()); in CountInterfaceFields()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc68 c->IsInterface() ? "interface" : "abstract class", in Constructor_newInstance0()
Djava_lang_Class.cc338 if (h_clazz->IsInterface()) { in GetPublicFieldRecursive()
676 if (UNLIKELY(klass->GetPrimitiveType() != 0 || klass->IsInterface() || klass->IsArrayClass() || in Class_newInstance()
/art/runtime/verifier/
Dreg_type-inl.h107 } else if (!strict && !lhs.IsUnresolvedTypes() && lhs.GetClass()->IsInterface()) { in AssignableFrom()
Dverifier_deps.cc349 DCHECK(destination->IsInterface()); in FindOneClassPathBoundaryForInterface()
430 (!is_strict && destination->IsInterface())) { in AddAssignability()
472 if (!destination->IsInterface() && !source->IsInterface()) { in AddAssignability()
Dreg_type_cache.cc199 DCHECK(!klass->IsInterface()); in From()
Dmethod_verifier.cc2685 !cast_type.GetClass()->IsInterface() && in CodeFlowVerifyInstruction()
3036 if (!called_interface->IsInterface() && !called_interface->IsObjectClass()) { in CodeFlowVerifyInstruction()
3856 MethodResolutionKind res_kind = GetMethodResolutionKind(method_type, klass->IsInterface()); in ResolveMethodAndCheckAccess()
3921 if (klass->IsInterface()) { in ResolveMethodAndCheckAccess()
4307 if (reference_type.GetClass()->IsInterface()) { in VerifyInvocationArgs()
4442 if (klass->IsInterface()) { in GetQuickInvokedMethod()
/art/runtime/
Dart_method-inl.h181 return IsDirect() || (methods_class->IsInterface() && !IsCopied()); in CheckIncompatibleClassChange()
188 return IsDirect() || !(methods_class->IsInterface() || methods_class->IsObjectClass()); in CheckIncompatibleClassChange()
Dclass_linker_test.cc98 EXPECT_FALSE(primitive->IsInterface()); in AssertPrimitiveClass()
137 EXPECT_FALSE(JavaLangObject->IsInterface()); in AssertObjectClass()
211 EXPECT_FALSE(array->IsInterface()); in AssertArrayClass()
286 if (klass->IsInterface()) { in AssertClass()
298 EXPECT_EQ(klass->IsInterface(), !klass->HasVTable()); in AssertClass()
303 if (klass->IsInterface()) { in AssertClass()
342 EXPECT_TRUE(method.GetDeclaringClass()->IsInterface()) in AssertClass()
900 EXPECT_FALSE(MyClass->IsInterface()); in TEST_F()
Dclass_linker.cc4058 && !klass->IsInterface()) { // See (2) in VerifyClass()
4562 if (!klass->IsInterface()) { in CanWeInitializeClass()
4573 if (klass->IsInterface() || !klass->HasSuperClass()) { in CanWeInitializeClass()
4696 if (!klass->IsInterface() && klass->HasSuperClass()) { in InitializeClass()
4699 CHECK(!super_class->IsInterface()); in InitializeClass()
4721 if (!klass->IsInterface()) { in InitializeClass()
4731 CHECK(handle_scope_iface->IsInterface()); in InitializeClass()
4857 CHECK(iface->IsInterface()); in InitializeDefaultInterfaceRecursive()
4959 super_klass->IsInterface() ? "interface" : "superclass", in ThrowSignatureCheckResolveReturnTypeException()
4981 super_klass->IsInterface() ? "interface" : "superclass", in ThrowSignatureCheckResolveArgException()
[all …]
Dart_method.cc148 } else if (GetDeclaringClass()->IsInterface()) { in GetInvokeType()
401 return GetDeclaringClass()->IsInterface(); in IsOverridableByDefaultMethod()
Dcha.cc451 if (klass->IsInterface()) { in UpdateAfterLoadingOf()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h528 } else if (!method_reference_class->IsInterface()) { in FindMethodFromCode()
723 } else if (!method_reference_class->IsInterface()) { in FindMethodFast()
/art/compiler/optimizing/
Dreference_type_propagation.cc770 bool a_is_interface = a_type_handle->IsInterface(); in MergeTypes()
771 bool b_is_interface = b_type_handle->IsInterface(); in MergeTypes()
Dinstruction_builder.cc741 if (methods_class->IsInterface()) { in ResolveMethod()
980 return to_test != nullptr && !to_test->IsInterface() && to_test->IsSubClass(super_class); in IsSubClass()
1622 } else if (cls->IsInterface()) { in ComputeTypeCheckKind()
/art/test/912-classes/
Dclasses.cc78 jvmtiError result = jvmti_env->IsInterface(klass, &is_interface); in Java_art_Test912_isInterface()
/art/runtime/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.h319 } else if (type->IsInterface()) { in Write()

12