/art/compiler/optimizing/ |
D | data_type_test.cc | 27 template <DataType::Type data_type, Primitive::Type primitive_type> 29 static_assert(data_type == DataTypeFromPrimitive(primitive_type), "Conversion check."); in CheckConversion() 30 static_assert(DataType::Size(data_type) == Primitive::ComponentSize(primitive_type), in CheckConversion()
|
D | intrinsics_x86_64.cc | 3209 DataType::Type primitive_type, in BOXED_TYPES() 3212 switch (primitive_type) { in BOXED_TYPES() 3228 LOG(FATAL) << "Unrecognized ValueOf type " << primitive_type; in BOXED_TYPES() 3656 Primitive::Type primitive_type = DataTypeToPrimitive(type); in GenerateVarHandleAccessModeAndVarTypeChecks() local 3674 __ cmpw(Address(temp, primitive_type_offset), Immediate(static_cast<uint16_t>(primitive_type))); in GenerateVarHandleAccessModeAndVarTypeChecks() 3762 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks() local 3811 if (primitive_type == Primitive::kPrimNot) { in GenerateVarHandleArrayChecks() 3825 __ cmpw(Address(temp, primitive_type_offset), Immediate(static_cast<uint16_t>(primitive_type))); in GenerateVarHandleArrayChecks()
|
D | intrinsics_riscv64.cc | 3134 Primitive::Type primitive_type = DataTypeToPrimitive(type); in GenerateVarHandleAccessModeAndVarTypeChecks() local 3162 if (primitive_type == Primitive::kPrimNot) { in GenerateVarHandleAccessModeAndVarTypeChecks() 3166 __ Li(temp, enum_cast<int32_t>(primitive_type)); // `temp` can be clobbered. in GenerateVarHandleAccessModeAndVarTypeChecks() 3255 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks() local 3304 if (primitive_type == Primitive::kPrimNot) { in GenerateVarHandleArrayChecks() 3318 __ Li(temp2, enum_cast<int32_t>(primitive_type)); in GenerateVarHandleArrayChecks()
|
D | intrinsics_arm64.cc | 4421 Primitive::Type primitive_type = DataTypeToPrimitive(type); in GenerateVarHandleAccessModeAndVarTypeChecks() local 4442 if (primitive_type == Primitive::kPrimNot) { in GenerateVarHandleAccessModeAndVarTypeChecks() 4446 __ Cmp(temp2, static_cast<uint16_t>(primitive_type)); in GenerateVarHandleAccessModeAndVarTypeChecks() 4535 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks() local 4586 if (primitive_type == Primitive::kPrimNot) { in GenerateVarHandleArrayChecks() 4600 __ Cmp(temp2, static_cast<uint16_t>(primitive_type)); in GenerateVarHandleArrayChecks()
|
D | intrinsics_arm_vixl.cc | 4137 Primitive::Type primitive_type = DataTypeToPrimitive(type); in GenerateVarHandleAccessModeAndVarTypeChecks() local 4163 __ Cmp(temp2, static_cast<uint16_t>(primitive_type)); in GenerateVarHandleAccessModeAndVarTypeChecks() 4255 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks() local 4323 __ Cmp(temp2, static_cast<uint16_t>(primitive_type)); in GenerateVarHandleArrayChecks()
|
D | intrinsics_x86.cc | 3784 const uint32_t primitive_type = static_cast<uint32_t>(DataTypeToPrimitive(type)); in GenerateVarTypePrimitiveTypeCheck() local 3790 __ cmpw(Address(temp, primitive_type_offset), Immediate(primitive_type)); in GenerateVarTypePrimitiveTypeCheck()
|
/art/runtime/mirror/ |
D | emulated_stack_frame.cc | 47 const Primitive::Type primitive_type = type->GetPrimitiveType(); in CalculateFrameAndReferencesSize() local 48 if (primitive_type == Primitive::kPrimNot) { in CalculateFrameAndReferencesSize() 50 } else if (Primitive::Is64BitType(primitive_type)) { in CalculateFrameAndReferencesSize()
|
D | var_handle.cc | 1685 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local 1686 switch (primitive_type) { in Access() 1708 LOG(FATAL) << "Unreachable: Unexpected primitive " << primitive_type; in Access() 1757 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local 1758 switch (primitive_type) { in Access() 1823 LOG(FATAL) << "Unreachable: Unexpected primitive " << primitive_type; in Access() 1850 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local 1851 if (!CheckElementIndex(primitive_type, data_offset, byte_array->GetLength())) { in Access() 1857 switch (primitive_type) { in Access() 1911 LOG(FATAL) << "Unreachable: Unexpected primitive " << primitive_type; in Access() [all …]
|
/art/runtime/ |
D | reflection.cc | 954 Primitive::Type primitive_type; in UnboxPrimitive() local 957 primitive_type = Primitive::kPrimBoolean; in UnboxPrimitive() 960 primitive_type = Primitive::kPrimByte; in UnboxPrimitive() 963 primitive_type = Primitive::kPrimChar; in UnboxPrimitive() 966 primitive_type = Primitive::kPrimFloat; in UnboxPrimitive() 969 primitive_type = Primitive::kPrimDouble; in UnboxPrimitive() 972 primitive_type = Primitive::kPrimInt; in UnboxPrimitive() 975 primitive_type = Primitive::kPrimLong; in UnboxPrimitive() 978 primitive_type = Primitive::kPrimShort; in UnboxPrimitive() 990 primitive_type, in UnboxPrimitive()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 423 Primitive::Type primitive_type = Primitive::kPrimVoid; in ProcessAnnotationValue() local 435 primitive_type = Primitive::kPrimByte; in ProcessAnnotationValue() 440 primitive_type = Primitive::kPrimShort; in ProcessAnnotationValue() 445 primitive_type = Primitive::kPrimChar; in ProcessAnnotationValue() 449 primitive_type = Primitive::kPrimInt; in ProcessAnnotationValue() 453 primitive_type = Primitive::kPrimLong; in ProcessAnnotationValue() 457 primitive_type = Primitive::kPrimFloat; in ProcessAnnotationValue() 461 primitive_type = Primitive::kPrimDouble; in ProcessAnnotationValue() 465 primitive_type = Primitive::kPrimBoolean; in ProcessAnnotationValue() 684 if (result_style == DexFile::kAllObjects && primitive_type != Primitive::kPrimVoid) { in ProcessAnnotationValue() [all …]
|
/art/runtime/native/ |
D | jdk_internal_misc_Unsafe.cc | 253 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType() local 254 return mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value(); in Unsafe_getArrayBaseOffsetForComponentType() 260 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType() local 261 return Primitive::ComponentSize(primitive_type); in Unsafe_getArrayIndexScaleForComponentType()
|
D | sun_misc_Unsafe.cc | 211 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType() local 212 return mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value(); in Unsafe_getArrayBaseOffsetForComponentType() 218 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType() local 219 return Primitive::ComponentSize(primitive_type); in Unsafe_getArrayIndexScaleForComponentType()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 2262 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIJdkUnsafeGetArrayBaseOffsetForComponentType() local 2263 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIJdkUnsafeGetArrayBaseOffsetForComponentType() 2277 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIJdkUnsafeGetArrayIndexScaleForComponentType() local 2278 result->SetI(Primitive::ComponentSize(primitive_type)); in UnstartedJNIJdkUnsafeGetArrayIndexScaleForComponentType()
|
/art/imgdiag/ |
D | imgdiag.cc | 672 Primitive::Type primitive_type = component_type->GetPrimitiveType(); in DiffEntryContents() local 673 size_t component_size = Primitive::ComponentSize(primitive_type); in DiffEntryContents()
|