Home
last modified time | relevance | path

Searched refs:srcPos (Results 1 – 3 of 3) sorted by relevance

/art/runtime/native/
Djava_lang_System.cc50 static void System_arraycopy(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, in System_arraycopy() argument
81 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) || in System_arraycopy()
82 UNLIKELY(srcPos > srcArray->GetLength() - count) || in System_arraycopy()
86 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos, in System_arraycopy()
104 dstArray->AsByteSizedArray()->Memmove(dstPos, srcArray->AsByteSizedArray(), srcPos, count); in System_arraycopy()
109 … dstArray->AsShortSizedArray()->Memmove(dstPos, srcArray->AsShortSizedArray(), srcPos, count); in System_arraycopy()
113 dstArray->AsIntArray()->Memmove(dstPos, srcArray->AsIntArray(), srcPos, count); in System_arraycopy()
117 dstArray->AsFloatArray()->Memmove(dstPos, srcArray->AsFloatArray(), srcPos, count); in System_arraycopy()
121 dstArray->AsLongArray()->Memmove(dstPos, srcArray->AsLongArray(), srcPos, count); in System_arraycopy()
125 dstArray->AsDoubleArray()->Memmove(dstPos, srcArray->AsDoubleArray(), srcPos, count); in System_arraycopy()
[all …]
/art/test/011-array-copy/src/
DMain.java82 static void makeCopies(int srcPos, int dstPos, int length) { in makeCopies() argument
95 System.arraycopy(byteArray, srcPos, byteArray, dstPos, length); in makeCopies()
96 System.arraycopy(shortArray, srcPos, shortArray, dstPos, length); in makeCopies()
97 System.arraycopy(intArray, srcPos, intArray, dstPos, length); in makeCopies()
98 System.arraycopy(longArray, srcPos, longArray, dstPos, length); in makeCopies()
99 System.arraycopy(charArray, srcPos, charArray, dstPos, length); in makeCopies()
121 System.out.println("copy: " + srcPos + "," + dstPos + "," + length + in makeCopies()
/art/compiler/optimizing/
Dintrinsics_x86.cc1251 Location srcPos = locations->InAt(1); in VisitSystemArrayCopyChar() local
1294 CheckPosition(assembler, srcPos, src, Location::RegisterLocation(count), slow_path, src_base); in VisitSystemArrayCopyChar()
1306 if (srcPos.IsConstant()) { in VisitSystemArrayCopyChar()
1307 int32_t srcPos_const = srcPos.GetConstant()->AsIntConstant()->GetValue(); in VisitSystemArrayCopyChar()
1310 __ leal(src_base, Address(src, srcPos.AsRegister<Register>(), in VisitSystemArrayCopyChar()