Home
last modified time | relevance | path

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

/art/test/108-check-cast/
Dinfo.txt5 CCE throw| InstanceOf | Correct?
/art/runtime/mirror/
Dthrowable.cc66 if (InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_Error))) { in IsCheckedException()
69 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()
556 EXPECT_TRUE(array->InstanceOf(java_lang_Cloneable)); in TEST_F()
557 EXPECT_TRUE(array->InstanceOf(java_io_Serializable)); in TEST_F()
Dobject_array-inl.h66 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
Dobject-inl.h183 return klass->IsInterface() || InstanceOf(klass); in VerifierInstanceOf()
187 inline bool Object::InstanceOf(Class* klass) { in InstanceOf() function
Dobject.h99 bool InstanceOf(Class* klass) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/runtime/
Dreflection.cc235 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) { in BuildArgArrayFromObjectArray()
384 if (argument != nullptr && !argument->InstanceOf(param_type)) { in CheckMethodArguments()
608 } else if (!o->InstanceOf(c)) { in VerifyObjectIsClass()
699 if (UNLIKELY(o != nullptr && !o->InstanceOf(dst_class))) { in UnboxPrimitive()
809 if (obj != nullptr && !obj->InstanceOf(caller_class) && in VerifyAccess()
Dcheck_jni.cc217 if (!obj->InstanceOf(field_type)) { in CheckFieldType()
358 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod()
Dclass_linker_test.cc56 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
Djni_internal.cc686 return obj->InstanceOf(c) ? JNI_TRUE : JNI_FALSE; in IsInstanceOf()
Ddebugger.cc3686 if (argument != NULL && !argument->InstanceOf(parameter_type)) { in InvokeMethod()
Dclass_linker.cc5659 if (cause->InstanceOf(GetClassRoot(kJavaLangClassNotFoundException))) { in ResolveType()
/art/runtime/entrypoints/
Dentrypoint_utils.cc228 if (!o->InstanceOf(return_type)) { in CheckReferenceResult()
/art/runtime/interpreter/
Dinterpreter_goto_table_impl.cc501 if (UNLIKELY(obj != NULL && !obj->InstanceOf(c))) { in ExecuteGotoImpl()
518 shadow_frame.SetVReg(inst->VRegA_22c(inst_data), (obj != NULL && obj->InstanceOf(c)) ? 1 : 0); in ExecuteGotoImpl()
Dinterpreter_switch_impl.cc414 if (UNLIKELY(obj != NULL && !obj->InstanceOf(c))) { in ExecuteSwitchImpl()
431 … shadow_frame.SetVReg(inst->VRegA_22c(inst_data), (obj != NULL && obj->InstanceOf(c)) ? 1 : 0); in ExecuteSwitchImpl()
/art/compiler/llvm/
Dintrinsic_func_list.def296 _EVAL_DEF_INTRINSICS_FUNC(InstanceOf,
Dgbc_expander.cc2970 case IntrinsicHelper::InstanceOf: { in ExpandIntrinsic()
/art/compiler/dex/portable/
Dmir_to_gbc.cc605 id = art::llvm::IntrinsicHelper::InstanceOf; in ConvertInstanceOf()