/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()
|
D | sun_misc_Unsafe.cc | 367 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/ |
D | class-inl.h | 431 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()
|
D | object_array-inl.h | 50 ObjPtr<Class> element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable() 240 ObjPtr<Class> dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
|
D | array.cc | 54 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray()
|
D | throwable.cc | 132 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), GetClassRoot<StackTraceElement>()); in Dump()
|
D | object.cc | 127 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
|
D | class.cc | 321 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/ |
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 | instruction_simplifier_mips.cc | 128 DataType::Type packed_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 | 258 if (klass->GetComponentType()->IsObjectClass()) { in ComputeTypeCheckKind()
|
/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() 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()
|
D | reg_type_cache.h | 153 const RegType& GetComponentType(const RegType& array, ObjPtr<mirror::ClassLoader> loader)
|
D | reg_type_cache.cc | 653 const RegType& RegTypeCache::GetComponentType(const RegType& array, in GetComponentType() function in art::verifier::RegTypeCache 662 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 | class_linker_test.cc | 104 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/ |
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() 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()
|
D | interpreter_common.cc | 1144 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()
|