Home
last modified time | relevance | path

Searched refs:dst_pos (Results 1 – 9 of 9) sorted by relevance

/art/runtime/mirror/
Dobject_array-inl.h103 inline void ObjectArray<T>::AssignableMemmove(int32_t dst_pos, in AssignableMemmove() argument
119 const bool copy_forward = (src != this) || (dst_pos < src_pos) || (dst_pos - src_pos >= count); in AssignableMemmove()
134 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
142 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
159 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
167 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
171 WriteBarrier::ForArrayWrite(this, dst_pos, count); in AssignableMemmove()
175 GetWithoutChecks(dst_pos + i); in AssignableMemmove()
181 inline void ObjectArray<T>::AssignableMemcpy(int32_t dst_pos, in AssignableMemcpy() argument
209 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemcpy()
[all …]
Darray-inl.h128 inline void PrimitiveArray<T>::Memmove(int32_t dst_pos, in Memmove() argument
135 DCHECK_GE(dst_pos, 0); in Memmove()
139 DCHECK_LT(dst_pos, GetLength()); in Memmove()
140 DCHECK_LE(dst_pos, GetLength() - count); in Memmove()
148 Memcpy(dst_pos, src, src_pos, count); in Memmove()
151 void* dst_raw = GetRawData(sizeof(T), dst_pos); in Memmove()
158 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= count); in Memmove()
190 inline void PrimitiveArray<T>::Memcpy(int32_t dst_pos, in Memcpy() argument
197 DCHECK_GE(dst_pos, 0); in Memcpy()
201 DCHECK_LT(dst_pos, GetLength()); in Memcpy()
[all …]
Dobject_array.h80 void AssignableMemmove(int32_t dst_pos,
87 void AssignableMemcpy(int32_t dst_pos,
95 void AssignableCheckingMemcpy(int32_t dst_pos,
Darray.h192 void Memmove(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count)
200 void Memcpy(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count)
258 void Memcpy(int32_t dst_pos,
/art/runtime/interpreter/
Dunstarted_runtime.cc778 int32_t dst_pos, in PrimitiveArrayCopy() argument
792 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in PrimitiveArrayCopy()
795 dst->Set(dst_pos + i, src->Get(src_pos + i)); in PrimitiveArrayCopy()
799 dst->Set(dst_pos + length - i, src->Get(src_pos + length - i)); in PrimitiveArrayCopy()
808 jint dst_pos = shadow_frame->GetVReg(arg_offset + 3); in UnstartedSystemArraycopy() local
832 if (UNLIKELY(src_pos < 0) || UNLIKELY(dst_pos < 0) || UNLIKELY(length < 0) || in UnstartedSystemArraycopy()
834 UNLIKELY(dst_pos > dst_array->GetLength() - length)) { in UnstartedSystemArraycopy()
837 src_array->GetLength(), src_pos, dst_array->GetLength(), dst_pos, in UnstartedSystemArraycopy()
864 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in UnstartedSystemArraycopy()
867 dst->Set(dst_pos + i, src->Get(src_pos + i)); in UnstartedSystemArraycopy()
[all …]
Dunstarted_runtime_test.cc145 int32_t dst_pos, in RunArrayCopy() argument
152 tmp->SetVReg(3, dst_pos); in RunArrayCopy()
170 int32_t dst_pos, in RunArrayCopy() argument
189 dst_pos, in RunArrayCopy()
/art/compiler/optimizing/
Dintrinsics_arm64.cc2050 HIntConstant* dst_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopyChar() local
2054 (dst_pos != nullptr && dst_pos->GetValue() < 0)) { in VisitSystemArrayCopyChar()
2137 const Location& dst_pos, in GenSystemArrayCopyAddresses() argument
2157 if (dst_pos.IsConstant()) { in GenSystemArrayCopyAddresses()
2158 int32_t constant = dst_pos.GetConstant()->AsIntConstant()->GetValue(); in GenSystemArrayCopyAddresses()
2162 __ Add(dst_base, dst_base, Operand(XRegisterFrom(dst_pos), LSL, element_size_shift)); in GenSystemArrayCopyAddresses()
2179 Location dst_pos = locations->InAt(3); in VisitSystemArrayCopyChar() local
2222 dst_pos, in VisitSystemArrayCopyChar()
2238 dst_pos, in VisitSystemArrayCopyChar()
/art/test/MyClassNatives/
DMyClassNatives.java59 static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy() argument
193 static native void arraycopy_Fast(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy_Fast() argument
/art/compiler/jni/
Djni_compiler_test.cc1263 void my_arraycopy(JNIEnv* env, jclass klass, jobject src, jint src_pos, jobject dst, jint dst_pos, … in JNI_TEST()
1268 EXPECT_EQ(5678, dst_pos); in JNI_TEST()