/art/runtime/mirror/ |
D | iftable-inl.h | 28 DCHECK(interface->IsInterface()); in SetInterface()
|
D | class-inl.h | 344 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()
|
D | class.cc | 266 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()
|
D | class.h | 254 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/ |
D | ti_class.h | 78 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr);
|
D | ti_class.cc | 800 jvmtiError ClassUtil::IsInterface(jvmtiEnv* env ATTRIBUTE_UNUSED, in IsInterface() function in openjdkjvmti::ClassUtil 804 return klass->IsInterface(); in IsInterface()
|
D | OpenjdkJvmTi.cc | 752 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,
|
D | ti_heap.cc | 217 obj->AsClass()->IsInterface(), in ReportFields() 430 DCHECK(inf_klass->IsInterface()); in CountInterfaceFields()
|
/art/runtime/native/ |
D | java_lang_reflect_Constructor.cc | 68 c->IsInterface() ? "interface" : "abstract class", in Constructor_newInstance0()
|
D | java_lang_Class.cc | 338 if (h_clazz->IsInterface()) { in GetPublicFieldRecursive() 676 if (UNLIKELY(klass->GetPrimitiveType() != 0 || klass->IsInterface() || klass->IsArrayClass() || in Class_newInstance()
|
/art/runtime/verifier/ |
D | reg_type-inl.h | 107 } else if (!strict && !lhs.IsUnresolvedTypes() && lhs.GetClass()->IsInterface()) { in AssignableFrom()
|
D | verifier_deps.cc | 349 DCHECK(destination->IsInterface()); in FindOneClassPathBoundaryForInterface() 430 (!is_strict && destination->IsInterface())) { in AddAssignability() 472 if (!destination->IsInterface() && !source->IsInterface()) { in AddAssignability()
|
D | reg_type_cache.cc | 199 DCHECK(!klass->IsInterface()); in From()
|
D | method_verifier.cc | 2685 !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/ |
D | art_method-inl.h | 181 return IsDirect() || (methods_class->IsInterface() && !IsCopied()); in CheckIncompatibleClassChange() 188 return IsDirect() || !(methods_class->IsInterface() || methods_class->IsObjectClass()); in CheckIncompatibleClassChange()
|
D | class_linker_test.cc | 98 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()
|
D | class_linker.cc | 4058 && !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 …]
|
D | art_method.cc | 148 } else if (GetDeclaringClass()->IsInterface()) { in GetInvokeType() 401 return GetDeclaringClass()->IsInterface(); in IsOverridableByDefaultMethod()
|
D | cha.cc | 451 if (klass->IsInterface()) { in UpdateAfterLoadingOf()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 528 } else if (!method_reference_class->IsInterface()) { in FindMethodFromCode() 723 } else if (!method_reference_class->IsInterface()) { in FindMethodFast()
|
/art/compiler/optimizing/ |
D | reference_type_propagation.cc | 770 bool a_is_interface = a_type_handle->IsInterface(); in MergeTypes() 771 bool b_is_interface = b_type_handle->IsInterface(); in MergeTypes()
|
D | instruction_builder.cc | 741 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/ |
D | classes.cc | 78 jvmtiError result = jvmti_env->IsInterface(klass, &is_interface); in Java_art_Test912_isInterface()
|
/art/runtime/openjdkjvmti/include/ |
D | jvmti.h | 1293 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/ |
D | elf_debug_info_writer.h | 319 } else if (type->IsInterface()) { in Write()
|