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/test/450-checker-types/smali/
DSmaliTests.smali20 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf
46 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf
72 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf
98 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf
/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/mirror/
Dthrowable.cc71 if (InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_Error))) { in IsCheckedException()
74 return !InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_RuntimeException)); in IsCheckedException()
Dobject_test.cc525 TEST_F(ObjectTest, InstanceOf) { in TEST_F() argument
541 EXPECT_TRUE(x->InstanceOf(X)); in TEST_F()
542 EXPECT_FALSE(x->InstanceOf(Y)); in TEST_F()
543 EXPECT_TRUE(y->InstanceOf(X)); in TEST_F()
544 EXPECT_TRUE(y->InstanceOf(Y)); in TEST_F()
549 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class)); in TEST_F()
550 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class)); in TEST_F()
558 EXPECT_TRUE(array->InstanceOf(java_lang_Cloneable)); in TEST_F()
559 EXPECT_TRUE(array->InstanceOf(java_io_Serializable)); in TEST_F()
Dobject_array-inl.h79 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
Dobject-inl.h157 return klass->IsInterface() || InstanceOf(klass); in VerifierInstanceOf()
161 inline bool Object::InstanceOf(ObjPtr<Class> klass) { in InstanceOf() function
Dobject.h129 ALWAYS_INLINE bool InstanceOf(ObjPtr<Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
/art/compiler/optimizing/
Dscheduler_arm64.h63 M(InstanceOf , unused) \
Dnodes.h1316 M(InstanceOf, Instruction) \
6344 DECLARE_INSTRUCTION(InstanceOf);
/art/runtime/
Dreflection-inl.h123 } else if (UNLIKELY(!o->InstanceOf(c.Ptr()))) { in VerifyObjectIsClass()
Dreflection.cc246 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) { in BuildArgArrayFromObjectArray()
394 if (argument != nullptr && !argument->InstanceOf(param_type)) { in CheckMethodArguments()
776 if (UNLIKELY(o != nullptr && !o->InstanceOf(dst_class))) { in UnboxPrimitive()
906 if (obj != nullptr && !obj->InstanceOf(calling_class) && in VerifyAccess()
Dcheck_jni.cc353 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckMethodAndSig()
423 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod()
Dclass_linker_test.cc68 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
Ddebugger.cc1270 if (o != nullptr && !o->InstanceOf(oa->GetClass()->GetComponentType())) { in SetArrayElements()
4006 if (argument != nullptr && !argument->InstanceOf(parameter_type)) { in PrepareInvokeMethod()
Djni_internal.cc443 return obj->InstanceOf(c) ? JNI_TRUE : JNI_FALSE; in IsInstanceOf()
Dclass_linker.cc7936 if (cause->InstanceOf(GetClassRoot(kJavaLangClassNotFoundException))) { in ResolveType()
/art/runtime/entrypoints/
Dentrypoint_utils.cc50 if (!o->InstanceOf(return_type)) { in CheckReferenceResult()
/art/runtime/interpreter/mterp/
Dmterp.cc353 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in MterpCheckCast()
375 return (obj != nullptr) && obj->InstanceOf(c); in MterpInstanceOf()
/art/runtime/interpreter/
Dinterpreter_switch_impl.cc471 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in ExecuteSwitchImpl()
492 (obj != nullptr && obj->InstanceOf(c)) ? 1 : 0); in ExecuteSwitchImpl()
Dinterpreter_common.cc800 if (UNLIKELY(!object->InstanceOf(mirror::CallSite::StaticClass()))) { in InvokeBootstrapMethod()