Home
last modified time | relevance | path

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

12

/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/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/compiler/optimizing/
Dreference_type_propagation.h50 (!klass->IsArrayClass() || IsAdmissible(klass->GetComponentType())); in IsAdmissible()
Dinstruction_simplifier_arm.cc227 size_t access_size = DataType::Size(instruction->GetComponentType()); in VisitArraySet()
229 DataType::Type type = instruction->GetComponentType(); in VisitArraySet()
Dload_store_analysis.h261 type = instruction->AsArraySet()->GetComponentType(); in GetArrayHeapLocation()
550 DataType::Type type = instruction->GetComponentType(); in VisitArraySet()
Dinstruction_simplifier_arm64.cc208 size_t access_size = DataType::Size(instruction->GetComponentType()); in VisitArraySet()
Dssa_builder.cc313 array_type.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in GetPrimitiveArrayComponentType()
403 aset->SetSideEffects(HArraySet::ComputeSideEffects(aset->GetComponentType())); in FixAmbiguousArrayOps()
Dsharpening.cc281 if (klass->GetComponentType()->IsObjectClass()) { in ComputeTypeCheckKind()
/art/runtime/mirror/
Dclass-inl.h437 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray()
874 klass = klass->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in DescriptorEquals()
1025 inline ObjPtr<Class> Class::GetComponentType() { in GetComponentType() function
1030 DCHECK(GetComponentType() == nullptr); in SetComponentType()
1044 return GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetPrimitiveTypeSizeShift(); in GetComponentSizeShift()
1067 return GetComponentType<kVerifyFlags, kWithoutReadBarrier>() != nullptr; in IsArrayClass()
1074 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kWithoutReadBarrier>(); in IsObjectArrayClass()
1083 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kWithoutReadBarrier>(); in IsPrimitiveArray()
1198 ObjPtr<Class> component = GetComponentType(); in CannotBeAssignedFromOtherTypes()
Dthrowable.cc132 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), GetClassRoot<StackTraceElement>()); in Dump()
Darray.cc54 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray()
Dobject_array-inl.h51 ObjPtr<Class> element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable()
241 ObjPtr<Class> dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
Dobject.cc127 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
Dclass.cc442 os << " componentType=" << PrettyClass(GetComponentType()) << "\n"; in DumpClass()
539 klass1 = klass1->GetComponentType(); in IsInSamePackage()
542 klass2 = klass2->GetComponentType(); in IsInSamePackage()
1157 klass = klass->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in GetDescriptor()
/art/runtime/verifier/
Dreg_type.cc562 return type->IsArrayClass() && !type->GetComponentType()->IsPrimitive(); in IsObjectArrayTypes()
588 return type->IsArrayClass() && type->GetComponentType()->IsObjectClass(); in IsJavaLangObjectArray()
679 ObjPtr<mirror::Class> s_ct = s->GetComponentType(); in ArrayClassJoin()
680 ObjPtr<mirror::Class> t_ct = t->GetComponentType(); in ArrayClassJoin()
1053 const RegType& cmp1 = reg_types.GetComponentType(*this, class_loader.Get()); in CanAssignArray()
1054 const RegType& cmp2 = reg_types.GetComponentType(src, class_loader.Get()); in CanAssignArray()
Dreg_type_cache.h159 const RegType& GetComponentType(const RegType& array, ObjPtr<mirror::ClassLoader> loader)
Dreg_type_cache.cc664 const RegType& RegTypeCache::GetComponentType(const RegType& array, in GetComponentType() function in art::verifier::RegTypeCache
673 ObjPtr<mirror::Class> klass = array.GetClass()->GetComponentType(); in GetComponentType()
Dverifier_deps.cc277 klass = klass->GetComponentType(); in IsInClassPath()
450 ObjPtr<mirror::Class> destination_component = destination->GetComponentType(); in AddAssignability()
451 ObjPtr<mirror::Class> source_component = source->GetComponentType(); in AddAssignability()
/art/openjdkjvmti/
Dti_class_definition.cc156 DCHECK(orig_dex->GetClass()->GetComponentType()->IsPrimitiveByte()); in GetDexDataForRetransformation()
208 DCHECK(orig_dex->GetClass()->GetComponentType()->IsPrimitiveByte()); in DexNeedsDequickening()
/art/runtime/
Daot_class_linker.cc148 klass = klass->GetComponentType(); in CanReferenceInBootImageExtension()
Dclass_linker_test.cc104 EXPECT_TRUE(primitive->GetComponentType() == nullptr); in AssertPrimitiveClass()
144 EXPECT_TRUE(JavaLangObject->GetComponentType() == nullptr); in AssertObjectClass()
190 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
209 ASSERT_TRUE(array->GetComponentType() != nullptr); in AssertArrayClass()
210 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass()
221 EXPECT_EQ(array->GetComponentType()->IsPublic(), array->IsPublic()); in AssertArrayClass()
241 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, array->GetComponentType()), array.Get()); in AssertArrayClass()
284 EXPECT_TRUE(klass->GetComponentType() == nullptr); in AssertClass()
952 EXPECT_TRUE(MyClass->GetComponentType() == nullptr); in TEST_F()
Dtransaction_test.cc662 ASSERT_TRUE(heap->ObjectIsInBootImageSpace(long_array_dim2_class->GetComponentType())); in TEST_F()
673 long_array_dim2_class->GetComponentType(), in TEST_F()
675 long_array_dim2_class->GetComponentType()->GetComponentSizeShift(), in TEST_F()
/art/runtime/interpreter/
Dunstarted_runtime.cc781 if (src_array->GetClass()->GetComponentType() != dst_array->GetClass()->GetComponentType()) { in PrimitiveArrayCopy()
785 src_array->GetClass()->GetComponentType()).c_str(), in PrimitiveArrayCopy()
787 dst_array->GetClass()->GetComponentType()).c_str()); in PrimitiveArrayCopy()
849 GetComponentType(); in UnstartedSystemArraycopy()
854 GetComponentType(); in UnstartedSystemArraycopy()
858 src_array->GetClass()->GetComponentType()).c_str(), in UnstartedSystemArraycopy()
860 dst_array->GetClass()->GetComponentType()).c_str()); in UnstartedSystemArraycopy()
Dinterpreter_common.cc823 ObjPtr<mirror::Class> component_type = array_type->GetComponentType(); in PackCollectorArrayForBootstrapMethod()
973 if (call_site_type->GetPTypes()->Get(i) != collector_array_class->GetComponentType()) { in InvokeBootstrapMethod()
974 ThrowClassCastException(collector_array_class->GetComponentType(), in InvokeBootstrapMethod()
1468 ObjPtr<mirror::Class> component_class = array_class->GetComponentType(); in DoFilledNewArray()
1529 …Primitive::Type primitive_component_type = array->GetClass()->GetComponentType()->GetPrimitiveType… in RecordArrayElementsInTransaction()

12