/art/test/004-UnsafeTest/ |
D | unsafe_test.cc | 32 Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType())).Int32Value(); in Java_Main_vmArrayBaseOffset() 38 return Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType()); in Java_Main_vmArrayIndexScale()
|
/art/runtime/native/ |
D | java_lang_System.cc | 91 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()
|
D | java_lang_reflect_Array.cc | 44 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
|
/art/compiler/optimizing/ |
D | reference_type_propagation.h | 50 (!klass->IsArrayClass() || IsAdmissible(klass->GetComponentType())); in IsAdmissible()
|
D | instruction_simplifier_arm.cc | 227 size_t access_size = DataType::Size(instruction->GetComponentType()); in VisitArraySet() 229 DataType::Type type = instruction->GetComponentType(); in VisitArraySet()
|
D | load_store_analysis.h | 261 type = instruction->AsArraySet()->GetComponentType(); in GetArrayHeapLocation() 550 DataType::Type type = instruction->GetComponentType(); in VisitArraySet()
|
D | instruction_simplifier_arm64.cc | 208 size_t access_size = DataType::Size(instruction->GetComponentType()); in VisitArraySet()
|
D | ssa_builder.cc | 313 array_type.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in GetPrimitiveArrayComponentType() 403 aset->SetSideEffects(HArraySet::ComputeSideEffects(aset->GetComponentType())); in FixAmbiguousArrayOps()
|
D | sharpening.cc | 281 if (klass->GetComponentType()->IsObjectClass()) { in ComputeTypeCheckKind()
|
/art/runtime/mirror/ |
D | class-inl.h | 437 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()
|
D | throwable.cc | 132 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), GetClassRoot<StackTraceElement>()); in Dump()
|
D | array.cc | 54 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray()
|
D | object_array-inl.h | 51 ObjPtr<Class> element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable() 241 ObjPtr<Class> dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
|
D | object.cc | 127 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
|
D | class.cc | 442 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/ |
D | reg_type.cc | 562 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()
|
D | reg_type_cache.h | 159 const RegType& GetComponentType(const RegType& array, ObjPtr<mirror::ClassLoader> loader)
|
D | reg_type_cache.cc | 664 const RegType& RegTypeCache::GetComponentType(const RegType& array, in GetComponentType() function in art::verifier::RegTypeCache 673 ObjPtr<mirror::Class> klass = array.GetClass()->GetComponentType(); in GetComponentType()
|
D | verifier_deps.cc | 277 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/ |
D | ti_class_definition.cc | 156 DCHECK(orig_dex->GetClass()->GetComponentType()->IsPrimitiveByte()); in GetDexDataForRetransformation() 208 DCHECK(orig_dex->GetClass()->GetComponentType()->IsPrimitiveByte()); in DexNeedsDequickening()
|
/art/runtime/ |
D | aot_class_linker.cc | 148 klass = klass->GetComponentType(); in CanReferenceInBootImageExtension()
|
D | class_linker_test.cc | 104 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()
|
D | transaction_test.cc | 662 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/ |
D | unstarted_runtime.cc | 781 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()
|
D | interpreter_common.cc | 823 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()
|