Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DSystem.java431 public static native void arraycopy(Object src, int srcPos, in arraycopy() argument
449 public static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy() argument
456 if (srcPos < 0 || dstPos < 0 || length < 0 || in arraycopy()
457 srcPos > src.length - length || dstPos > dst.length - length) { in arraycopy()
459 "src.length=" + src.length + " srcPos=" + srcPos + in arraycopy()
464 if (src == dst && srcPos < dstPos && dstPos < srcPos + length) { in arraycopy()
469 dst[dstPos + i] = src[srcPos + i]; in arraycopy()
474 dst[dstPos + i] = src[srcPos + i]; in arraycopy()
479 arraycopyCharUnchecked(src, srcPos, dst, dstPos, length); in arraycopy()
487 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/sun/security/ssl/
DEngineInputRecord.java393 int srcPos = srcBB.position(); in read() local
397 srcBB.get(srcPos + 1), srcBB.get(srcPos + 2)); in read()
417 srcBB.limit(srcPos + len); in read()
426 srcBB.position(srcPos + headerSize); in read()
427 srcBB.limit(srcPos + len); in read()
/libcore/ojluni/src/main/java/java/nio/
DBits.java811 static void copyFromArray(Object src, long srcBaseOffset, long srcPos, in copyFromArray() argument
813 long offset = srcBaseOffset + srcPos; in copyFromArray()
844 static void copyFromCharArray(Object src, long srcPos, long dstAddr, in copyFromCharArray() argument
846 copyFromShortArray(src, srcPos, dstAddr, length); in copyFromCharArray()
854 static native void copyFromShortArray(Object src, long srcPos, long dstAddr, in copyFromShortArray() argument
860 static native void copyFromIntArray(Object src, long srcPos, long dstAddr, in copyFromIntArray() argument
866 static native void copyFromLongArray(Object src, long srcPos, long dstAddr, in copyFromLongArray() argument