Home
last modified time | relevance | path

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

/art/test/486-checker-must-do-null-check/
Dinfo.txt1 Verifies MustDoNullCheck() on InstanceOf and CheckCast
/art/test/108-check-cast/
Dinfo.txt5 CCE throw| InstanceOf | Correct?
/art/runtime/mirror/
Dthrowable.cc73 if (InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_Error))) { in IsCheckedException()
76 return !InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_RuntimeException)); in IsCheckedException()
80 return InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_Error)); in IsError()
Dobject_test.cc577 TEST_F(ObjectTest, InstanceOf) { in TEST_F() argument
593 EXPECT_TRUE(x->InstanceOf(X.Get())); in TEST_F()
594 EXPECT_FALSE(x->InstanceOf(Y.Get())); in TEST_F()
595 EXPECT_TRUE(y->InstanceOf(X.Get())); in TEST_F()
596 EXPECT_TRUE(y->InstanceOf(Y.Get())); in TEST_F()
603 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class.Get())); in TEST_F()
604 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class.Get())); in TEST_F()
613 EXPECT_TRUE(array->InstanceOf(java_lang_Cloneable.Get())); in TEST_F()
614 EXPECT_TRUE(array->InstanceOf(java_io_Serializable.Get())); in TEST_F()
Dobject_array-inl.h52 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
Dobject-inl.h130 return klass->IsInterface() || InstanceOf(klass); in VerifierInstanceOf()
134 inline bool Object::InstanceOf(ObjPtr<Class> klass) { in InstanceOf() function
Dobject.h131 ALWAYS_INLINE bool InstanceOf(ObjPtr<Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
/art/runtime/entrypoints/quick/
Dquick_cast_entrypoints.cc35 return obj->InstanceOf(ref_class) ? 1 : 0; in artInstanceOfFromCode()
/art/test/486-checker-must-do-null-check/src/
DMain.java29 public void InstanceOf(Object o) throws Exception { in InstanceOf() method in Main
/art/test/530-checker-instance-of-simplifier/jasmin/
DMain.j23 ;; CHECK-DAG: InstanceOf
30 ;; CHECK-NOT: InstanceOf
/art/runtime/
Dreflection-inl.h123 } else if (UNLIKELY(!o->InstanceOf(c))) { in VerifyObjectIsClass()
Dclass_loader_utils.h37 return class_loader->InstanceOf( in IsInstanceOfBaseDexClassLoader()
Dreflection.cc251 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) { in BuildArgArrayFromObjectArray()
399 if (argument != nullptr && !argument->InstanceOf(param_type)) { in CheckMethodArguments()
915 if (UNLIKELY(o != nullptr && !o->InstanceOf(dst_class))) { in UnboxPrimitive()
1045 if (obj != nullptr && !obj->InstanceOf(calling_class) && in VerifyAccess()
Dclass_linker_test.cc75 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
Dclass_linker.cc2754 throwable->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, in MatchesDexFileCaughtExceptions()
2758 throwable->InstanceOf(Runtime::Current()->GetPreAllocatedNoClassDefFoundError()->GetClass()); in MatchesDexFileCaughtExceptions()
9020 if (cause->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, this))) { in DoResolveType()
/art/compiler/optimizing/
Dscheduler_arm.h85 M(InstanceOf, unused) \
Dscheduler_arm64.h74 M(InstanceOf , unused) \
Dnodes.h1514 M(InstanceOf, Instruction) \
7761 DECLARE_INSTRUCTION(InstanceOf);
7764 DEFAULT_COPY_CONSTRUCTOR(InstanceOf);
/art/runtime/entrypoints/
Dentrypoint_utils.cc54 if (!o->InstanceOf(return_type)) { in CheckReferenceResult()
/art/runtime/interpreter/mterp/
Dmterp.cc324 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in MterpCheckCast()
346 return (obj != nullptr) && obj->InstanceOf(c) ? 1u : 0u; in MterpInstanceOf()
/art/runtime/interpreter/
Dinterpreter_switch_impl-inl.h635 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in CHECK_CAST()
652 SetVReg(A(), (obj != nullptr && obj->InstanceOf(c)) ? 1 : 0); in INSTANCE_OF()
Dinterpreter_common.cc1082 if (UNLIKELY(!object->InstanceOf(call_site_class))) { in InvokeBootstrapMethod()
/art/runtime/jni/
Dcheck_jni.cc436 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckMethodAndSig()
506 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod()
Djni_internal.cc683 return obj->InstanceOf(c) ? JNI_TRUE : JNI_FALSE; in IsInstanceOf()
/art/openjdkjvmti/
Dti_redefine.cc1724 return obj->InstanceOf(old_klass.Get()); in CollectAndCreateNewInstances()