/art/runtime/mirror/ |
D | object_test.cc | 574 TEST_F(ObjectTest, IsAssignableFrom) { in TEST_F() argument 582 EXPECT_TRUE(X->IsAssignableFrom(X.Get())); in TEST_F() 583 EXPECT_TRUE(X->IsAssignableFrom(Y.Get())); in TEST_F() 584 EXPECT_FALSE(Y->IsAssignableFrom(X.Get())); in TEST_F() 585 EXPECT_TRUE(Y->IsAssignableFrom(Y.Get())); in TEST_F() 593 EXPECT_TRUE(charseq->IsAssignableFrom(string.Get())); in TEST_F() 595 EXPECT_FALSE(string->IsAssignableFrom(charseq.Get())); in TEST_F() 606 EXPECT_TRUE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 608 EXPECT_FALSE(prim_types[i]->IsAssignableFrom(prim_types[j])); in TEST_F() 657 EXPECT_TRUE(YAA->IsAssignableFrom(YAA.Get())); // identity in TEST_F() [all …]
|
D | object.cc | 249 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl() 267 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
|
D | object_array-inl.h | 266 } else if (LIKELY(dst_class->IsAssignableFrom(o_class))) { in AssignableCheckingMemcpy() 291 } else if (LIKELY(dst_class->IsAssignableFrom(o_class))) { in AssignableCheckingMemcpy()
|
D | class-inl.h | 431 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray() 1061 inline bool Class::IsAssignableFrom(ObjPtr<Class> src) { in IsAssignableFrom() function
|
D | object-inl.h | 137 return klass->IsAssignableFrom(GetClass<kVerifyFlags>()); in InstanceOf()
|
/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() 137 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 | 792 } else if (s->IsAssignableFrom(t)) { in ClassJoin() 794 } else if (t->IsAssignableFrom(s)) { in ClassJoin() 970 if (cmp1.IsAssignableFrom(cmp2, verifier)) { in CanAssignArray()
|
D | verifier_deps.cc | 403 if (destination->IsAssignableFrom(boundary)) { in FindOneClassPathBoundaryForInterface() 466 DCHECK_EQ(is_assignable, destination->IsAssignableFrom(source)); in AddAssignability() 973 if (destination->IsAssignableFrom(source.Get()) != expected_assignability) { in VerifyAssignability()
|
D | register_line.cc | 79 if (!check_type1.IsAssignableFrom(src_type, verifier)) { in VerifyRegisterTypeWide()
|
/art/runtime/ |
D | method_handles.cc | 148 return to->IsAssignableFrom(GetBoxedPrimitiveClass(from_primitive)); in IsParameterTypeConvertible() 237 if (UNLIKELY(!h_obj.IsNull() && !to->IsAssignableFrom(h_obj->GetClass()))) { in ConvertJValueCommon() 295 if (from->IsAssignableFrom(GetBoxedPrimitiveClass(to_type))) { in ConvertJValueCommon() 1026 !mh_ptypes->Get(0)->IsAssignableFrom(callsite_ptypes->Get(0)) || in DoVarHandleInvokeTranslation() 1041 DCHECK(GetClassRoot<mirror::VarHandle>()->IsAssignableFrom(vh->GetClass())); in DoVarHandleInvokeTranslation()
|
D | class_linker_test.cc | 346 EXPECT_TRUE(method.GetDeclaringClass()->IsAssignableFrom(klass.Get())) in AssertClass() 1250 EXPECT_TRUE(I->IsAssignableFrom(A.Get())); in TEST_F() 1251 EXPECT_TRUE(J->IsAssignableFrom(A.Get())); in TEST_F() 1252 EXPECT_TRUE(J->IsAssignableFrom(K.Get())); in TEST_F() 1253 EXPECT_TRUE(K->IsAssignableFrom(B.Get())); in TEST_F() 1254 EXPECT_TRUE(J->IsAssignableFrom(B.Get())); in TEST_F()
|
D | art_method-inl.h | 332 interface_method->GetDeclaringClass()->IsAssignableFrom(GetDeclaringClass())); in GetInterfaceMethodIfProxy()
|
D | debugger.cc | 460 if (!java_lang_Thread->IsAssignableFrom(thread_peer->GetClass())) { in DecodeThread() 502 if (thread_class->IsAssignableFrom(c)) { in TagFromClass() 509 if (thread_group_class->IsAssignableFrom(c)) { in TagFromClass() 516 if (class_loader_class->IsAssignableFrom(c)) { in TagFromClass() 1463 return expected_class->IsAssignableFrom(event_class); in MatchType() 1855 if (receiver_class != nullptr && !f->GetDeclaringClass()->IsAssignableFrom(receiver_class)) { in GetFieldValueImpl() 1954 if (!field_type->IsAssignableFrom(v->GetClass())) { in SetArtFieldValue() 2030 if (!java_lang_String->IsAssignableFrom(obj->GetClass())) { in StringToUtf8() 2123 if (!c->IsAssignableFrom(thread_group->GetClass())) { in DecodeThreadGroup() 3920 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in PrepareInvokeMethod()
|
D | art_method.cc | 287 } else if (iter_exception_type->IsAssignableFrom(exception_type.Get())) { in FindCatchBlock()
|
D | reflection.cc | 984 } else if (declaring_class->IsAssignableFrom(calling_class)) { in VerifyAccess()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 494 if (method_reference_class->IsAssignableFrom(h_referring_class.Get())) { in FindMethodToCall() 515 if (!method_reference_class->IsAssignableFrom(h_this->GetClass())) { in FindMethodToCall() 687 if (!method_reference_class->IsAssignableFrom(referring_class)) { in FindMethodFast()
|
D | entrypoint_utils.cc | 149 declares_exception = declared_exception->IsAssignableFrom(exception_class); in InvokeProxyInvocationHandler()
|
/art/runtime/native/ |
D | java_lang_System.cc | 158 if (dstComponentType->IsAssignableFrom(srcComponentType)) { in System_arraycopy()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 296 return env->IsAssignableFrom(from, to); in Java_Main_nativeIsAssignableFrom()
|
/art/compiler/optimizing/ |
D | inliner.cc | 237 } else if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(info.GetTypeHandle().Get())) { in FindVirtualOrInterfaceTarget() 819 if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(klass.Get())) { in ResolveMethodFromInlineCache()
|
/art/runtime/jni/ |
D | jni_internal.cc | 728 static jboolean IsAssignableFrom(JNIEnv* env, jclass java_class1, jclass java_class2) { in IsAssignableFrom() function in art::JNI 734 return c2->IsAssignableFrom(c1) ? JNI_TRUE : JNI_FALSE; in IsAssignableFrom() 2241 if (UNLIKELY(!element_class->IsAssignableFrom(initial_object->GetClass()))) { in NewObjectArray() 2895 JNI::IsAssignableFrom,
|
/art/openjdkjvmti/ |
D | ti_method.cc | 794 return slot_class->IsAssignableFrom(set_class) ? OK : ERR(TYPE_MISMATCH); in GetTypeError()
|