/art/runtime/mirror/ |
D | object_test.cc | 617 TEST_F(ObjectTest, IsAssignableFrom) { in TEST_F() argument 625 EXPECT_TRUE(X->IsAssignableFrom(X.Get())); in TEST_F() 626 EXPECT_TRUE(X->IsAssignableFrom(Y.Get())); in TEST_F() 627 EXPECT_FALSE(Y->IsAssignableFrom(X.Get())); in TEST_F() 628 EXPECT_TRUE(Y->IsAssignableFrom(Y.Get())); in TEST_F() 636 EXPECT_TRUE(charseq->IsAssignableFrom(string.Get())); in TEST_F() 638 EXPECT_FALSE(string->IsAssignableFrom(charseq.Get())); in TEST_F() 649 EXPECT_TRUE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 651 EXPECT_FALSE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 700 EXPECT_TRUE(YAA->IsAssignableFrom(YAA.Get())); // identity in TEST_F() [all …]
|
D | object.cc | 244 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl() 262 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
|
D | object_array-inl.h | 267 } else if (LIKELY(dst_class->IsAssignableFrom(o_class))) { in AssignableCheckingMemcpy() 292 } else if (LIKELY(dst_class->IsAssignableFrom(o_class))) { in AssignableCheckingMemcpy()
|
D | class-inl.h | 437 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray() 1088 inline bool Class::IsAssignableFrom(ObjPtr<Class> src) { in IsAssignableFrom() function
|
D | class.cc | 523 return GetClassRoot<mirror::Throwable>()->IsAssignableFrom(this); in IsThrowableClass() 868 if (iface->IsAssignableFrom(possible_override->GetDeclaringClass())) { in FindVirtualMethodForInterfaceSuper() 1210 while (!common_super_class->IsAssignableFrom(klass.Get())) { in GetCommonSuperClass()
|
/art/runtime/entrypoints/quick/ |
D | quick_cast_entrypoints.cc | 27 return klass->IsAssignableFrom(ref_class) ? 1 : 0; in artIsAssignableFromCode()
|
D | quick_throw_entrypoints.cc | 132 CHECK(!dest_type->IsAssignableFrom(src_type)) in artThrowClassCastException() 138 DCHECK(!dest_type->IsAssignableFrom(src_type)); in artThrowClassCastException()
|
/art/runtime/verifier/ |
D | reg_type-inl.h | 115 bool result = lhs.GetClass()->IsAssignableFrom(rhs.GetClass()); in AssignableFrom() 149 inline bool RegType::IsAssignableFrom(const RegType& src, MethodVerifier* verifier) const { in IsAssignableFrom() function
|
D | register_line-inl.h | 136 if (UNLIKELY(!check_type.IsAssignableFrom(src_type, verifier))) { in VerifyRegisterType()
|
D | reg_type.cc | 644 } else if (s->IsAssignableFrom(t)) { in ClassJoin() 646 } else if (t->IsAssignableFrom(s)) { in ClassJoin() 1056 if (cmp1.IsAssignableFrom(cmp2, verifier)) { in CanAssignArray()
|
D | method_verifier.cc | 2222 } else if (!return_type.IsAssignableFrom(reg_type, this)) { in CodeFlowVerifyInstruction() 2569 if (!reg_types_.JavaLangThrowable(false).IsAssignableFrom(res_type, this)) { in CodeFlowVerifyInstruction() 3751 if (!reg_types_.JavaLangThrowable(false).IsAssignableFrom(exception, this)) { in HandleMoveException() 3770 if (FailOrAbort(reg_types_.JavaLangThrowable(false).IsAssignableFrom( in HandleMoveException() 4022 if (!res_method_class->IsAssignableFrom(adjusted_type, this)) { in VerifyInvocationArgsFromIterator() 4688 } else if (!field_klass.IsAssignableFrom(obj_type, this)) { in GetInstanceField() 4824 if (!insn_type.IsAssignableFrom(*field_type, this)) { in VerifyISFieldAccess() 4856 if (!insn_type.IsAssignableFrom(*field_type, this)) { in VerifyISFieldAccess()
|
D | register_line.cc | 79 if (!check_type1.IsAssignableFrom(src_type, verifier)) { in VerifyRegisterTypeWide()
|
/art/runtime/ |
D | method_handles.cc | 149 return to->IsAssignableFrom(GetBoxedPrimitiveClass(from_primitive)); in IsParameterTypeConvertible() 238 if (UNLIKELY(!h_obj.IsNull() && !to->IsAssignableFrom(h_obj->GetClass()))) { in ConvertJValueCommon() 296 if (from->IsAssignableFrom(GetBoxedPrimitiveClass(to_type))) { in ConvertJValueCommon() 1042 !mh_ptypes->Get(0)->IsAssignableFrom(callsite_ptypes->Get(0)) || in DoVarHandleInvokeTranslation() 1057 DCHECK(GetClassRoot<mirror::VarHandle>()->IsAssignableFrom(vh->GetClass())); in DoVarHandleInvokeTranslation()
|
D | class_linker_test.cc | 347 EXPECT_TRUE(method.GetDeclaringClass()->IsAssignableFrom(klass.Get())) in AssertClass() 1260 EXPECT_TRUE(I->IsAssignableFrom(A.Get())); in TEST_F() 1261 EXPECT_TRUE(J->IsAssignableFrom(A.Get())); in TEST_F() 1262 EXPECT_TRUE(J->IsAssignableFrom(K.Get())); in TEST_F() 1263 EXPECT_TRUE(K->IsAssignableFrom(B.Get())); in TEST_F() 1264 EXPECT_TRUE(J->IsAssignableFrom(B.Get())); in TEST_F()
|
D | art_method-inl.h | 342 interface_method->GetDeclaringClass()->IsAssignableFrom(GetDeclaringClass())); in GetInterfaceMethodIfProxy()
|
D | vdex_file.cc | 507 if (!destination->IsAssignableFrom(source.Get())) { in ComputeClassStatus()
|
D | art_method.cc | 297 } else if (iter_exception_type->IsAssignableFrom(exception_type.Get())) { in FindCatchBlock()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 488 if (method_reference_class->IsAssignableFrom(h_referring_class.Get())) { in FindMethodToCall() 509 if (!method_reference_class->IsAssignableFrom(h_this->GetClass())) { in FindMethodToCall() 680 if (!method_reference_class->IsAssignableFrom(referring_class)) { in FindMethodFast()
|
D | entrypoint_utils.cc | 152 declares_exception = declared_exception->IsAssignableFrom(exception_class); in InvokeProxyInvocationHandler()
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 1408 TEST_F(JniInternalTest, IsAssignableFrom) { in TEST_F() argument 1416 ASSERT_TRUE(env_->IsAssignableFrom(string_class, object_class)); in TEST_F() 1417 ASSERT_FALSE(env_->IsAssignableFrom(object_class, string_class)); in TEST_F() 1424 ASSERT_TRUE(env_->IsAssignableFrom(string_class, charsequence_interface)); in TEST_F() 1425 ASSERT_FALSE(env_->IsAssignableFrom(charsequence_interface, string_class)); in TEST_F() 1432 ASSERT_TRUE(env_->IsAssignableFrom(string_array_class, object_array_class)); in TEST_F() 1433 ASSERT_FALSE(env_->IsAssignableFrom(object_array_class, string_array_class)); in TEST_F() 1440 EXPECT_EQ(env_->IsAssignableFrom(nullptr, string_class), JNI_FALSE); in TEST_F() 1442 EXPECT_EQ(env_->IsAssignableFrom(object_class, nullptr), JNI_FALSE); in TEST_F() 1445 EXPECT_EQ(env_->IsAssignableFrom(nullptr, string_class), JNI_FALSE); in TEST_F() [all …]
|
D | check_jni.cc | 425 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckMethodAndSig() 457 if (!f->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckStaticFieldID() 481 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckStaticMethod() 799 if (!field->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckFieldAccess() 806 if (o == nullptr || !field->GetDeclaringClass()->IsAssignableFrom(o->GetClass())) { in CheckFieldAccess() 1922 static jboolean IsAssignableFrom(JNIEnv* env, jclass c1, jclass c2) { in IsAssignableFrom() function in art::__anonaa3778310111::CheckJNI 1929 result.b = baseEnv(env)->IsAssignableFrom(env, c1, c2); in IsAssignableFrom() 3832 CheckJNI::IsAssignableFrom,
|
/art/runtime/native/ |
D | java_lang_System.cc | 158 if (dstComponentType->IsAssignableFrom(srcComponentType)) { in System_arraycopy()
|
/art/compiler/optimizing/ |
D | inliner.cc | 237 } else if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(info.GetTypeHandle().Get())) { in FindVirtualOrInterfaceTarget() 722 if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(klass.Get())) { in ResolveMethodFromInlineCache() 2072 (declared_class != actual_class && declared_class->IsAssignableFrom(actual_class)); in IsReferenceTypeRefinement()
|
/art/runtime/gc/ |
D | heap.cc | 2027 return klass != nullptr && klass->IsAssignableFrom(instance_class); in MatchesClass() 4475 if (GetClassRoot<mirror::Method>()->IsAssignableFrom(klass) || in VisitReflectiveTargets() 4476 GetClassRoot<mirror::Constructor>()->IsAssignableFrom(klass)) { in VisitReflectiveTargets() 4480 } else if (art::GetClassRoot<art::mirror::MethodHandle>()->IsAssignableFrom(klass)) { in VisitReflectiveTargets() 4482 } else if (art::GetClassRoot<art::mirror::FieldVarHandle>()->IsAssignableFrom(klass)) { in VisitReflectiveTargets() 4484 } else if (art::GetClassRoot<art::mirror::DexCache>()->IsAssignableFrom(klass)) { in VisitReflectiveTargets()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 344 if (!referenced_class->IsAssignableFrom(executing_class)) { in NterpGetMethod()
|