/art/runtime/mirror/ |
D | object_array-inl.h | 104 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 …]
|
D | array-inl.h | 129 inline void PrimitiveArray<T>::Memmove(int32_t dst_pos, in Memmove() argument 136 DCHECK_GE(dst_pos, 0); in Memmove() 140 DCHECK_LT(dst_pos, GetLength()); in Memmove() 141 DCHECK_LE(dst_pos, GetLength() - count); in Memmove() 149 Memcpy(dst_pos, src, src_pos, count); in Memmove() 152 void* dst_raw = GetRawData(sizeof(T), dst_pos); in Memmove() 159 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= count); in Memmove() 191 inline void PrimitiveArray<T>::Memcpy(int32_t dst_pos, in Memcpy() argument 198 DCHECK_GE(dst_pos, 0); in Memcpy() 202 DCHECK_LT(dst_pos, GetLength()); in Memcpy() [all …]
|
D | object_array.h | 90 void AssignableMemmove(int32_t dst_pos, 97 void AssignableMemcpy(int32_t dst_pos, 105 void AssignableCheckingMemcpy(int32_t dst_pos,
|
D | array.h | 204 void Memmove(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count) 212 void Memcpy(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count) 273 void Memcpy(int32_t dst_pos,
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 787 int32_t dst_pos, in PrimitiveArrayCopy() argument 801 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in PrimitiveArrayCopy() 804 dst->Set(dst_pos + i, src->Get(src_pos + i)); in PrimitiveArrayCopy() 808 dst->Set(dst_pos + length - i, src->Get(src_pos + length - i)); in PrimitiveArrayCopy() 817 jint dst_pos = shadow_frame->GetVReg(arg_offset + 3); in UnstartedSystemArraycopy() local 841 if (UNLIKELY(src_pos < 0) || UNLIKELY(dst_pos < 0) || UNLIKELY(length < 0) || in UnstartedSystemArraycopy() 843 UNLIKELY(dst_pos > dst_array->GetLength() - length)) { in UnstartedSystemArraycopy() 846 src_array->GetLength(), src_pos, dst_array->GetLength(), dst_pos, in UnstartedSystemArraycopy() 878 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); in UnstartedSystemArraycopy() 881 dst->Set(dst_pos + i, src->Get(src_pos + i)); in UnstartedSystemArraycopy() [all …]
|
D | unstarted_runtime_test.cc | 146 int32_t dst_pos, in RunArrayCopy() argument 153 tmp->SetVReg(3, dst_pos); in RunArrayCopy() 171 int32_t dst_pos, in RunArrayCopy() argument 190 dst_pos, in RunArrayCopy()
|
/art/test/MyClassNatives/ |
D | MyClassNatives.java | 60 static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy() argument 188 static native void arraycopy_Fast(Object src, int src_pos, Object dst, int dst_pos, int length); in arraycopy_Fast() argument
|
/art/compiler/optimizing/ |
D | intrinsics_arm64.cc | 2598 HIntConstant* dst_pos = invoke->InputAt(3)->AsIntConstant(); in VisitSystemArrayCopyChar() local 2602 (dst_pos != nullptr && dst_pos->GetValue() < 0)) { in VisitSystemArrayCopyChar() 2685 const Location& dst_pos, in GenSystemArrayCopyAddresses() argument 2705 if (dst_pos.IsConstant()) { in GenSystemArrayCopyAddresses() 2706 int32_t constant = dst_pos.GetConstant()->AsIntConstant()->GetValue(); in GenSystemArrayCopyAddresses() 2710 __ Add(dst_base, dst_base, Operand(XRegisterFrom(dst_pos), LSL, element_size_shift)); in GenSystemArrayCopyAddresses() 2727 Location dst_pos = locations->InAt(3); in VisitSystemArrayCopyChar() local 2770 dst_pos, in VisitSystemArrayCopyChar() 2786 dst_pos, in VisitSystemArrayCopyChar()
|
D | intrinsics_x86_64.cc | 854 const Location& dst_pos, in GenSystemArrayCopyAddresses() argument 872 if (dst_pos.IsConstant()) { in GenSystemArrayCopyAddresses() 873 int32_t constant = dst_pos.GetConstant()->AsIntConstant()->GetValue(); in GenSystemArrayCopyAddresses() 876 __ leal(dst_base, Address(dst, dst_pos.AsRegister<CpuRegister>(), scale_factor, data_offset)); in GenSystemArrayCopyAddresses()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 1455 void my_arraycopy(JNIEnv* env, jclass klass, jobject src, jint src_pos, jobject dst, jint dst_pos, … in JNI_TEST() 1460 EXPECT_EQ(5678, dst_pos); in JNI_TEST()
|