Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject_array-inl.h104 inline void ObjectArray<T>::AssignableMemmove(int32_t dst_pos, in AssignableMemmove() argument
120 const bool copy_forward = (src != this) || (dst_pos < src_pos) || (dst_pos - src_pos >= count); in AssignableMemmove()
135 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
143 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
160 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
168 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemmove()
172 WriteBarrier::ForArrayWrite(this, dst_pos, count); in AssignableMemmove()
176 GetWithoutChecks(dst_pos + i); in AssignableMemmove()
182 inline void ObjectArray<T>::AssignableMemcpy(int32_t dst_pos, in AssignableMemcpy() argument
210 SetWithoutChecksAndWriteBarrier<false>(dst_pos + i, obj); in AssignableMemcpy()
[all …]
Darray-inl.h133 inline void PrimitiveArray<T>::Memmove(int32_t dst_pos, in Memmove() argument
140 DCHECK_GE(dst_pos, 0); in Memmove()
144 DCHECK_LT(dst_pos, GetLength()); in Memmove()
145 DCHECK_LE(dst_pos, GetLength() - count); in Memmove()
153 Memcpy(dst_pos, src, src_pos, count); in Memmove()
156 void* dst_raw = GetRawData(sizeof(T), dst_pos); in Memmove()
163 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= count); in Memmove()
195 inline void PrimitiveArray<T>::Memcpy(int32_t dst_pos, in Memcpy() argument
202 DCHECK_GE(dst_pos, 0); in Memcpy()
206 DCHECK_LT(dst_pos, GetLength()); in Memcpy()
[all …]
Dobject_array.h91 void AssignableMemmove(int32_t dst_pos,
98 void AssignableMemcpy(int32_t dst_pos,
106 void AssignableCheckingMemcpy(int32_t dst_pos,
Darray.h208 void Memmove(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count)
216 EXPORT void Memcpy(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count)
277 void Memcpy(int32_t dst_pos,
/art/runtime/interpreter/
Dunstarted_runtime.cc799 int32_t dst_pos, in PrimitiveArrayCopy() argument
813 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in PrimitiveArrayCopy()
816 dst->Set(dst_pos + i, src->Get(src_pos + i)); in PrimitiveArrayCopy()
820 dst->Set(dst_pos + length - i, src->Get(src_pos + length - i)); in PrimitiveArrayCopy()
831 jint dst_pos = shadow_frame->GetVReg(arg_offset + 3); in UnstartedSystemArraycopy() local
855 if (UNLIKELY(src_pos < 0) || UNLIKELY(dst_pos < 0) || UNLIKELY(length < 0) || in UnstartedSystemArraycopy()
857 UNLIKELY(dst_pos > dst_array->GetLength() - length)) { in UnstartedSystemArraycopy()
860 src_array->GetLength(), src_pos, dst_array->GetLength(), dst_pos, in UnstartedSystemArraycopy()
894 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in UnstartedSystemArraycopy()
897 dst->Set(dst_pos + i, src->Get(src_pos + i)); in UnstartedSystemArraycopy()
[all …]
Dunstarted_runtime_test.cc93 int32_t dst_pos, in RunArrayCopy() argument
100 tmp->SetVReg(3, dst_pos); in RunArrayCopy()
118 int32_t dst_pos, in RunArrayCopy() argument
137 dst_pos, in RunArrayCopy()
/art/test/MyClassNatives/
DMyClassNatives.java92 static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy() argument
266 static native void arraycopy_Fast(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy_Fast() argument
/art/compiler/optimizing/
Dintrinsics_arm64.cc2749 HIntConstant* dst_pos = invoke->InputAt(3)->AsIntConstantOrNull(); in VisitSystemArrayCopyChar() local
2753 (dst_pos != nullptr && dst_pos->GetValue() < 0)) { in VisitSystemArrayCopyChar()
2861 Location dst_pos, in GenSystemArrayCopyAddresses() argument
2873 GenArrayAddress(masm, dst_base, dst, dst_pos, type, data_offset); in GenSystemArrayCopyAddresses()
2885 Location dst_pos = locations->InAt(3); in VisitSystemArrayCopyChar() local
2931 dst_pos, in VisitSystemArrayCopyChar()
2947 dst_pos, in VisitSystemArrayCopyChar()
Dintrinsics_riscv64.cc1567 Location dst_pos, in GenSystemArrayCopyAddresses() argument
1579 GenArrayAddress(codegen, dst_base, dst, dst_pos, type, data_offset); in GenSystemArrayCopyAddresses()
/art/compiler/jni/
Djni_compiler_test.cc1459 void my_arraycopy(JNIEnv* env, jclass klass, jobject src, jint src_pos, jobject dst, jint dst_pos, … in JNI_TEST()
1464 EXPECT_EQ(5678, dst_pos); in JNI_TEST()