Searched refs:InstanceOf (Results 1 – 23 of 23) sorted by relevance
1 Verifies MustDoNullCheck() on InstanceOf and CheckCast
5 CCE throw| InstanceOf | Correct?
20 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf46 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf72 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf98 ## CHECK-DAG: <<IOf:z\d+>> InstanceOf
35 return obj->InstanceOf(ref_class) ? 1 : 0; in artInstanceOfFromCode()
29 public void InstanceOf(Object o) throws Exception { in InstanceOf() method in Main
71 if (InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_Error))) { in IsCheckedException()74 return !InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_RuntimeException)); in IsCheckedException()
525 TEST_F(ObjectTest, InstanceOf) { in TEST_F() argument541 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()
79 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
157 return klass->IsInterface() || InstanceOf(klass); in VerifierInstanceOf()161 inline bool Object::InstanceOf(ObjPtr<Class> klass) { in InstanceOf() function
129 ALWAYS_INLINE bool InstanceOf(ObjPtr<Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
63 M(InstanceOf , unused) \
1316 M(InstanceOf, Instruction) \6344 DECLARE_INSTRUCTION(InstanceOf);
123 } else if (UNLIKELY(!o->InstanceOf(c.Ptr()))) { in VerifyObjectIsClass()
246 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()
353 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckMethodAndSig()423 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod()
68 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
1270 if (o != nullptr && !o->InstanceOf(oa->GetClass()->GetComponentType())) { in SetArrayElements()4006 if (argument != nullptr && !argument->InstanceOf(parameter_type)) { in PrepareInvokeMethod()
443 return obj->InstanceOf(c) ? JNI_TRUE : JNI_FALSE; in IsInstanceOf()
7936 if (cause->InstanceOf(GetClassRoot(kJavaLangClassNotFoundException))) { in ResolveType()
50 if (!o->InstanceOf(return_type)) { in CheckReferenceResult()
353 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in MterpCheckCast()375 return (obj != nullptr) && obj->InstanceOf(c); in MterpInstanceOf()
471 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in ExecuteSwitchImpl()492 (obj != nullptr && obj->InstanceOf(c)) ? 1 : 0); in ExecuteSwitchImpl()
800 if (UNLIKELY(!object->InstanceOf(mirror::CallSite::StaticClass()))) { in InvokeBootstrapMethod()