Home
last modified time | relevance | path

Searched refs:ComponentSize (Results 1 – 20 of 20) sorted by relevance

/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.cc103 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 1U); in System_arraycopy()
110 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 2U); in System_arraycopy()
117 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 4U); in System_arraycopy()
124 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 8U); in System_arraycopy()
Dsun_misc_Unsafe.cc212 return mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value(); in Unsafe_getArrayBaseOffsetForComponentType()
219 return Primitive::ComponentSize(primitive_type); in Unsafe_getArrayIndexScaleForComponentType()
/art/runtime/
Dart_field.cc37 Primitive::ComponentSize(GetTypeAsPrimitiveType())); in SetOffset()
Dart_field-inl.h342 return Primitive::ComponentSize(GetTypeAsPrimitiveType()); in FieldSize()
376 const size_t field_size = Primitive::ComponentSize(type); in FindFieldWithOffset()
Dclass_linker.cc8552 DCHECK_EQ(Primitive::ComponentSize(field->GetTypeAsPrimitiveType()), kSize); in AssignFieldOffset()
8686 size_t lhs_size = Primitive::ComponentSize(lhs_type); in LinkFields()
8687 size_t rhs_size = Primitive::ComponentSize(rhs_type); in LinkFields()
8851 size_t type_size = Primitive::ComponentSize(type); in LinkFields()
/art/compiler/jni/quick/
Dcalling_convention.h41 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); in SizeOfReturnValue()
187 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); in ParamSize()
Djni_compiler.cc452 Primitive::ComponentSize(main_jni_conv->GetReturnType())); in ArtJniCompileMethodInternal()
457 Primitive::ComponentSize(main_jni_conv->GetReturnType())); in ArtJniCompileMethodInternal()
/art/compiler/optimizing/
Ddata_type_test.cc30 static_assert(DataType::Size(data_type) == Primitive::ComponentSize(primitive_type), in CheckConversion()
Dcode_generator_arm64.cc7039 mirror::Array::DataOffset(Primitive::ComponentSize(Primitive::kPrimNot)).Int32Value(); in CompileBakerReadBarrierThunk()
Dcode_generator_arm_vixl.cc10008 mirror::Array::DataOffset(Primitive::ComponentSize(Primitive::kPrimNot)).Int32Value(); in CompileBakerReadBarrierThunk()
/art/libdexfile/dex/
Dprimitive.h95 static constexpr size_t ComponentSize(Type type) { in ComponentSize() function
/art/runtime/gc/space/
Dspace_test.h123 return mirror::Array::DataOffset(Primitive::ComponentSize(Primitive::kPrimByte)).Uint32Value(); in SizeOfZeroLengthByteArray()
/art/runtime/interpreter/
Dinterpreter_common.h493 Primitive::ComponentSize(field_type)); in DoFieldGet()
592 Primitive::ComponentSize(field_type)); in DoFieldPut()
Dunstarted_runtime.cc1975 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1990 result->SetI(Primitive::ComponentSize(primitive_type)); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc1150 mirror::Array::DataOffset(Primitive::ComponentSize(Primitive::kPrimNot)).Int32Value(); in TEST_F()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc1343 mirror::Array::DataOffset(Primitive::ComponentSize(Primitive::kPrimNot)).Int32Value(); in TEST_F()
/art/imgdiag/
Dimgdiag.cc476 size_t component_size = Primitive::ComponentSize(primitive_type); in DiffEntryContents()
/art/runtime/mirror/
Dvar_handle.cc119 int64_t max_index = limit - Primitive::ComponentSize(type); in CheckElementIndex()
/art/runtime/verifier/
Dmethod_verifier.cc2621 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction()