Home
last modified time | relevance | path

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

123

/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()
Dsun_misc_Unsafe.cc367 ObjPtr<mirror::Class> component_type = dst->GetClass()->GetComponentType(); in Unsafe_copyMemoryToPrimitiveArray()
402 ObjPtr<mirror::Class> component_type = src->GetClass()->GetComponentType(); in Unsafe_copyMemoryFromPrimitiveArray()
/art/runtime/mirror/
Dclass-inl.h431 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray()
848 klass = klass->GetComponentType(); in DescriptorEquals()
999 inline ObjPtr<Class> Class::GetComponentType() { in GetComponentType() function
1004 DCHECK(GetComponentType() == nullptr); in SetComponentType()
1017 return GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetPrimitiveTypeSizeShift(); in GetComponentSizeShift()
1040 return GetComponentType<kVerifyFlags, kWithoutReadBarrier>() != nullptr; in IsArrayClass()
1047 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kWithoutReadBarrier>(); in IsObjectArrayClass()
1056 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kWithoutReadBarrier>(); in IsPrimitiveArray()
1171 ObjPtr<Class> component = GetComponentType(); in CannotBeAssignedFromOtherTypes()
Dobject_array-inl.h50 ObjPtr<Class> element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable()
240 ObjPtr<Class> dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
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.cc127 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
Dclass.cc321 os << " componentType=" << PrettyClass(GetComponentType()) << "\n"; in DumpClass()
418 klass1 = klass1->GetComponentType(); in IsInSamePackage()
421 klass2 = klass2->GetComponentType(); in IsInSamePackage()
1009 klass = klass->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>(); in GetDescriptor()
/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()
Dinstruction_simplifier_mips.cc128 DataType::Type packed_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.cc258 if (klass->GetComponentType()->IsObjectClass()) { in ComputeTypeCheckKind()
/art/runtime/verifier/
Dreg_type.cc562 return type->IsArrayClass() && !type->GetComponentType()->IsPrimitive(); in IsObjectArrayTypes()
588 return type->IsArrayClass() && type->GetComponentType()->IsObjectClass(); in IsJavaLangObjectArray()
797 ObjPtr<mirror::Class> s_ct = s->GetComponentType(); in ClassJoin()
798 ObjPtr<mirror::Class> t_ct = t->GetComponentType(); in ClassJoin()
967 const RegType& cmp1 = reg_types.GetComponentType(*this, class_loader.Get()); in CanAssignArray()
968 const RegType& cmp2 = reg_types.GetComponentType(src, class_loader.Get()); in CanAssignArray()
Dreg_type_cache.h153 const RegType& GetComponentType(const RegType& array, ObjPtr<mirror::ClassLoader> loader)
Dreg_type_cache.cc653 const RegType& RegTypeCache::GetComponentType(const RegType& array, in GetComponentType() function in art::verifier::RegTypeCache
662 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/
Dclass_linker_test.cc104 EXPECT_TRUE(primitive->GetComponentType() == nullptr); in AssertPrimitiveClass()
143 EXPECT_TRUE(JavaLangObject->GetComponentType() == nullptr); in AssertObjectClass()
189 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
208 ASSERT_TRUE(array->GetComponentType() != nullptr); in AssertArrayClass()
209 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass()
220 EXPECT_EQ(array->GetComponentType()->IsPublic(), array->IsPublic()); in AssertArrayClass()
240 EXPECT_OBJ_PTR_EQ(class_linker_->FindArrayClass(self, array->GetComponentType()), array.Get()); in AssertArrayClass()
283 EXPECT_TRUE(klass->GetComponentType() == nullptr); in AssertClass()
945 EXPECT_TRUE(MyClass->GetComponentType() == nullptr); 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()
844 GetComponentType(); in UnstartedSystemArraycopy()
849 GetComponentType(); in UnstartedSystemArraycopy()
853 src_array->GetClass()->GetComponentType()).c_str(), in UnstartedSystemArraycopy()
855 dst_array->GetClass()->GetComponentType()).c_str()); in UnstartedSystemArraycopy()
Dinterpreter_common.cc1144 ObjPtr<mirror::Class> component_type = array_type->GetComponentType(); in PackCollectorArrayForBootstrapMethod()
1294 if (call_site_type->GetPTypes()->Get(i) != collector_array_class->GetComponentType()) { in InvokeBootstrapMethod()
1295 ThrowClassCastException(collector_array_class->GetComponentType(), in InvokeBootstrapMethod()
1789 ObjPtr<mirror::Class> component_class = array_class->GetComponentType(); in DoFilledNewArray()
1850 …Primitive::Type primitive_component_type = array->GetClass()->GetComponentType()->GetPrimitiveType… in RecordArrayElementsInTransaction()

123