/art/test/486-checker-must-do-null-check/ |
D | info.txt | 1 Verifies MustDoNullCheck() on InstanceOf and CheckCast
|
/art/test/108-check-cast/ |
D | info.txt | 5 CCE throw| InstanceOf | Correct?
|
/art/runtime/entrypoints/quick/ |
D | quick_cast_entrypoints.cc | 35 return obj->InstanceOf(ref_class) ? 1 : 0; in artInstanceOfFromCode()
|
/art/runtime/mirror/ |
D | throwable.cc | 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()
|
D | object_test.cc | 577 TEST_F(ObjectTest, InstanceOf) { in TEST_F() argument 593 EXPECT_TRUE(x->InstanceOf(X.Get())); in TEST_F() 594 EXPECT_FALSE(x->InstanceOf(Y.Get())); in TEST_F() 595 EXPECT_TRUE(y->InstanceOf(X.Get())); in TEST_F() 596 EXPECT_TRUE(y->InstanceOf(Y.Get())); in TEST_F() 603 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class.Get())); in TEST_F() 604 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class.Get())); in TEST_F() 613 EXPECT_TRUE(array->InstanceOf(java_lang_Cloneable.Get())); in TEST_F() 614 EXPECT_TRUE(array->InstanceOf(java_io_Serializable.Get())); in TEST_F()
|
D | object_array-inl.h | 52 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
|
D | object-inl.h | 130 return klass->IsInterface() || InstanceOf(klass); in VerifierInstanceOf() 134 inline bool Object::InstanceOf(ObjPtr<Class> klass) { in InstanceOf() function
|
D | object.h | 129 ALWAYS_INLINE bool InstanceOf(ObjPtr<Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/test/486-checker-must-do-null-check/src/ |
D | Main.java | 29 public void InstanceOf(Object o) throws Exception { in InstanceOf() method in Main
|
/art/runtime/ |
D | reflection-inl.h | 123 } else if (UNLIKELY(!o->InstanceOf(c))) { in VerifyObjectIsClass()
|
D | class_loader_utils.h | 37 return class_loader->InstanceOf( in IsInstanceOfBaseDexClassLoader()
|
D | reflection.cc | 251 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) { in BuildArgArrayFromObjectArray() 399 if (argument != nullptr && !argument->InstanceOf(param_type)) { in CheckMethodArguments() 893 if (UNLIKELY(o != nullptr && !o->InstanceOf(dst_class))) { in UnboxPrimitive() 1023 if (obj != nullptr && !obj->InstanceOf(calling_class) && in VerifyAccess()
|
D | class_linker_test.cc | 75 EXPECT_TRUE(exception->InstanceOf(exception_class)); in AssertNonExistentClass()
|
D | class_linker.cc | 2959 throwable->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, in MatchesDexFileCaughtExceptions() 2963 throwable->InstanceOf(Runtime::Current()->GetPreAllocatedNoClassDefFoundError()->GetClass()); in MatchesDexFileCaughtExceptions() 8774 if (cause->InstanceOf(GetClassRoot(ClassRoot::kJavaLangClassNotFoundException, this))) { in DoResolveType()
|
/art/compiler/optimizing/ |
D | scheduler_arm.h | 84 M(InstanceOf , unused) \
|
D | scheduler_arm64.h | 74 M(InstanceOf , unused) \
|
D | nodes.h | 1471 M(InstanceOf, Instruction) \ 7393 DECLARE_INSTRUCTION(InstanceOf); 7396 DEFAULT_COPY_CONSTRUCTOR(InstanceOf);
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 54 if (!o->InstanceOf(return_type)) { in CheckReferenceResult()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 415 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in MterpCheckCast() 437 return (obj != nullptr) && obj->InstanceOf(c) ? 1u : 0u; in MterpInstanceOf()
|
/art/runtime/interpreter/ |
D | interpreter_switch_impl-inl.h | 693 if (UNLIKELY(obj != nullptr && !obj->InstanceOf(c))) { in CHECK_CAST() 711 SetVReg(A(), (obj != nullptr && obj->InstanceOf(c)) ? 1 : 0); in INSTANCE_OF()
|
D | interpreter_common.cc | 1086 if (UNLIKELY(!object->InstanceOf(call_site_class))) { in InvokeBootstrapMethod()
|
/art/runtime/jni/ |
D | check_jni.cc | 421 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckMethodAndSig() 491 } else if (!o->InstanceOf(m->GetDeclaringClass())) { in CheckVirtualMethod()
|
D | jni_internal.cc | 584 return obj->InstanceOf(c) ? JNI_TRUE : JNI_FALSE; in IsInstanceOf()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 1725 return obj->InstanceOf(old_klass.Get()); in CollectAndCreateNewInstances()
|