Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DSystem.java440 public static native void arraycopy(Object src, int srcPos, in arraycopy() argument
458 public static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy() argument
465 if (srcPos < 0 || dstPos < 0 || length < 0 || in arraycopy()
466 srcPos > src.length - length || dstPos > dst.length - length) { in arraycopy()
468 "src.length=" + src.length + " srcPos=" + srcPos + in arraycopy()
473 if (src == dst && srcPos < dstPos && dstPos < srcPos + length) { in arraycopy()
478 dst[dstPos + i] = src[srcPos + i]; in arraycopy()
483 dst[dstPos + i] = src[srcPos + i]; in arraycopy()
488 arraycopyCharUnchecked(src, srcPos, dst, dstPos, length); in arraycopy()
497 private static native void arraycopyCharUnchecked(char[] src, int srcPos, in arraycopyCharUnchecked() argument
[all …]
/libcore/ojluni/src/main/native/
DBits.c77 jlong srcPos, jlong dstAddr, jlong length) in Java_java_nio_Bits_copyFromShortArray() argument
95 srcShort = (jshort *)(bytes + srcPos); in Java_java_nio_Bits_copyFromShortArray()
106 srcPos += size; in Java_java_nio_Bits_copyFromShortArray()
147 jlong srcPos, jlong dstAddr, jlong length) in Java_java_nio_Bits_copyFromIntArray() argument
165 srcInt = (jint *)(bytes + srcPos); in Java_java_nio_Bits_copyFromIntArray()
176 srcPos += size; in Java_java_nio_Bits_copyFromIntArray()
217 jlong srcPos, jlong dstAddr, jlong length) in Java_java_nio_Bits_copyFromLongArray() argument
235 srcLong = (jlong *)(bytes + srcPos); in Java_java_nio_Bits_copyFromLongArray()
246 srcPos += size; in Java_java_nio_Bits_copyFromLongArray()
/libcore/ojluni/src/main/java/java/nio/
DBits.java813 static void copyFromArray(Object src, long srcBaseOffset, long srcPos, in copyFromArray() argument
815 long offset = srcBaseOffset + srcPos; in copyFromArray()
846 static void copyFromCharArray(Object src, long srcPos, long dstAddr, in copyFromCharArray() argument
848 copyFromShortArray(src, srcPos, dstAddr, length); in copyFromCharArray()
856 static native void copyFromShortArray(Object src, long srcPos, long dstAddr, in copyFromShortArray() argument
862 static native void copyFromIntArray(Object src, long srcPos, long dstAddr, in copyFromIntArray() argument
868 static native void copyFromLongArray(Object src, long srcPos, long dstAddr, in copyFromLongArray() argument