Home
last modified time | relevance | path

Searched defs:dst (Results 1 – 25 of 80) 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 …]
DByteBufferScalarVersusVectorBenchmark.java29 ByteBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy() local
/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()
488 char[] dst, int dstPos, int length); in arraycopyCharUnchecked()
502 public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
541 byte[] dst, int dstPos, int length); in arraycopyByteUnchecked()
555 public static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
594 short[] dst, int dstPos, int length); in arraycopyShortUnchecked()
608 public static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
647 int[] dst, int dstPos, int length); in arraycopyIntUnchecked()
661 public static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
700 long[] dst, int dstPos, int length); in arraycopyLongUnchecked()
[all …]
/libcore/luni/src/main/java/libcore/io/
DBufferIterator.java40 public abstract void readByteArray(byte[] dst, int dstOffset, int byteCount); in readByteArray()
56 public abstract void readIntArray(int[] dst, int dstOffset, int intCount); in readIntArray()
DMemory.java35 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, in unsafeBulkGet()
42 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, in unsafeBulkPut()
91 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { in pokeInt()
105 public static void pokeLong(byte[] dst, int offset, long value, ByteOrder order) { in pokeLong()
131 public static void pokeShort(byte[] dst, int offset, short value, ByteOrder order) { in pokeShort()
182 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount); in peekByteArray()
183 …public static native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, bo… in peekCharArray()
184 …public static native void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCou… in peekDoubleArray()
185 …public static native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount,… in peekFloatArray()
186 …public static native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boole… in peekIntArray()
[all …]
DNioBufferIterator.java48 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray()
65 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray()
/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.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.java207 public ByteBuffer get(byte[] dst, int dstOffset, int length) { in get()
219 dst, dstOffset, length); in get() local
338 void getUnchecked(int pos, char[] dst, int dstOffset, int length) { in getUnchecked()
340 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
420 void getUnchecked(int pos, short[] dst, int dstOffset, int length) { in getUnchecked()
422 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
502 void getUnchecked(int pos, int[] dst, int dstOffset, int length) { in getUnchecked()
504 dst, dstOffset, length, !nativeByteOrder); in getUnchecked() local
584 void getUnchecked(int pos, long[] dst, int dstOffset, int length) { in getUnchecked()
586 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/ojluni/src/main/java/java/nio/channels/
DReadableByteChannel.java106 public int read(ByteBuffer dst) throws IOException; in read()
DSeekableByteChannel.java65 int read(ByteBuffer dst) throws IOException; in read()
DDatagramChannel.java395 public abstract SocketAddress receive(ByteBuffer dst) throws IOException; in receive()
479 public abstract int read(ByteBuffer dst) throws IOException; in read()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLEngine.java1114 ByteBuffer dst) throws SSLException { in wrap()
1151 ByteBuffer dst) throws SSLException { in wrap()
1235 int length, ByteBuffer dst) throws SSLException; in wrap()
1269 ByteBuffer dst) throws SSLException { in unwrap()
/libcore/ojluni/src/main/java/sun/nio/cs/
DArrayDecoder.java34 int decode(byte[] src, int off, int len, char[] dst); in decode()
DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); in encode()
/libcore/luni/src/main/native/
DNetworkUtilities.cpp140 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr); in inetAddressToSockaddr() local
155 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr[12]); in inetAddressToSockaddr() local
167 jbyte* dst = reinterpret_cast<jbyte*>(&sin.sin_addr.s_addr); in inetAddressToSockaddr() local
Dlibcore_io_Memory.cpp63 jint* dst = reinterpret_cast<jint*>(dstShorts); in swapShorts() local
83 jint* dst = reinterpret_cast<jint*>(dstLongs); in swapLongs() local
109 static void Memory_peekByteArray(JNIEnv* env, jclass, jlong srcAddress, jbyteArray dst, jint dstOff… in Memory_peekByteArray()
134 static void Memory_peekCharArray(JNIEnv* env, jclass, jlong srcAddress, jcharArray dst, jint dstOff… in Memory_peekCharArray()
138 static void Memory_peekDoubleArray(JNIEnv* env, jclass, jlong srcAddress, jdoubleArray dst, jint ds… in Memory_peekDoubleArray()
142 static void Memory_peekFloatArray(JNIEnv* env, jclass, jlong srcAddress, jfloatArray dst, jint dstO… in Memory_peekFloatArray()
146 static void Memory_peekIntArray(JNIEnv* env, jclass, jlong srcAddress, jintArray dst, jint dstOffse… in Memory_peekIntArray()
150 static void Memory_peekLongArray(JNIEnv* env, jclass, jlong srcAddress, jlongArray dst, jint dstOff… in Memory_peekLongArray()
154 static void Memory_peekShortArray(JNIEnv* env, jclass, jlong srcAddress, jshortArray dst, jint dstO… in Memory_peekShortArray()
234 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
[all …]
/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