Lines Matching refs:srcArray
73 mirror::Array* srcArray = srcObject->AsArray(); in System_arraycopy() local
78 UNLIKELY(srcPos > srcArray->GetLength() - count) || in System_arraycopy()
82 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos, in System_arraycopy()
88 mirror::Class* srcComponentType = srcArray->GetClass()->GetComponentType(); in System_arraycopy()
100 dstArray->AsByteSizedArray()->Memmove(dstPos, srcArray->AsByteSizedArray(), srcPos, count); in System_arraycopy()
105 … dstArray->AsShortSizedArray()->Memmove(dstPos, srcArray->AsShortSizedArray(), srcPos, count); in System_arraycopy()
109 dstArray->AsIntArray()->Memmove(dstPos, srcArray->AsIntArray(), srcPos, count); in System_arraycopy()
113 dstArray->AsFloatArray()->Memmove(dstPos, srcArray->AsFloatArray(), srcPos, count); in System_arraycopy()
117 dstArray->AsLongArray()->Memmove(dstPos, srcArray->AsLongArray(), srcPos, count); in System_arraycopy()
121 dstArray->AsDoubleArray()->Memmove(dstPos, srcArray->AsDoubleArray(), srcPos, count); in System_arraycopy()
125 … mirror::ObjectArray<mirror::Object>* srcObjArray = srcArray->AsObjectArray<mirror::Object>(); in System_arraycopy()
130 LOG(FATAL) << "Unknown array type: " << PrettyTypeOf(srcArray); in System_arraycopy()
137 std::string srcType(PrettyTypeOf(srcArray)); in System_arraycopy()
146 mirror::ObjectArray<mirror::Object>* srcObjArray = srcArray->AsObjectArray<mirror::Object>(); in System_arraycopy()
170 mirror::Array* srcArray = srcObject->AsArray(); in System_arraycopyTUnchecked() local
173 DCHECK_EQ(srcArray->GetClass(), dstArray->GetClass()); in System_arraycopyTUnchecked()
174 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
175 AsPrimitiveArray<T>(dstArray)->Memmove(dstPos, AsPrimitiveArray<T>(srcArray), srcPos, count); in System_arraycopyTUnchecked()