Home
last modified time | relevance | path

Searched refs:primitive_type (Results 1 – 8 of 8) sorted by relevance

/art/compiler/optimizing/
Ddata_type_test.cc27 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()
/art/runtime/
Dreflection.cc890 Primitive::Type primitive_type; in UnboxPrimitive() local
893 primitive_type = Primitive::kPrimBoolean; in UnboxPrimitive()
896 primitive_type = Primitive::kPrimByte; in UnboxPrimitive()
899 primitive_type = Primitive::kPrimChar; in UnboxPrimitive()
902 primitive_type = Primitive::kPrimFloat; in UnboxPrimitive()
905 primitive_type = Primitive::kPrimDouble; in UnboxPrimitive()
908 primitive_type = Primitive::kPrimInt; in UnboxPrimitive()
911 primitive_type = Primitive::kPrimLong; in UnboxPrimitive()
914 primitive_type = Primitive::kPrimShort; in UnboxPrimitive()
926 primitive_type, in UnboxPrimitive()
/art/runtime/mirror/
Demulated_stack_frame.cc47 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()
Dvar_handle.cc1712 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local
1713 switch (primitive_type) { in Access()
1735 LOG(FATAL) << "Unreachable: Unexpected primitive " << primitive_type; in Access()
1761 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local
1762 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/dex/
Ddex_file_annotations.cc425 Primitive::Type primitive_type = Primitive::kPrimVoid; in ProcessAnnotationValue() local
437 primitive_type = Primitive::kPrimByte; in ProcessAnnotationValue()
442 primitive_type = Primitive::kPrimShort; in ProcessAnnotationValue()
447 primitive_type = Primitive::kPrimChar; in ProcessAnnotationValue()
451 primitive_type = Primitive::kPrimInt; in ProcessAnnotationValue()
455 primitive_type = Primitive::kPrimLong; in ProcessAnnotationValue()
459 primitive_type = Primitive::kPrimFloat; in ProcessAnnotationValue()
463 primitive_type = Primitive::kPrimDouble; in ProcessAnnotationValue()
467 primitive_type = Primitive::kPrimBoolean; in ProcessAnnotationValue()
701 if (result_style == DexFile::kAllObjects && primitive_type != Primitive::kPrimVoid) { in ProcessAnnotationValue()
[all …]
/art/runtime/native/
Dsun_misc_Unsafe.cc211 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/
Dunstarted_runtime.cc1954 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType() local
1955 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1969 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType() local
1970 result->SetI(Primitive::ComponentSize(primitive_type)); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
/art/imgdiag/
Dimgdiag.cc475 Primitive::Type primitive_type = component_type->GetPrimitiveType(); in DiffEntryContents() local
476 size_t component_size = Primitive::ComponentSize(primitive_type); in DiffEntryContents()