Searched refs:primitive_type (Results 1 – 6 of 6) sorted by relevance
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()
43 const Primitive::Type primitive_type = type->GetPrimitiveType(); in CalculateFrameAndReferencesSize() local44 if (primitive_type == Primitive::kPrimNot) { in CalculateFrameAndReferencesSize()46 } else if (Primitive::Is64BitType(primitive_type)) { in CalculateFrameAndReferencesSize()
1696 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local1697 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() local1767 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() local1877 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 …]
408 Primitive::Type primitive_type = Primitive::kPrimVoid; in ProcessAnnotationValue() local420 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 …]
205 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType() local206 return mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value(); in Unsafe_getArrayBaseOffsetForComponentType()212 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType() local213 return Primitive::ComponentSize(primitive_type); in Unsafe_getArrayIndexScaleForComponentType()
1898 Primitive::Type primitive_type = component->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType() local1899 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()1906 Primitive::Type primitive_type = component->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType() local1907 result->SetI(Primitive::ComponentSize(primitive_type)); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()