Home
last modified time | relevance | path

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

1234

/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/src/main/java/java/lang/
DSystem.java458 public static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy()
498 char[] dst, int dstPos, int length); in arraycopyCharUnchecked()
512 public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
552 byte[] dst, int dstPos, int length); in arraycopyByteUnchecked()
566 public static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
606 short[] dst, int dstPos, int length); in arraycopyShortUnchecked()
620 public static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
660 int[] dst, int dstPos, int length); in arraycopyIntUnchecked()
674 public static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
714 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()
DSeekableByteChannel.java65 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()
/libcore/ojluni/src/main/java/java/nio/
DByteBuffer.java468 public ByteBuffer get(byte[] dst, int offset, int length) { in get()
492 public ByteBuffer get(byte[] dst) { in get()
564 final ByteBuffer dst = this; in put() local
982 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked()
1007 void putUnchecked(int pos, char[] dst, int srcOffset, int length) { in putUnchecked()
1077 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked()
1102 void putUnchecked(int pos, short[] dst, int srcOffset, int length) { in putUnchecked()
1172 void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked()
1197 void putUnchecked(int pos, int[] dst, int srcOffset, int length) { in putUnchecked()
1267 void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked()
[all …]
DDirectByteBuffer.java217 public ByteBuffer get(byte[] dst, int dstOffset, int length) { in get()
229 dst, dstOffset, length); in get() local
358 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked()
363 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
460 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked()
465 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
562 final void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked()
567 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
664 final void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked()
669 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
[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/luni/src/main/java/libcore/io/
DBufferIterator.java48 public abstract void readByteArray(byte[] dst, int dstOffset, int byteCount); in readByteArray()
70 public abstract void readIntArray(int[] dst, int dstOffset, int intCount); in readIntArray()
DMemory.java36 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, in unsafeBulkGet()
43 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, in unsafeBulkPut()
92 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { in pokeInt()
106 public static void pokeLong(byte[] dst, int offset, long value, ByteOrder order) { in pokeLong()
132 public static void pokeShort(byte[] dst, int offset, short value, ByteOrder order) { in pokeShort()
187 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount); in peekByteArray()
188 …public static native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, bo… in peekCharArray()
189 …public static native void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCou… in peekDoubleArray()
190 …public static native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount,… in peekFloatArray()
191 …public static native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boole… in peekIntArray()
[all …]
DNioBufferIterator.java66 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray()
90 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray()
/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/ojluni/src/main/java/javax/net/ssl/
DSSLEngine.java1113 ByteBuffer dst) throws SSLException { in wrap()
1150 ByteBuffer dst) throws SSLException { in wrap()
1234 int length, ByteBuffer dst) throws SSLException; in wrap()
1268 ByteBuffer dst) throws SSLException { in unwrap()
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp64 jint* dst = reinterpret_cast<jint*>(dstShorts); in swapShorts() local
84 jint* dst = reinterpret_cast<jint*>(dstLongs); in swapLongs() local
110 static void Memory_peekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOff… in Memory_peekByteArray()
135 static void Memory_peekCharArray(JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOff… in Memory_peekCharArray()
139 static void Memory_peekDoubleArray(JNIEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint ds… in Memory_peekDoubleArray()
143 static void Memory_peekFloatArray(JNIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstO… in Memory_peekFloatArray()
147 static void Memory_peekIntArray(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffse… in Memory_peekIntArray()
151 static void Memory_peekLongArray(JNIEnv* env, jclass, jlong srcAddress, jlongArray dst, jint dstOff… in Memory_peekLongArray()
155 static void Memory_peekShortArray(JNIEnv* env, jclass, jlong srcAddress, jshortArray dst, jint dstO… in Memory_peekShortArray()
235 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
[all …]
DNetworkUtilities.cpp140 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr); in inetAddressToSockaddr() local
159 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr[12]); in inetAddressToSockaddr() local
171 jbyte* dst = reinterpret_cast<jbyte*>(&sin.sin_addr.s_addr); in inetAddressToSockaddr() local
/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()

1234