Home | History | Annotate | Download | only in native

Lines Matching full:primitive

32  * We make guarantees about the atomicity of accesses to primitive variables.  These guarantees
89 Primitive::Type dstComponentPrimitiveType = dstComponentType->GetPrimitiveType();
94 case Primitive::kPrimVoid:
97 case Primitive::kPrimBoolean:
98 case Primitive::kPrimByte:
99 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 1U);
102 case Primitive::kPrimChar:
103 case Primitive::kPrimShort:
104 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 2U);
107 case Primitive::kPrimInt:
108 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 4U);
111 case Primitive::kPrimFloat:
112 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 4U);
115 case Primitive::kPrimLong:
116 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 8U);
119 case Primitive::kPrimDouble:
120 DCHECK_EQ(Primitive::ComponentSize(dstComponentPrimitiveType), 8U);
123 case Primitive::kPrimNot: {
134 // If one of the arrays holds a primitive type the other array must hold the exact same type.
135 if (UNLIKELY((dstComponentPrimitiveType != Primitive::kPrimNot) ||
157 // Template to convert general array to that of its specific primitive type.
163 template <typename T, Primitive::Type kPrimType>
180 System_arraycopyTUnchecked<mirror::CharArray, Primitive::kPrimChar>(env, javaSrc, srcPos,
186 System_arraycopyTUnchecked<mirror::ByteArray, Primitive::kPrimByte>(env, javaSrc, srcPos,
192 System_arraycopyTUnchecked<mirror::ShortArray, Primitive::kPrimShort>(env, javaSrc, srcPos,
198 System_arraycopyTUnchecked<mirror::IntArray, Primitive::kPrimInt>(env, javaSrc, srcPos,
204 System_arraycopyTUnchecked<mirror::LongArray, Primitive::kPrimLong>(env, javaSrc, srcPos,
210 System_arraycopyTUnchecked<mirror::FloatArray, Primitive::kPrimFloat>(env, javaSrc, srcPos,
216 System_arraycopyTUnchecked<mirror::DoubleArray, Primitive::kPrimDouble>(env, javaSrc, srcPos,
222 System_arraycopyTUnchecked<mirror::BooleanArray, Primitive::kPrimBoolean>(env, javaSrc, srcPos,