Home
last modified time | relevance | path

Searched refs:src_pos (Results 1 – 14 of 14) sorted by relevance

/art/runtime/mirror/
Darray-inl.h135 int32_t src_pos, in Memmove() argument
141 DCHECK_GE(src_pos, 0); in Memmove()
146 DCHECK_LT(src_pos, src->GetLength()); in Memmove()
147 DCHECK_LE(src_pos, src->GetLength() - count); in Memmove()
153 Memcpy(dst_pos, src, src_pos, count); in Memmove()
157 const void* src_raw = src->GetRawData(sizeof(T), src_pos); in Memmove()
163 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= count); in Memmove()
197 int32_t src_pos, in Memcpy() argument
203 DCHECK_GE(src_pos, 0); in Memcpy()
208 DCHECK_LT(src_pos, src->GetLength()); in Memcpy()
[all …]
Dobject_array-inl.h106 int32_t src_pos, in AssignableMemmove() argument
111 src->GetWithoutChecks(src_pos + i); in AssignableMemmove()
120 const bool copy_forward = (src != this) || (dst_pos < src_pos) || (dst_pos - src_pos >= count); in AssignableMemmove()
134 src_pos + i); in AssignableMemmove()
142 ObjPtr<T> obj = src->GetWithoutChecks(src_pos + i); in AssignableMemmove()
159 src_pos + i); in AssignableMemmove()
167 ObjPtr<T> obj = src->GetWithoutChecks(src_pos + i); in AssignableMemmove()
184 int32_t src_pos, in AssignableMemcpy() argument
189 src->GetWithoutChecks(src_pos + i); in AssignableMemcpy()
209 src->template GetWithoutChecks<kDefaultVerifyFlags, kWithoutReadBarrier>(src_pos + i); in AssignableMemcpy()
[all …]
Dobject_array.h93 int32_t src_pos,
100 int32_t src_pos,
108 int32_t src_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)
279 int32_t src_pos,
/art/runtime/interpreter/
Dunstarted_runtime.cc797 int32_t src_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()
830 jint src_pos = shadow_frame->GetVReg(arg_offset + 1); in UnstartedSystemArraycopy() local
855 if (UNLIKELY(src_pos < 0) || UNLIKELY(dst_pos < 0) || UNLIKELY(length < 0) || in UnstartedSystemArraycopy()
856 UNLIKELY(src_pos > src_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.cc91 int32_t src_pos, in RunArrayCopy() argument
98 tmp->SetVReg(1, src_pos); in RunArrayCopy()
116 int32_t src_pos, in RunArrayCopy() argument
135 src_pos, in RunArrayCopy()
/art/compiler/optimizing/
Dcode_generator.cc1770 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstantOrNull(); in CreateSystemArrayCopyLocationSummary() local
1774 if ((src_pos != nullptr && src_pos->GetValue() < 0) || in CreateSystemArrayCopyLocationSummary()
1794 if (src_pos != nullptr && dest_pos != nullptr && src_pos->GetValue() < dest_pos->GetValue()) { in CreateSystemArrayCopyLocationSummary()
Dintrinsics_x86.cc756 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstantOrNull(); in CreateSystemArrayCopyLocations() local
761 ((src_pos != nullptr) ? 1 : 0) in CreateSystemArrayCopyLocations()
772 if ((src_pos != nullptr && src_pos->GetValue() < 0) || in CreateSystemArrayCopyLocations()
877 Location src_pos = locations->InAt(1); in SystemArrayCopyPrimitive() local
922 src_pos, in SystemArrayCopyPrimitive()
944 GenArrayAddress(assembler, src_base, src, src_pos, type, data_offset); in SystemArrayCopyPrimitive()
3100 Location src_pos = locations->InAt(1); in VisitSystemArrayCopy() local
3119 if (src_pos.IsConstant()) { in VisitSystemArrayCopy()
3120 int32_t src_pos_constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); in VisitSystemArrayCopy()
3143 Register src_pos_reg = src_pos.AsRegister<Register>(); in VisitSystemArrayCopy()
[all …]
Dintrinsics_arm64.cc2748 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstantOrNull(); in VisitSystemArrayCopyChar() local
2752 if ((src_pos != nullptr && src_pos->GetValue() < 0) || in VisitSystemArrayCopyChar()
2859 Location src_pos, in GenSystemArrayCopyAddresses() argument
2872 GenArrayAddress(masm, src_base, src, src_pos, type, data_offset); in GenSystemArrayCopyAddresses()
2883 Location src_pos = locations->InAt(1); in VisitSystemArrayCopyChar() local
2922 src_pos, in VisitSystemArrayCopyChar()
2945 src_pos, in VisitSystemArrayCopyChar()
3098 Location src_pos = locations->InAt(1); in VisitSystemArrayCopy() local
3117 if (src_pos.IsConstant()) { in VisitSystemArrayCopy()
3118 int32_t src_pos_constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); in VisitSystemArrayCopy()
[all …]
Dintrinsics_x86_64.cc638 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstantOrNull(); in CreateSystemArrayCopyLocations() local
642 if ((src_pos != nullptr && src_pos->GetValue() < 0) || in CreateSystemArrayCopyLocations()
746 Location src_pos = locations->InAt(1); in SystemArrayCopyPrimitive() local
784 src_pos, in SystemArrayCopyPrimitive()
813 GenArrayAddress(assembler, src_base, src, src_pos, type, data_offset); in SystemArrayCopyPrimitive()
894 Location src_pos = locations->InAt(1); in VisitSystemArrayCopy() local
915 if (src_pos.IsConstant()) { in VisitSystemArrayCopy()
916 int32_t src_pos_constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); in VisitSystemArrayCopy()
939 CpuRegister src_pos_reg = src_pos.AsRegister<CpuRegister>(); in VisitSystemArrayCopy()
970 src_pos, in VisitSystemArrayCopy()
[all …]
Dintrinsics_riscv64.cc1565 Location src_pos, in GenSystemArrayCopyAddresses() argument
1578 GenArrayAddress(codegen, src_base, src, src_pos, type, data_offset); in GenSystemArrayCopyAddresses()
1628 Location src_pos = locations->InAt(1); in VisitSystemArrayCopy() local
1645 if (src_pos.IsConstant()) { in VisitSystemArrayCopy()
1646 int32_t src_pos_constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); in VisitSystemArrayCopy()
1666 XRegister src_pos_reg = src_pos.AsRegister<XRegister>(); in VisitSystemArrayCopy()
1694 src_pos, in VisitSystemArrayCopy()
1877 src_pos, in VisitSystemArrayCopy()
Dintrinsics_arm_vixl.cc1320 Location src_pos = locations->InAt(1); in VisitSystemArrayCopy() local
1341 if (src_pos.IsConstant()) { in VisitSystemArrayCopy()
1342 int32_t src_pos_constant = Int32ConstantFrom(src_pos); in VisitSystemArrayCopy()
1365 __ Cmp(RegisterFrom(src_pos), OperandFrom(dest_pos, DataType::Type::kInt32)); in VisitSystemArrayCopy()
1394 src_pos, in VisitSystemArrayCopy()
1558 GenArrayAddress(GetAssembler(), temp1, src, src_pos, type, data_offset); in VisitSystemArrayCopy()
/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/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()
1463 EXPECT_EQ(1234, src_pos); in JNI_TEST()