Searched refs:primitive_type (Results 1 – 8 of 8) 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()
890 Primitive::Type primitive_type; in UnboxPrimitive() local893 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()
47 const Primitive::Type primitive_type = type->GetPrimitiveType(); in CalculateFrameAndReferencesSize() local48 if (primitive_type == Primitive::kPrimNot) { in CalculateFrameAndReferencesSize()50 } else if (Primitive::Is64BitType(primitive_type)) { in CalculateFrameAndReferencesSize()
1712 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access() local1713 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() local1762 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() local1851 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 …]
425 Primitive::Type primitive_type = Primitive::kPrimVoid; in ProcessAnnotationValue() local437 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 …]
211 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType() local212 return mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value(); in Unsafe_getArrayBaseOffsetForComponentType()218 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType() local219 return Primitive::ComponentSize(primitive_type); in Unsafe_getArrayIndexScaleForComponentType()
1954 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType() local1955 result->SetI(mirror::Array::DataOffset(Primitive::ComponentSize(primitive_type)).Int32Value()); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()1969 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType() local1970 result->SetI(Primitive::ComponentSize(primitive_type)); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
475 Primitive::Type primitive_type = component_type->GetPrimitiveType(); in DiffEntryContents() local476 size_t component_size = Primitive::ComponentSize(primitive_type); in DiffEntryContents()