Home
last modified time | relevance | path

Searched refs:primitive_type (Results 1 – 6 of 6) 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/mirror/
Demulated_stack_frame.cc43 const Primitive::Type primitive_type = type->GetPrimitiveType(); in CalculateFrameAndReferencesSize() local
44 if (primitive_type == Primitive::kPrimNot) { in CalculateFrameAndReferencesSize()
46 } else if (Primitive::Is64BitType(primitive_type)) { in CalculateFrameAndReferencesSize()
Dvar_handle.cc1696 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local
1697 switch (primitive_type) { in Access()
1719 LOG(FATAL) << "Unreachable: Unexpected primitive " << primitive_type; in Access()
1766 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local
1767 switch (primitive_type) { in Access()
1828 LOG(FATAL) << "Unreachable: Unexpected primitive " << primitive_type; in Access()
1876 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local
1877 if (!CheckElementIndex(primitive_type, data_offset, byte_array->GetLength())) { in Access()
1883 switch (primitive_type) { in Access()
1937 LOG(FATAL) << "Unreachable: Unexpected primitive " << primitive_type; in Access()
[all …]
/art/runtime/dex/
Ddex_file_annotations.cc408 Primitive::Type primitive_type = Primitive::kPrimVoid; in ProcessAnnotationValue() local
420 primitive_type = Primitive::kPrimByte; in ProcessAnnotationValue()
425 primitive_type = Primitive::kPrimShort; in ProcessAnnotationValue()
430 primitive_type = Primitive::kPrimChar; in ProcessAnnotationValue()
434 primitive_type = Primitive::kPrimInt; in ProcessAnnotationValue()
438 primitive_type = Primitive::kPrimLong; in ProcessAnnotationValue()
442 primitive_type = Primitive::kPrimFloat; in ProcessAnnotationValue()
446 primitive_type = Primitive::kPrimDouble; in ProcessAnnotationValue()
450 primitive_type = Primitive::kPrimBoolean; in ProcessAnnotationValue()
684 if (result_style == DexFile::kAllObjects && primitive_type != Primitive::kPrimVoid) { in ProcessAnnotationValue()
[all …]
/art/runtime/native/
Dsun_misc_Unsafe.cc205 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType() local
206 return mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value(); in Unsafe_getArrayBaseOffsetForComponentType()
212 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType() local
213 return Primitive::ComponentSize(primitive_type); in Unsafe_getArrayIndexScaleForComponentType()
/art/runtime/interpreter/
Dunstarted_runtime.cc1898 Primitive::Type primitive_type = component->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType() local
1899 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1906 Primitive::Type primitive_type = component->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType() local
1907 result->SetI(Primitive::ComponentSize(primitive_type)); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()