/art/runtime/mirror/ |
H A D | object_array-inl.h | 133 int32_t src_pos, 138 src->GetWithoutChecks(src_pos + i); 147 const bool copy_forward = (src != this) || (dst_pos < src_pos) || (dst_pos - src_pos >= count); 161 src_pos + i); 169 T* obj = src->GetWithoutChecks(src_pos + i); 186 src_pos + i); 194 T* obj = src->GetWithoutChecks(src_pos + i); 211 int32_t src_pos, 216 src->GetWithoutChecks(src_pos 131 AssignableMemmove(int32_t dst_pos, ObjPtr<ObjectArray<T>> src, int32_t src_pos, int32_t count) argument 209 AssignableMemcpy(int32_t dst_pos, ObjPtr<ObjectArray<T>> src, int32_t src_pos, int32_t count) argument 259 AssignableCheckingMemcpy(int32_t dst_pos, ObjPtr<ObjectArray<T>> src, int32_t src_pos, int32_t count, bool throw_exception) argument [all...] |
H A D | object_array.h | 82 int32_t src_pos, 89 int32_t src_pos, 97 int32_t src_pos,
|
H A D | array-inl.h | 299 int32_t src_pos, 305 DCHECK_GE(src_pos, 0); 310 DCHECK_LT(src_pos, src->GetLength()); 311 DCHECK_LE(src_pos, src->GetLength() - count); 317 Memcpy(dst_pos, src, src_pos, count); 321 const void* src_raw = src->GetRawData(sizeof(T), src_pos); 327 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= count); 361 int32_t src_pos, 367 DCHECK_GE(src_pos, 297 Memmove(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count) argument 359 Memcpy(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count) argument 442 Memcpy(int32_t dst_pos, ObjPtr<PointerArray> src, int32_t src_pos, int32_t count, PointerSize ptr_size) argument [all...] |
H A D | array.h | 159 void Memmove(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count) 167 void Memcpy(int32_t dst_pos, ObjPtr<PrimitiveArray<T>> src, int32_t src_pos, int32_t count) 238 int32_t src_pos,
|
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 767 mirror::Array* src_array, int32_t src_pos, 782 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); 785 dst->Set(dst_pos + i, src->Get(src_pos + i)); 789 dst->Set(dst_pos + length - i, src->Get(src_pos + length - i)); 797 jint src_pos = shadow_frame->GetVReg(arg_offset + 1); local 822 if (UNLIKELY(src_pos < 0) || UNLIKELY(dst_pos < 0) || UNLIKELY(length < 0) || 823 UNLIKELY(src_pos > src_array->GetLength() - length) || 827 src_array->GetLength(), src_pos, dst_array->GetLength(), dst_pos, 854 const bool copy_forward = (dst_pos < src_pos) || (dst_po [all...] |
H A D | unstarted_runtime_test.cc | 118 int32_t src_pos, 125 tmp->SetVReg(1, src_pos); 143 int32_t src_pos, 162 src_pos,
|
/art/compiler/optimizing/ |
H A D | intrinsics_arm64.cc | 2169 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 2173 if ((src_pos != nullptr && src_pos->GetValue() < 0) || 2193 // arraycopy(char[] src, int src_pos, char[] dst, int dst_pos, int length). 2255 const Location& src_pos, 2269 if (src_pos.IsConstant()) { 2270 int32_t constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); 2274 __ Add(src_base, src_base, Operand(XRegisterFrom(src_pos), LSL, element_size_shift)); 2297 Location src_pos = locations->InAt(1); local 2334 src_pos, 2252 GenSystemArrayCopyAddresses(MacroAssembler* masm, DataType::Type type, const Register& src, const Location& src_pos, const Register& dst, const Location& dst_pos, const Location& copy_length, const Register& src_base, const Register& dst_base, const Register& src_end) argument 2395 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 2471 Location src_pos = locations->InAt(1); local [all...] |
H A D | intrinsics_x86_64.cc | 927 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 931 if ((src_pos != nullptr && src_pos->GetValue() < 0) || 949 // arraycopy(Object src, int src_pos, Object dest, int dest_pos, int length). 1031 Location src_pos = locations->InAt(1); local 1067 CheckPosition(assembler, src_pos, src, length, slow_path, src_base); 1086 if (src_pos.IsConstant()) { 1087 int32_t src_pos_const = src_pos.GetConstant()->AsIntConstant()->GetValue(); 1090 __ leal(src_base, Address(src, src_pos.AsRegister<CpuRegister>(), 1124 const Location& src_pos, 1121 GenSystemArrayCopyAddresses(X86_64Assembler* assembler, DataType::Type type, const CpuRegister& src, const Location& src_pos, const CpuRegister& dst, const Location& dst_pos, const Location& copy_length, const CpuRegister& src_base, const CpuRegister& dst_base, const CpuRegister& src_end) argument 1174 Location src_pos = locations->InAt(1); local 1414 GetAssembler(), type, src, src_pos, dest, dest_pos, length, temp1, temp2, temp3); local [all...] |
H A D | intrinsics_x86.cc | 104 Location src_pos = locations->InAt(1); variable 128 // value = src_array[i + src_pos] 129 if (src_pos.IsConstant()) { 130 int32_t constant = src_pos.GetConstant()->AsIntConstant()->GetValue(); 134 __ leal(temp2, Address(src_pos.AsRegister<Register>(), temp1, ScaleFactor::TIMES_1, 0)); 1135 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 1140 ((src_pos != nullptr) ? 1 : 0) 1151 if ((src_pos != nullptr && src_pos->GetValue() < 0) || 2907 Location src_pos local 3169 GenSystemArrayCopyBaseAddress(GetAssembler(), type, src, src_pos, temp1); local [all...] |
H A D | code_generator.cc | 1564 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 1568 if ((src_pos != nullptr && src_pos->GetValue() < 0) || 1587 if (src_pos != nullptr && dest_pos != nullptr && src_pos->GetValue() < dest_pos->GetValue()) { 1602 // arraycopy(Object src, int src_pos, Object dest, int dest_pos, int length).
|
H A D | intrinsics_arm_vixl.cc | 2121 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 2125 if (src_pos != nullptr && !assembler_->ShifterOperandCanAlwaysHold(src_pos->GetValue())) { 2222 Location src_pos = locations->InAt(1); local 2242 if (src_pos.IsConstant()) { 2243 int32_t src_pos_constant = Int32ConstantFrom(src_pos); 2272 __ Cmp(RegisterFrom(src_pos), dest_pos_constant); 2274 __ Cmp(RegisterFrom(src_pos), RegisterFrom(dest_pos)); 2302 src_pos, 2528 // `src` (and `src_pos`) her 2530 GenSystemArrayCopyBaseAddress(GetAssembler(), type, src, src_pos, temp1); local 2572 GenSystemArrayCopyBaseAddress(GetAssembler(), type, src, src_pos, temp1); local [all...] |
H A D | intrinsics_mips.cc | 2950 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 2956 if ((src_pos != nullptr && src_pos->GetValue() < 0) || 3058 Location src_pos = locations->InAt(1); local 3093 CheckPosition(assembler, src_pos, src, Location::RegisterLocation(count), slow_path); 3111 if (src_pos.IsConstant()) { 3112 int32_t src_pos_const = src_pos.GetConstant()->AsIntConstant()->GetValue(); 3117 __ ShiftAndAdd(src_base, src_pos.AsRegister<Register>(), src_base, char_shift);
|
H A D | intrinsics_mips64.cc | 2052 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); local 2058 if ((src_pos != nullptr && src_pos->GetValue() < 0) || 2160 Location src_pos = locations->InAt(1); local 2196 CheckPosition(assembler, src_pos, src, Location::RegisterLocation(count), slow_path); 2214 if (src_pos.IsConstant()) { 2215 int32_t src_pos_const = src_pos.GetConstant()->AsIntConstant()->GetValue(); 2220 __ Dlsa(src_base, src_pos.AsRegister<GpuRegister>(), src_base, char_shift);
|
/art/test/MyClassNatives/ |
H A D | MyClassNatives.java | 59 static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length); argument 193 static native void arraycopy_Fast(Object src, int src_pos, Object dst, int dst_pos, int length); argument
|
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 1263 void my_arraycopy(JNIEnv* env, jclass klass, jobject src, jint src_pos, jobject dst, jint dst_pos, jint length) { argument 1267 EXPECT_EQ(1234, src_pos);
|