Home
last modified time | relevance | path

Searched defs:dst (Results 1 – 25 of 108) sorted by relevance

12345

/libcore/benchmarks/src/benchmarks/
DArrayCopyBenchmark.java25 char[] dst = new char[8192]; in timeManualArrayCopy() local
35 char[] dst = new char[8192]; in time_System_arrayCopy() local
43 char[] dst = Arrays.copyOf(src, 8192); in time_Arrays_copyOf() local
50 char[] dst = Arrays.copyOfRange(src, 0, 8192); in time_Arrays_copyOfRange() local
DSystemArrayCopyBenchmark.java31 char[] dst = new char[len]; in timeSystemCharArrayCopy() local
49 short[] dst = new short[len]; in timeSystemShortArrayCopy() local
58 int[] dst = new int[len]; in timeSystemIntArrayCopy() local
67 long[] dst = new long[len]; in timeSystemLongArrayCopy() local
76 float[] dst = new float[len]; in timeSystemFloatArrayCopy() local
85 double[] dst = new double[len]; in timeSystemDoubleArrayCopy() local
/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBenchmark.java127 char[] dst = new char[1024]; in timeCharBuffer_getCharArray() local
158 double[] dst = new double[1024]; in timeDoubleBuffer_getDoubleArray() local
179 float[] dst = new float[1024]; in timeFloatBuffer_getFloatArray() local
200 int[] dst = new int[1024]; in timeIntBuffer_getIntArray() local
221 long[] dst = new long[1024]; in timeLongBuffer_getLongArray() local
242 short[] dst = new short[1024]; in timeShortBuffer_getShortArray() local
266 ByteBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_putByteArray() local
287 … CharBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); in timeCharBuffer_putCharArray() local
308 … DoubleBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer(); in timeDoubleBuffer_putDoubleArray() local
329 … FloatBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asFloatBuffer(); in timeFloatBuffer_putFloatArray() local
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/
DSystem.java81 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy()
86 char[] src, int srcPos, char[] dst, int dstPos, int length); in arraycopyCharUnchecked()
89 public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
94 byte[] src, int srcPos, byte[] dst, int dstPos, int length); in arraycopyByteUnchecked()
97 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
102 short[] src, int srcPos, short[] dst, int dstPos, int length); in arraycopyShortUnchecked()
105 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
110 int[] src, int srcPos, int[] dst, int dstPos, int length); in arraycopyIntUnchecked()
113 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
118 long[] src, int srcPos, long[] dst, int dstPos, int length); in arraycopyLongUnchecked()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DSystem.java458 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy()
498 char[] dst, int dstPos, int length); in arraycopyCharUnchecked()
513 private static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
553 byte[] dst, int dstPos, int length); in arraycopyByteUnchecked()
568 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
608 short[] dst, int dstPos, int length); in arraycopyShortUnchecked()
623 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
663 int[] dst, int dstPos, int length); in arraycopyIntUnchecked()
678 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
718 long[] dst, int dstPos, int length); in arraycopyLongUnchecked()
[all …]
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousByteChannel.java108 <A> void read(ByteBuffer dst, in read()
136 Future<Integer> read(ByteBuffer dst); in read()
DReadableByteChannel.java106 public int read(ByteBuffer dst) throws IOException; in read()
DDatagramChannel.java398 public abstract SocketAddress receive(ByteBuffer dst) throws IOException; in receive()
482 public abstract int read(ByteBuffer dst) throws IOException; in read()
DSeekableByteChannel.java65 int read(ByteBuffer dst) throws IOException; in read()
DAsynchronousSocketChannel.java401 public abstract <A> void read(ByteBuffer dst, in read()
416 public final <A> void read(ByteBuffer dst, in read()
430 public abstract Future<Integer> read(ByteBuffer dst); in read()
/libcore/ojluni/annotations/hiddenapi/java/nio/
DByteBuffer.java77 public java.nio.ByteBuffer get(byte[] dst, int offset, int length) { in get()
81 public java.nio.ByteBuffer get(byte[] dst) { in get()
157 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked()
163 abstract void putUnchecked(int pos, char[] dst, int srcOffset, int length); in putUnchecked()
175 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked()
181 abstract void putUnchecked(int pos, short[] dst, int srcOffset, int length); in putUnchecked()
193 abstract void getUnchecked(int pos, int[] dst, int dstOffset, int length); in getUnchecked()
199 abstract void putUnchecked(int pos, int[] dst, int srcOffset, int length); in putUnchecked()
211 abstract void getUnchecked(int pos, long[] dst, int dstOffset, int length); in getUnchecked()
217 abstract void putUnchecked(int pos, long[] dst, int srcOffset, int length); in putUnchecked()
[all …]
/libcore/luni/src/main/java/libcore/io/
DMemory.java48 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, in unsafeBulkGet()
56 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, in unsafeBulkPut()
147 … public static void pokeInt(@NonNull byte[] dst, int offset, int value, @NonNull ByteOrder order) { in pokeInt()
174 …ublic static void pokeLong(@NonNull byte[] dst, int offset, long value, @NonNull ByteOrder order) { in pokeLong()
213 …lic static void pokeShort(@NonNull byte[] dst, int offset, short value, @NonNull ByteOrder order) { in pokeShort()
298 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount); in peekByteArray()
303 …public static native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, bo… in peekCharArray()
308 …public static native void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCou… in peekDoubleArray()
313 …public static native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount,… in peekFloatArray()
318 …public static native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boole… in peekIntArray()
[all …]
/libcore/dom/src/test/java/org/w3c/domts/
DUserDataNotification.java26 private final Node dst; field in UserDataNotification
36 Node dst) { in UserDataNotification()
DUserDataMonitor.java55 Node dst) { in handle()
/libcore/ojluni/src/main/java/java/nio/
DByteBuffer.java527 public ByteBuffer get(byte[] dst, int offset, int length) { in get()
556 public ByteBuffer get(byte[] dst) { in get()
635 final ByteBuffer dst = this; in put() local
1135 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked()
1165 abstract void putUnchecked(int pos, char[] dst, int srcOffset, int length); in putUnchecked()
1244 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked()
1274 abstract void putUnchecked(int pos, short[] dst, int srcOffset, int length); in putUnchecked()
1353 abstract void getUnchecked(int pos, int[] dst, int dstOffset, int length); in getUnchecked()
1383 abstract void putUnchecked(int pos, int[] dst, int srcOffset, int length); in putUnchecked()
1462 abstract void getUnchecked(int pos, long[] dst, int dstOffset, int length); in getUnchecked()
[all …]
DDirectByteBuffer.java229 public ByteBuffer get(byte[] dst, int dstOffset, int length) { in get()
241 dst, dstOffset, length); in get() local
378 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked()
383 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
480 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked()
485 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
582 final void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked()
587 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
684 final void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked()
689 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
[all …]
/libcore/luni/src/test/native/
Dlibcore_io_Memory_test.cpp30 uint8_t* dst = nullptr; in swap_align_test() local
62 swap_align_test<jshort, 9> (swapShorts, [] (jshort* src, jshort* dst, uint64_t i) { in TEST()
69 swap_align_test<jint, 10> (swapInts, [] (jint* src, jint* dst, uint64_t i) { in TEST()
76 swap_align_test<jlong, 10> (swapLongs, [] (jlong* src, jlong* dst, uint64_t i) { in TEST()
112 T* dst = nullptr; in memory_poke_test() local
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp66 jint* dst = reinterpret_cast<jint*>(dstShorts); in swapShorts() local
86 jint* dst = reinterpret_cast<jint*>(dstLongs); in swapLongs() local
112 static void Memory_peekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOff… in Memory_peekByteArray()
137 static void Memory_peekCharArray(JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOff… in Memory_peekCharArray()
141 static void Memory_peekDoubleArray(JNIEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint ds… in Memory_peekDoubleArray()
145 static void Memory_peekFloatArray(JNIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstO… in Memory_peekFloatArray()
149 static void Memory_peekIntArray(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffse… in Memory_peekIntArray()
153 static void Memory_peekLongArray(JNIEnv* env, jclass, jlong srcAddress, jlongArray dst, jint dstOff… in Memory_peekLongArray()
157 static void Memory_peekShortArray(JNIEnv* env, jclass, jlong srcAddress, jshortArray dst, jint dstO… in Memory_peekShortArray()
237 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
[all …]
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLEngine.java1136 ByteBuffer dst) throws SSLException { in wrap()
1173 ByteBuffer dst) throws SSLException { in wrap()
1257 int length, ByteBuffer dst) throws SSLException; in wrap()
1291 ByteBuffer dst) throws SSLException { in unwrap()
/libcore/ojluni/src/main/java/sun/nio/cs/
DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); in encode()
DArrayDecoder.java34 int decode(byte[] src, int off, int len, char[] dst); in decode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DDatagramChannelTest.java685 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL) in testReceive_UnconnectedReadonly() local
702 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL); in testReceive_UnconnectedBufEmpty() local
711 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_ZERO); in testReceive_UnboundBufZero() local
722 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL); in testReceive_UnboundBufNotEmpty() local
736 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_ONE); in testReceive_UnboundBufFull() local
751 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL); in testReceive_UnconnectedClose() local
783 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL) in testReceive_UnconnectedCloseReadonly() local
850 ByteBuffer dst = allocateNonEmptyBuf(); in testReceive_NonBlockNoServerBufNotEmpty() local
861 ByteBuffer dst = allocateFullBuf(); in testReceive_NonBlockNoServerBufFull() local
925 ByteBuffer dst = ByteBuffer.allocateDirect(CAPACITY_NORMAL) in receiveNoServerReadonly() local
[all …]
/libcore/ojluni/src/main/native/
DObjectInputStream.c52 jfloatArray dst, in Java_java_io_ObjectInputStream_bytesToFloats()
119 jdoubleArray dst, in Java_java_io_ObjectInputStream_bytesToDoubles()
DObjectOutputStream.c51 jbyteArray dst, in Java_java_io_ObjectOutputStream_floatsToBytes()
123 jbyteArray dst, in Java_java_io_ObjectOutputStream_doublesToBytes()
/libcore/luni/src/main/java/org/w3c/dom/
DUserDataHandler.java70 Node dst); in handle()

12345