Searched refs:InstanceOf (Results 1 – 23 of 23) sorted by relevance
1 Verifies MustDoNullCheck() on InstanceOf and CheckCast
5 CCE throw| InstanceOf | Correct?
73 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()
534 TEST_F(ObjectTest, InstanceOf) { in TEST_F() argument550 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()
51 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
130 return klass->IsInterface() || InstanceOf(klass); in VerifierInstanceOf()134 inline bool Object::InstanceOf(ObjPtr<Class> klass) { in InstanceOf() function
128 ALWAYS_INLINE bool InstanceOf(ObjPtr<Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
35 return obj->InstanceOf(ref_class) ? 1 : 0; in artInstanceOfFromCode()
29 public void InstanceOf(Object o) throws Exception { in InstanceOf() method in Main
123 } else if (UNLIKELY(!o->InstanceOf(c))) { in VerifyObjectIsClass()
251 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()
75 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
1342 if (o != nullptr && !o->InstanceOf(oa->GetClass()->GetComponentType())) { in SetArrayElements()3950 if (argument != nullptr && !argument->InstanceOf(parameter_type)) { in PrepareInvokeMethod()
2816 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()
84 M(InstanceOf , unused) \
74 M(InstanceOf , unused) \
1398 M(InstanceOf, Instruction) \7233 DECLARE_INSTRUCTION(InstanceOf);7236 DEFAULT_COPY_CONSTRUCTOR(InstanceOf);
51 if (!o->InstanceOf(return_type)) { in CheckReferenceResult()
416 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in MterpCheckCast()438 return (obj != nullptr) && obj->InstanceOf(c); in MterpInstanceOf()
795 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in CHECK_CAST()815 (obj != nullptr && obj->InstanceOf(c)) ? 1 : 0); in INSTANCE_OF()
1407 if (UNLIKELY(!object->InstanceOf(call_site_class))) { in InvokeBootstrapMethod()
421 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckMethodAndSig()491 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod()
746 return obj->InstanceOf(c) ? JNI_TRUE : JNI_FALSE; in IsInstanceOf()