Home
last modified time | relevance | path

Searched refs:InstanceOf (Results 1 – 23 of 23) 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.cc534 TEST_F(ObjectTest, InstanceOf) { in TEST_F() argument
550 EXPECT_TRUE(x->InstanceOf(X.Get())); in TEST_F()
551 EXPECT_FALSE(x->InstanceOf(Y.Get())); in TEST_F()
552 EXPECT_TRUE(y->InstanceOf(X.Get())); in TEST_F()
553 EXPECT_TRUE(y->InstanceOf(Y.Get())); in TEST_F()
560 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class.Get())); in TEST_F()
561 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class.Get())); in TEST_F()
570 EXPECT_TRUE(array->InstanceOf(java_lang_Cloneable.Get())); in TEST_F()
571 EXPECT_TRUE(array->InstanceOf(java_io_Serializable.Get())); in TEST_F()
Dobject_array-inl.h51 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.h128 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/runtime/
Dreflection-inl.h123 } else if (UNLIKELY(!o->InstanceOf(c))) { in VerifyObjectIsClass()
Dreflection.cc251 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) { in BuildArgArrayFromObjectArray()
399 if (argument != nullptr && !argument->InstanceOf(param_type)) { in CheckMethodArguments()
851 if (UNLIKELY(o != nullptr && !o->InstanceOf(dst_class))) { in UnboxPrimitive()
981 if (obj != nullptr && !obj->InstanceOf(calling_class) && in VerifyAccess()
Dclass_linker_test.cc75 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
Ddebugger.cc1342 if (o != nullptr && !o->InstanceOf(oa->GetClass()->GetComponentType())) { in SetArrayElements()
3950 if (argument != nullptr && !argument->InstanceOf(parameter_type)) { in PrepareInvokeMethod()
Dclass_linker.cc2816 throwable->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, in MatchesDexFileCaughtExceptions()
2820 throwable->InstanceOf(Runtime::Current()->GetPreAllocatedNoClassDefFoundError()->GetClass()); in MatchesDexFileCaughtExceptions()
8492 if (cause->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, this))) { in DoResolveType()
/art/compiler/optimizing/
Dscheduler_arm.h84 M(InstanceOf , unused) \
Dscheduler_arm64.h74 M(InstanceOf , unused) \
Dnodes.h1398 M(InstanceOf, Instruction) \
7233 DECLARE_INSTRUCTION(InstanceOf);
7236 DEFAULT_COPY_CONSTRUCTOR(InstanceOf);
/art/runtime/entrypoints/
Dentrypoint_utils.cc51 if (!o->InstanceOf(return_type)) { in CheckReferenceResult()
/art/runtime/interpreter/mterp/
Dmterp.cc416 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in MterpCheckCast()
438 return (obj != nullptr) && obj->InstanceOf(c); in MterpInstanceOf()
/art/runtime/interpreter/
Dinterpreter_switch_impl-inl.h795 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in CHECK_CAST()
815 (obj != nullptr && obj->InstanceOf(c)) ? 1 : 0); in INSTANCE_OF()
Dinterpreter_common.cc1407 if (UNLIKELY(!object->InstanceOf(call_site_class))) { in InvokeBootstrapMethod()
/art/runtime/jni/
Dcheck_jni.cc421 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckMethodAndSig()
491 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod()
Djni_internal.cc746 return obj->InstanceOf(c) ? JNI_TRUE : JNI_FALSE; in IsInstanceOf()