Home
last modified time | relevance | path

Searched refs:dstPos (Results 1 – 2 of 2) sorted by relevance

/art/runtime/native/
Djava_lang_System.cc51 jint dstPos, jint length) { in System_arraycopy() argument
81 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) || in System_arraycopy()
83 UNLIKELY(dstPos > dstArray->GetLength() - count)) { in System_arraycopy()
86 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos, in System_arraycopy()
106 dstPos, ObjPtr<mirror::ByteArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
113 dstPos, ObjPtr<mirror::ShortArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
120 dstPos, ObjPtr<mirror::IntArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
127 dstPos, ObjPtr<mirror::LongArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
134 dstObjArray->AssignableMemmove(dstPos, srcObjArray, srcPos, count); in System_arraycopy()
159 dstObjArray->AssignableMemcpy(dstPos, srcObjArray, 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()