Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DSystem.java449 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()
460 " dst.length=" + dst.length + " dstPos=" + dstPos + " length=" + length); 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()
488 char[] dst, int dstPos, int length); in arraycopyCharUnchecked() argument
502 public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy() argument
[all …]
/libcore/ojluni/src/main/java/sun/security/ssl/
DEngineOutputRecord.java282 int dstPos = dstBB.position(); in write() local
291 int dstData = dstPos + headerSize; in write()
328 dstBB.put(dstPos, contentType()); in write()
329 dstBB.put(dstPos + 1, protocolVersion.major); in write()
330 dstBB.put(dstPos + 2, protocolVersion.minor); in write()
331 dstBB.put(dstPos + 3, (byte)(packetLength >> 8)); in write()
332 dstBB.put(dstPos + 4, (byte)packetLength); in write()
/libcore/ojluni/src/main/native/
DBits.c112 jobject dst, jlong dstPos, jlong length) in Java_java_nio_Bits_copyToShortArray() argument
130 dstShort = (jshort *)(bytes + dstPos); in Java_java_nio_Bits_copyToShortArray()
141 dstPos += size; in Java_java_nio_Bits_copyToShortArray()
182 jobject dst, jlong dstPos, jlong length) in Java_java_nio_Bits_copyToIntArray() argument
200 dstInt = (jint *)(bytes + dstPos); in Java_java_nio_Bits_copyToIntArray()
211 dstPos += size; in Java_java_nio_Bits_copyToIntArray()
252 jobject dst, jlong dstPos, jlong length) in Java_java_nio_Bits_copyToLongArray() argument
270 dstLong = (jlong *)(bytes + dstPos); in Java_java_nio_Bits_copyToLongArray()
281 dstPos += size; in Java_java_nio_Bits_copyToLongArray()
/libcore/ojluni/src/main/java/java/nio/
DBits.java832 static void copyToArray(long srcAddr, Object dst, long dstBaseOffset, long dstPos, in copyToArray() argument
834 long offset = dstBaseOffset + dstPos; in copyToArray()
849 static void copyToCharArray(long srcAddr, Object dst, long dstPos, in copyToCharArray() argument
851 copyToShortArray(srcAddr, dst, dstPos, length); in copyToCharArray()
857 static native void copyToShortArray(long srcAddr, Object dst, long dstPos, in copyToShortArray() argument
863 static native void copyToIntArray(long srcAddr, Object dst, long dstPos, in copyToIntArray() argument
869 static native void copyToLongArray(long srcAddr, Object dst, long dstPos, in copyToLongArray() argument