Home
last modified time | relevance | path

Searched refs:GetComponentType (Results 1 – 25 of 61) sorted by relevance

123

/art/test/2235-JdkUnsafeTest/
Dunsafe_test.cc32 Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType())).Int32Value(); in Java_Main_vmJdkArrayBaseOffset()
38 return Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType()); in Java_Main_vmJdkArrayIndexScale()
/art/test/004-UnsafeTest/
Dunsafe_test.cc32 Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType())).Int32Value(); in Java_Main_vmArrayBaseOffset()
38 return Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType()); in Java_Main_vmArrayIndexScale()
/art/compiler/optimizing/
Dreference_type_propagation.h54 klass = klass->GetComponentType(); in IsAdmissible()
Dinstruction_simplifier_arm.cc233 size_t access_size = DataType::Size(instruction->GetComponentType()); in VisitArraySet()
235 DataType::Type type = instruction->GetComponentType(); in VisitArraySet()
Dwrite_barrier_elimination.cc102 if (instruction->GetComponentType() != DataType::Type::kReference || in VisitArraySet()
Dload_store_analysis.h260 type = instruction->AsArraySet()->GetComponentType(); in GetArrayHeapLocation()
526 DataType::Type type = instruction->GetComponentType(); in VisitArraySet()
Dssa_builder.cc313 array_type.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in GetPrimitiveArrayComponentType()
403 aset->SetSideEffects(HArraySet::ComputeSideEffects(aset->GetComponentType())); in FixAmbiguousArrayOps()
Dinstruction_simplifier_arm64.cc214 size_t access_size = DataType::Size(instruction->GetComponentType()); in VisitArraySet()
/art/runtime/mirror/
Dclass-inl.h449 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray()
838 klass = klass->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in DescriptorEquals()
857 klass = klass->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in DescriptorHash()
1014 inline ObjPtr<Class> Class::GetComponentType() { in GetComponentType() function
1019 DCHECK(GetComponentType() == nullptr); in SetComponentType()
1032 return GetComponentType<kDefaultVerifyFlags, kReadBarrierOption>()->GetPrimitiveTypeSizeShift(); in GetComponentSizeShift()
1055 return GetComponentType<kVerifyFlags, kWithoutReadBarrier>() != nullptr; in IsArrayClass()
1060 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kReadBarrierOption>(); in IsObjectArrayClass()
1069 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kWithoutReadBarrier>(); in IsPrimitiveArray()
1193 ObjPtr<Class> component = GetComponentType(); in CannotBeAssignedFromOtherTypes()
Darray.cc54 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray()
Dthrowable.cc132 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), GetClassRoot<StackTraceElement>()); in Dump()
Dobject_array-inl.h51 ObjPtr<Class> element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable()
241 ObjPtr<Class> dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
Dobject.cc131 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
Dclass.cc400 os << " componentType=" << PrettyClass(GetComponentType()) << "\n"; in DumpClass()
495 klass1 = klass1->GetComponentType(); in IsInSamePackage()
498 klass2 = klass2->GetComponentType(); in IsInSamePackage()
1481 klass = klass->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in GetDescriptor()
1705 klass = klass->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in DescriptorEquals()
1707 match = match->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in DescriptorEquals()
/art/runtime/native/
Djava_lang_System.cc91 ObjPtr<mirror::Class> dstComponentType = dstArray->GetClass()->GetComponentType(); in System_arraycopy()
92 ObjPtr<mirror::Class> srcComponentType = srcArray->GetClass()->GetComponentType(); in System_arraycopy()
185 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
Djava_lang_reflect_Array.cc44 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
/art/runtime/verifier/
Dreg_type.cc368 return type->IsArrayClass() && !type->GetComponentType()->IsPrimitive(); in IsObjectArrayTypes()
394 return type->IsArrayClass() && type->GetComponentType()->IsObjectClass(); in IsJavaLangObjectArray()
485 ObjPtr<mirror::Class> s_ct = s->GetComponentType(); in ArrayClassJoin()
486 ObjPtr<mirror::Class> t_ct = t->GetComponentType(); in ArrayClassJoin()
Dreg_type_cache.h147 const RegType& GetComponentType(const RegType& array, Handle<mirror::ClassLoader> loader)
Dreg_type_cache.cc581 const RegType& RegTypeCache::GetComponentType(const RegType& array, in GetComponentType() function in art::verifier::RegTypeCache
590 ObjPtr<mirror::Class> klass = array.GetClass()->GetComponentType(); in GetComponentType()
Dverifier_deps.cc218 ObjPtr<mirror::Class> destination_component = destination->GetComponentType(); in AddAssignability()
219 ObjPtr<mirror::Class> source_component = source->GetComponentType(); in AddAssignability()
/art/runtime/
Dtransaction_test.cc776 long_array_dim3_class->GetComponentType()->GetComponentType())); in TEST_F()
787 long_array_dim3_class->GetComponentType()->GetComponentType(), in TEST_F()
789 long_array_dim3_class->GetComponentType()->GetComponentType()->GetComponentSizeShift(), in TEST_F()
Dclass_linker_test.cc105 EXPECT_TRUE(primitive->GetComponentType() == nullptr); in AssertPrimitiveClass()
151 EXPECT_TRUE(JavaLangObject->GetComponentType() == nullptr); in AssertObjectClass()
187 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
206 ASSERT_TRUE(array->GetComponentType() != nullptr); in AssertArrayClass()
207 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass()
218 EXPECT_EQ(array->GetComponentType()->IsPublic(), array->IsPublic()); in AssertArrayClass()
236 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, array->GetComponentType()), array.Get()); in AssertArrayClass()
279 EXPECT_TRUE(klass->GetComponentType() == nullptr); in AssertClass()
968 EXPECT_TRUE(MyClass->GetComponentType() == nullptr); in TEST_F()
/art/runtime/interpreter/
Dinterpreter_switch_impl1.cc100 ->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetPrimitiveType(); in RecordArrayElementsInTransaction()
Dunstarted_runtime.cc802 if (src_array->GetClass()->GetComponentType() != dst_array->GetClass()->GetComponentType()) { in PrimitiveArrayCopy()
806 src_array->GetClass()->GetComponentType()).c_str(), in PrimitiveArrayCopy()
808 dst_array->GetClass()->GetComponentType()).c_str()); in PrimitiveArrayCopy()
874 GetComponentType(); in UnstartedSystemArraycopy()
879 GetComponentType(); in UnstartedSystemArraycopy()
883 src_array->GetClass()->GetComponentType()).c_str(), in UnstartedSystemArraycopy()
885 dst_array->GetClass()->GetComponentType()).c_str()); in UnstartedSystemArraycopy()
Dinterpreter_common.cc836 ObjPtr<mirror::Class> component_type = array_type->GetComponentType(); in PackCollectorArrayForBootstrapMethod()
988 if (call_site_type->GetPTypes()->Get(i) != collector_array_class->GetComponentType()) { in InvokeBootstrapMethod()
989 ThrowClassCastException(collector_array_class->GetComponentType(), in InvokeBootstrapMethod()
1479 ObjPtr<mirror::Class> component_class = array_class->GetComponentType(); in DoFilledNewArray()

123