/art/runtime/mirror/ |
D | object_test.cc | 579 TEST_F(ObjectTest, IsAssignableFrom) { in TEST_F() argument 587 EXPECT_TRUE(X->IsAssignableFrom(X)); in TEST_F() 588 EXPECT_TRUE(X->IsAssignableFrom(Y)); in TEST_F() 589 EXPECT_FALSE(Y->IsAssignableFrom(X)); in TEST_F() 590 EXPECT_TRUE(Y->IsAssignableFrom(Y)); in TEST_F() 596 EXPECT_TRUE(charseq->IsAssignableFrom(string)); in TEST_F() 598 EXPECT_FALSE(string->IsAssignableFrom(charseq)); in TEST_F() 609 EXPECT_TRUE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 611 EXPECT_FALSE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 654 EXPECT_TRUE(YAA->IsAssignableFrom(YAA)); // identity in TEST_F() [all …]
|
D | object.cc | 216 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl() 235 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
|
D | object_array-inl.h | 222 } else if (LIKELY(dst_class->IsAssignableFrom(o_class))) { in AssignableCheckingMemcpy()
|
D | class.cc | 104 if (!eiie_class->IsAssignableFrom(exception_class)) { in SetStatus() 337 return WellKnownClasses::ToClass(WellKnownClasses::java_lang_Throwable)->IsAssignableFrom(this); in IsThrowableClass()
|
D | class-inl.h | 255 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray()
|
D | object-inl.h | 221 return klass->IsAssignableFrom(GetClass<kVerifyFlags>()); in InstanceOf()
|
D | class.h | 619 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 | 99 DCHECK(!dest_type->IsAssignableFrom(src_type)); in artThrowClassCastException()
|
/art/runtime/verifier/ |
D | reg_type-inl.h | 103 lhs.GetClass()->IsAssignableFrom(rhs.GetClass())) { in AssignableFrom() 114 inline bool RegType::IsAssignableFrom(const RegType& src) const { in IsAssignableFrom() function
|
D | register_line-inl.h | 132 if (UNLIKELY(!check_type.IsAssignableFrom(src_type))) { in VerifyRegisterType()
|
D | reg_type.cc | 715 } else if (s->IsAssignableFrom(t)) { in ClassJoin() 717 } else if (t->IsAssignableFrom(s)) { in ClassJoin() 834 if (cmp1.IsAssignableFrom(cmp2)) { in CanAssignArray()
|
D | method_verifier.cc | 1803 } else if (!return_type.IsAssignableFrom(reg_type)) { in CodeFlowVerifyInstruction() 2059 if (!reg_types_.JavaLangThrowable(false).IsAssignableFrom(res_type)) { in CodeFlowVerifyInstruction() 3197 if (!reg_types_.JavaLangThrowable(false).IsAssignableFrom(exception)) { in GetCaughtExceptionType() 3213 reg_types_.JavaLangThrowable(false).IsAssignableFrom(*common_super), in GetCaughtExceptionType() 3388 if (!res_method_class->IsAssignableFrom(actual_arg_type)) { in VerifyInvocationArgsFromIterator() 3622 if (!res_method_class.IsAssignableFrom(actual_arg_type)) { in VerifyInvokeVirtualQuickArgs() 3960 } else if (!field_klass.IsAssignableFrom(obj_type)) { in GetInstanceField() 4021 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyISFieldAccess() 4053 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyISFieldAccess() 4182 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyQuickFieldAccess() [all …]
|
D | register_line.cc | 76 if (!check_type1.IsAssignableFrom(src_type)) { in VerifyRegisterTypeWide()
|
D | reg_type.h | 207 bool IsAssignableFrom(const RegType& src) const
|
/art/runtime/ |
D | jni_internal_test.cc | 1254 TEST_F(JniInternalTest, IsAssignableFrom) { in TEST_F() argument 1262 ASSERT_TRUE(env_->IsAssignableFrom(string_class, object_class)); in TEST_F() 1263 ASSERT_FALSE(env_->IsAssignableFrom(object_class, string_class)); in TEST_F() 1270 ASSERT_TRUE(env_->IsAssignableFrom(string_class, charsequence_interface)); in TEST_F() 1271 ASSERT_FALSE(env_->IsAssignableFrom(charsequence_interface, string_class)); in TEST_F() 1278 ASSERT_TRUE(env_->IsAssignableFrom(string_array_class, object_array_class)); in TEST_F() 1279 ASSERT_FALSE(env_->IsAssignableFrom(object_array_class, string_array_class)); in TEST_F() 1286 EXPECT_EQ(env_->IsAssignableFrom(nullptr, string_class), JNI_FALSE); in TEST_F() 1288 EXPECT_EQ(env_->IsAssignableFrom(object_class, nullptr), JNI_FALSE); in TEST_F() 1291 EXPECT_EQ(env_->IsAssignableFrom(nullptr, string_class), JNI_FALSE); in TEST_F() [all …]
|
D | class_linker_test.cc | 258 EXPECT_TRUE(method.GetDeclaringClass()->IsAssignableFrom(klass.Get())); in AssertClass() 967 EXPECT_TRUE(I->IsAssignableFrom(A.Get())); in TEST_F() 968 EXPECT_TRUE(J->IsAssignableFrom(A.Get())); in TEST_F() 969 EXPECT_TRUE(J->IsAssignableFrom(K.Get())); in TEST_F() 970 EXPECT_TRUE(K->IsAssignableFrom(B.Get())); in TEST_F() 971 EXPECT_TRUE(J->IsAssignableFrom(B.Get())); in TEST_F()
|
D | debugger.cc | 485 if (!java_lang_Thread->IsAssignableFrom(thread_peer->GetClass())) { in DecodeThread() 526 if (thread_class->IsAssignableFrom(c)) { in TagFromClass() 533 if (thread_group_class->IsAssignableFrom(c)) { in TagFromClass() 540 if (class_loader_class->IsAssignableFrom(c)) { in TagFromClass() 1433 return expected_class->IsAssignableFrom(event_class); in MatchType() 1831 if (receiver_class != nullptr && !f->GetDeclaringClass()->IsAssignableFrom(receiver_class)) { in GetFieldValueImpl() 1922 if (!field_type->IsAssignableFrom(v->GetClass())) { in SetArtFieldValue() 1987 if (!java_lang_String->IsAssignableFrom(obj->GetClass())) { in StringToUtf8() 2082 if (!c->IsAssignableFrom(thread_group->GetClass())) { in DecodeThreadGroup() 3916 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in PrepareInvokeMethod()
|
D | art_method.cc | 281 } else if (iter_exception_type->IsAssignableFrom(exception_type.Get())) { in FindCatchBlock()
|
D | check_jni.cc | 224 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckMethodAndSig() 278 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckStaticMethod() 596 if (o == nullptr || !field->GetDeclaringClass()->IsAssignableFrom(o->GetClass())) { in CheckFieldAccess() 1547 static jboolean IsAssignableFrom(JNIEnv* env, jclass c1, jclass c2) { in IsAssignableFrom() function in art::CheckJNI 1553 result.b = baseEnv(env)->IsAssignableFrom(env, c1, c2); in IsAssignableFrom() 3392 CheckJNI::IsAssignableFrom,
|
D | jni_internal.cc | 414 static jboolean IsAssignableFrom(JNIEnv* env, jclass java_class1, jclass java_class2) { in IsAssignableFrom() function in art::JNI 420 return c2->IsAssignableFrom(c1) ? JNI_TRUE : JNI_FALSE; in IsAssignableFrom() 1863 if (UNLIKELY(!element_class->IsAssignableFrom(initial_object->GetClass()))) { in NewObjectArray() 2498 JNI::IsAssignableFrom,
|
D | reflection.cc | 865 } else if (declaring_class->IsAssignableFrom(calling_class)) { in VerifyAccess()
|
/art/runtime/native/ |
D | java_lang_System.cc | 142 if (dstComponentType->IsAssignableFrom(srcComponentType)) { in System_arraycopy()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 311 declares_exception = declared_exception->IsAssignableFrom(exception_class); in InvokeProxyInvocationHandler()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 268 return env->IsAssignableFrom(from, to); in Java_Main_nativeIsAssignableFrom()
|