/libcore/luni/src/main/native/ |
D | libcore_io_Memory.cpp | 95 … env, jclass, jobject dstObject, jint dstOffset, jobject srcObject, jint srcOffset, jlong length) { in Memory_memmove() argument 104 memmove(dstBytes.get() + dstOffset, srcBytes.get() + srcOffset, length); in Memory_memmove() 181 const SWAP_TYPE* src = reinterpret_cast<const SWAP_TYPE*>(elements.get()) + srcOffset; \ 184 …env->Get ## JNI_NAME ## ArrayRegion(src, srcOffset, count, cast<SCALAR_TYPE*>(dstAddress)); /*NOLI… 188 …keCharArray(JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jbo… in Memory_pokeCharArray() argument 192 …ubleArray(JNIEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint srcOffset, jint count, jbo… in Memory_pokeDoubleArray() argument 196 …FloatArray(JNIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcOffset, jint count, jbo… in Memory_pokeFloatArray() argument 200 …pokeIntArray(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffset, jint count, jbo… in Memory_pokeIntArray() argument 204 …keLongArray(JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOffset, jint count, jbo… in Memory_pokeLongArray() argument 208 …ShortArray(JNIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcOffset, jint count, jbo… in Memory_pokeShortArray() argument [all …]
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 559 int srcOffset = src.position(); in put() local 561 srcOffset += src.offset; in put() 570 Memory.memmove(dstObject, dstOffset, srcObject, srcOffset, n); in put() 1007 void putUnchecked(int pos, char[] dst, int srcOffset, int length) { in putUnchecked() argument 1102 void putUnchecked(int pos, short[] dst, int srcOffset, int length) { in putUnchecked() argument 1197 void putUnchecked(int pos, int[] dst, int srcOffset, int length) { in putUnchecked() argument 1292 void putUnchecked(int pos, long[] dst, int srcOffset, int length) { in putUnchecked() argument 1387 void putUnchecked(int pos, float[] dst, int srcOffset, int length) { in putUnchecked() argument 1482 void putUnchecked(int pos, double[] dst, int srcOffset, int length) { in putUnchecked() argument
|
D | HeapByteBuffer.java | 239 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked() argument 240 Memory.unsafeBulkPut(hb, ix(pos), length * 2, src, srcOffset, 2, !nativeByteOrder); in putUnchecked() 300 void putUnchecked(int pos, short[] src, int srcOffset, int length) { in putUnchecked() argument 301 Memory.unsafeBulkPut(hb, ix(pos), length * 2, src, srcOffset, 2, !nativeByteOrder); in putUnchecked() 361 void putUnchecked(int pos, int[] src, int srcOffset, int length) { in putUnchecked() argument 362 Memory.unsafeBulkPut(hb, ix(pos), length * 4, src, srcOffset, 4, !nativeByteOrder); in putUnchecked() 423 void putUnchecked(int pos, long[] src, int srcOffset, int length) { in putUnchecked() argument 424 Memory.unsafeBulkPut(hb, ix(pos), length * 8, src, srcOffset, 8, !nativeByteOrder); in putUnchecked() 484 void putUnchecked(int pos, float[] src, int srcOffset, int length) { in putUnchecked() argument 485 Memory.unsafeBulkPut(hb, ix(pos), length * 4, src, srcOffset, 4, !nativeByteOrder); in putUnchecked() [all …]
|
D | DirectByteBuffer.java | 278 public ByteBuffer put(byte[] src, int srcOffset, int length) { in put() argument 285 checkBounds(srcOffset, length, src.length); in put() 293 src, srcOffset, length); in put() local 417 void putUnchecked(int pos, char[] src, int srcOffset, int length) { in putUnchecked() argument 422 src, srcOffset, length, !nativeByteOrder); in putUnchecked() local 519 void putUnchecked(int pos, short[] src, int srcOffset, int length) { in putUnchecked() argument 524 src, srcOffset, length, !nativeByteOrder); in putUnchecked() local 621 final void putUnchecked(int pos, int[] src, int srcOffset, int length) { in putUnchecked() argument 626 src, srcOffset, length, !nativeByteOrder); in putUnchecked() local 723 final void putUnchecked(int pos, long[] src, int srcOffset, int length) { in putUnchecked() argument [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | Memory.java | 37 byte[] src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkGet() argument 44 Object src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkPut() argument 152 …ive void memmove(Object dstObject, int dstOffset, Object srcObject, int srcOffset, long byteCount); in memmove() argument
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 446 public native void copyMemoryFromPrimitiveArray(Object src, long srcOffset, in copyMemoryFromPrimitiveArray() argument
|