/art/runtime/entrypoints/portable/ |
D | portable_cast_entrypoints.cc | 28 return dest_type->IsAssignableFrom(src_type) ? 1 : 0; in art_portable_is_assignable_from_code() 36 if (UNLIKELY(!dest_type->IsAssignableFrom(src_type))) { in art_portable_check_cast_from_code() 52 if (UNLIKELY(!component_type->IsAssignableFrom(element_class))) { in art_portable_check_put_array_element_from_code()
|
D | portable_throw_entrypoints.cc | 107 } else if (iter_exception_type->IsAssignableFrom(exception_type)) { in art_portable_find_catch_block_from_code()
|
/art/runtime/mirror/ |
D | object_test.cc | 560 TEST_F(ObjectTest, IsAssignableFrom) { in TEST_F() argument 568 EXPECT_TRUE(X->IsAssignableFrom(X)); in TEST_F() 569 EXPECT_TRUE(X->IsAssignableFrom(Y)); in TEST_F() 570 EXPECT_FALSE(Y->IsAssignableFrom(X)); in TEST_F() 571 EXPECT_TRUE(Y->IsAssignableFrom(Y)); in TEST_F() 577 EXPECT_TRUE(charseq->IsAssignableFrom(string)); in TEST_F() 579 EXPECT_FALSE(string->IsAssignableFrom(charseq)); in TEST_F() 590 EXPECT_TRUE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 592 EXPECT_FALSE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 635 EXPECT_TRUE(YAA->IsAssignableFrom(YAA)); // identity in TEST_F() [all …]
|
D | object.cc | 216 CHECK(fh.GetType()->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl() 236 CHECK(fh.GetType()->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
|
D | object_array-inl.h | 217 } else if (LIKELY(dst_class->IsAssignableFrom(o_class))) { in AssignableCheckingMemcpy()
|
D | art_method.cc | 245 } else if (iter_exception_type->IsAssignableFrom(exception_type.Get())) { in FindCatchBlock()
|
D | class.cc | 107 if (!eiie_class->IsAssignableFrom(exception_class)) { in SetStatus() 350 return WellKnownClasses::ToClass(WellKnownClasses::java_lang_Throwable)->IsAssignableFrom(this); in IsThrowableClass()
|
D | class-inl.h | 230 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray()
|
D | object-inl.h | 190 return klass->IsAssignableFrom(GetClass<kVerifyFlags>()); in InstanceOf()
|
D | class.h | 597 ALWAYS_INLINE bool IsAssignableFrom(Class* src) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in IsAssignableFrom() function
|
/art/runtime/entrypoints/quick/ |
D | quick_cast_entrypoints.cc | 27 return klass->IsAssignableFrom(ref_class) ? 1 : 0; in artIsAssignableFromCode()
|
D | quick_throw_entrypoints.cc | 106 CHECK(!dest_type->IsAssignableFrom(src_type)); in artThrowClassCastException()
|
/art/runtime/ |
D | jni_internal_test.cc | 973 TEST_F(JniInternalTest, IsAssignableFrom) { in TEST_F() argument 981 ASSERT_TRUE(env_->IsAssignableFrom(string_class, object_class)); in TEST_F() 982 ASSERT_FALSE(env_->IsAssignableFrom(object_class, string_class)); in TEST_F() 989 ASSERT_TRUE(env_->IsAssignableFrom(string_class, charsequence_interface)); in TEST_F() 990 ASSERT_FALSE(env_->IsAssignableFrom(charsequence_interface, string_class)); in TEST_F() 997 ASSERT_TRUE(env_->IsAssignableFrom(string_array_class, object_array_class)); in TEST_F() 998 ASSERT_FALSE(env_->IsAssignableFrom(object_array_class, string_array_class)); in TEST_F() 1004 EXPECT_EQ(env_->IsAssignableFrom(nullptr, string_class), JNI_FALSE); in TEST_F() 1006 EXPECT_EQ(env_->IsAssignableFrom(object_class, nullptr), JNI_FALSE); in TEST_F()
|
D | class_linker_test.cc | 262 EXPECT_TRUE(method->GetDeclaringClass()->IsAssignableFrom(klass.Get())); in AssertClass() 928 EXPECT_TRUE(I->IsAssignableFrom(A.Get())); in TEST_F() 929 EXPECT_TRUE(J->IsAssignableFrom(A.Get())); in TEST_F() 930 EXPECT_TRUE(J->IsAssignableFrom(K.Get())); in TEST_F() 931 EXPECT_TRUE(K->IsAssignableFrom(B.Get())); in TEST_F() 932 EXPECT_TRUE(J->IsAssignableFrom(B.Get())); in TEST_F()
|
D | debugger.cc | 445 if (!java_lang_Thread->IsAssignableFrom(thread_peer->GetClass())) { in DecodeThread() 485 if (thread_class->IsAssignableFrom(c)) { in TagFromClass() 492 if (thread_group_class->IsAssignableFrom(c)) { in TagFromClass() 499 if (class_loader_class->IsAssignableFrom(c)) { in TagFromClass() 1477 return expected_class->IsAssignableFrom(event_class); in MatchType() 1818 if (receiver_class != NULL && !f->GetDeclaringClass()->IsAssignableFrom(receiver_class)) { in GetFieldValueImpl() 1913 if (!field_type->IsAssignableFrom(v->GetClass())) { in SetFieldValueImpl() 1941 if (!java_lang_String->IsAssignableFrom(obj->GetClass())) { in StringToUtf8() 2035 if (!c->IsAssignableFrom(thread_group->GetClass())) { in DecodeThreadGroup() 3656 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in InvokeMethod()
|
D | check_jni.cc | 336 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckStaticMethod() 1142 static jboolean IsAssignableFrom(JNIEnv* env, jclass c1, jclass c2) { in IsAssignableFrom() function in art::CheckJNI 1144 return CHECK_JNI_EXIT("b", baseEnv(env)->IsAssignableFrom(env, c1, c2)); in IsAssignableFrom() 1797 CheckJNI::IsAssignableFrom,
|
D | reflection.cc | 812 } else if (declaring_class->IsAssignableFrom(caller_class)) { in VerifyAccess()
|
D | jni_internal.cc | 668 static jboolean IsAssignableFrom(JNIEnv* env, jclass java_class1, jclass java_class2) { in IsAssignableFrom() function in art::JNI 674 return c2->IsAssignableFrom(c1) ? JNI_TRUE : JNI_FALSE; in IsAssignableFrom() 2152 if (UNLIKELY(!element_class->IsAssignableFrom(initial_object->GetClass()))) { in NewObjectArray() 2731 JNI::IsAssignableFrom,
|
/art/runtime/verifier/ |
D | reg_type.cc | 746 lhs.GetClass()->IsAssignableFrom(rhs.GetClass())) { in AssignableFrom() 757 bool RegType::IsAssignableFrom(RegType& src) { in IsAssignableFrom() function in art::verifier::RegType 917 } else if (s->IsAssignableFrom(t)) { in ClassJoin() 919 } else if (t->IsAssignableFrom(s)) { in ClassJoin()
|
D | register_line.cc | 113 if (!(check_type.IsAssignableFrom(src_type))) { in VerifyRegisterType() 147 if (!check_type1.IsAssignableFrom(src_type)) { in VerifyRegisterTypeWide()
|
D | method_verifier.cc | 1636 } else if (!return_type.IsAssignableFrom(reg_type)) { in CodeFlowVerifyInstruction() 1879 if (!reg_types_.JavaLangThrowable(false).IsAssignableFrom(res_type)) { in CodeFlowVerifyInstruction() 3005 if (!reg_types_.JavaLangThrowable(false).IsAssignableFrom(exception)) { in GetCaughtExceptionType() 3021 reg_types_.JavaLangThrowable(false).IsAssignableFrom(*common_super), in GetCaughtExceptionType() 3196 if (!res_method_class->IsAssignableFrom(actual_arg_type)) { in VerifyInvocationArgsFromIterator() 3429 if (!res_method_class.IsAssignableFrom(actual_arg_type)) { in VerifyInvokeVirtualQuickArgs() 3747 } else if (!field_klass.IsAssignableFrom(obj_type)) { in GetInstanceField() 3813 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyISFieldAccess() 3840 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyISFieldAccess() 3971 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyQuickFieldAccess() [all …]
|
D | reg_type.h | 237 bool IsAssignableFrom(RegType& src) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/runtime/native/ |
D | java_lang_System.cc | 143 if (dstComponentType->IsAssignableFrom(srcComponentType)) { in System_arraycopy()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 334 declares_exception = declared_exception->IsAssignableFrom(exception_class); in InvokeProxyInvocationHandler()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 263 return env->IsAssignableFrom(from, to); in Java_Main_nativeIsAssignableFrom()
|