/libcore/benchmarks/src/benchmarks/ |
D | ArrayCopyBenchmark.java | 25 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
|
D | SystemArrayCopyBenchmark.java | 31 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/ |
D | ByteBufferBenchmark.java | 127 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/ |
D | System.java | 81 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/nio/channels/ |
D | AsynchronousByteChannel.java | 108 <A> void read(ByteBuffer dst, in read() 136 Future<Integer> read(ByteBuffer dst); in read()
|
D | ReadableByteChannel.java | 106 public int read(ByteBuffer dst) throws IOException; in read()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 77 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/ |
D | Memory.java | 46 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, in unsafeBulkGet() 54 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, in unsafeBulkPut() 142 … public static void pokeInt(@NonNull byte[] dst, int offset, int value, @NonNull ByteOrder order) { in pokeInt() 168 …ublic static void pokeLong(@NonNull byte[] dst, int offset, long value, @NonNull ByteOrder order) { in pokeLong() 206 …lic static void pokeShort(@NonNull byte[] dst, int offset, short value, @NonNull ByteOrder order) { in pokeShort() 291 public static native void peekByteArray(long address, byte[] dst, int dstOffset, int byteCount); in peekByteArray() 297 …public static native void peekCharArray(long address, char[] dst, int dstOffset, int charCount, bo… in peekCharArray() 303 …public static native void peekDoubleArray(long address, double[] dst, int dstOffset, int doubleCou… in peekDoubleArray() 309 …public static native void peekFloatArray(long address, float[] dst, int dstOffset, int floatCount,… in peekFloatArray() 315 …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/ |
D | UserDataNotification.java | 26 private final Node dst; field in UserDataNotification 36 Node dst) { in UserDataNotification()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 467 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy() 507 char[] dst, int dstPos, int length); in arraycopyCharUnchecked() 522 private static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy() 562 byte[] dst, int dstPos, int length); in arraycopyByteUnchecked() 577 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy() 617 short[] dst, int dstPos, int length); in arraycopyShortUnchecked() 632 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy() 672 int[] dst, int dstPos, int length); in arraycopyIntUnchecked() 687 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy() 727 long[] dst, int dstPos, int length); in arraycopyLongUnchecked() [all …]
|
/libcore/luni/src/test/native/ |
D | libcore_io_Memory_test.cpp | 30 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/ |
D | ByteBuffer.java | 815 public ByteBuffer get(byte[] dst, int offset, int length) { in get() 846 public ByteBuffer get(byte[] dst) { in get() 894 public ByteBuffer get(int index, byte[] dst, int offset, int length) { in get() 930 public ByteBuffer get(int index, byte[] dst) { in get() 934 private ByteBuffer getArray(int index, byte[] dst, int offset, int length) { in getArray() 1169 final ByteBuffer dst = this; in putBuffer() local 2479 abstract void getUnchecked(int pos, char[] dst, int dstOffset, int length); in getUnchecked() 2509 abstract void putUnchecked(int pos, char[] dst, int srcOffset, int length); in putUnchecked() 2589 abstract void getUnchecked(int pos, short[] dst, int dstOffset, int length); in getUnchecked() 2619 abstract void putUnchecked(int pos, short[] dst, int srcOffset, int length); in putUnchecked() [all …]
|
D | ByteBufferAsDoubleBuffer.java | 177 public DoubleBuffer get(double[] dst, int off, int length) { in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() local 187 public DoubleBuffer get(int index, double[] dst, int off, int length) { in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() local
|
D | ByteBufferAsLongBuffer.java | 177 public LongBuffer get(long[] dst, int off, int length) { in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() local 187 public LongBuffer get(int index, long[] dst, int off, int length) { in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() local
|
D | ByteBufferAsIntBuffer.java | 177 public IntBuffer get(int[] dst, int off, int length) { in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() local 187 public IntBuffer get(int index, int[] dst, int off, int length) { in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() local
|
D | ByteBufferAsShortBuffer.java | 177 public ShortBuffer get(short[] dst, int off, int length) { in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() local 187 public ShortBuffer get(int index, short[] dst, int off, int length) { in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() local
|
D | ByteBufferAsFloatBuffer.java | 177 public FloatBuffer get(float[] dst, int off, int length) { in get() 181 bb.getUnchecked(ix(position), dst, off, length); in get() local 187 public FloatBuffer get(int index, float[] dst, int off, int length) { in get() 190 bb.getUnchecked(ix(index), dst, off, length); in get() local
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLEngine.java | 1136 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/test/java/lang/StringBuffer/ |
D | GetCharsOverLength.java | 41 char dst[] = new char[30]; in main() local
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | ArrayDecoder.java | 34 int decode(byte[] src, int off, int len, char[] dst); in decode()
|
D | ArrayEncoder.java | 34 int encode(char[] src, int off, int len, byte[] dst); in encode()
|
/libcore/ojluni/annotations/flagged_api/java/nio/ |
D | IntBuffer.annotated.java | 60 public java.nio.IntBuffer get(int[] dst, int offset, int length) { throw new RuntimeException("Stub… in get() 62 public java.nio.IntBuffer get(int[] dst) { throw new RuntimeException("Stub!"); } in get() 65 public java.nio.IntBuffer get(int index, int[] dst, int offset, int length) { throw new RuntimeExce… in get() 68 public java.nio.IntBuffer get(int index, int[] dst) { throw new RuntimeException("Stub!"); } in get()
|
D | FloatBuffer.annotated.java | 60 public java.nio.FloatBuffer get(float[] dst, int offset, int length) { throw new RuntimeException("… in get() 62 public java.nio.FloatBuffer get(float[] dst) { throw new RuntimeException("Stub!"); } in get() 65 public java.nio.FloatBuffer get(int index, float[] dst, int offset, int length) { throw new Runtime… in get() 68 public java.nio.FloatBuffer get(int index, float[] dst) { throw new RuntimeException("Stub!"); } in get()
|
D | DoubleBuffer.annotated.java | 60 public java.nio.DoubleBuffer get(double[] dst, int offset, int length) { throw new RuntimeException… in get() 62 public java.nio.DoubleBuffer get(double[] dst) { throw new RuntimeException("Stub!"); } in get() 65 public java.nio.DoubleBuffer get(int index, double[] dst, int offset, int length) { throw new Runti… in get() 68 public java.nio.DoubleBuffer get(int index, double[] dst) { throw new RuntimeException("Stub!"); } in get()
|
D | LongBuffer.annotated.java | 60 public java.nio.LongBuffer get(long[] dst, int offset, int length) { throw new RuntimeException("St… in get() 62 public java.nio.LongBuffer get(long[] dst) { throw new RuntimeException("Stub!"); } in get() 65 public java.nio.LongBuffer get(int index, long[] dst, int offset, int length) { throw new RuntimeEx… in get() 68 public java.nio.LongBuffer get(int index, long[] dst) { throw new RuntimeException("Stub!"); } in get()
|