Searched defs:dst (Results 1 - 25 of 88) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/nio/channels/
H A DReadableByteChannel.java55 * <tt>dst.remaining()</tt>, at the moment this method is invoked.
81 * @param dst
106 public int read(ByteBuffer dst) throws IOException; argument
H A DAsynchronousByteChannel.java68 * {@code dst.remaining()} at the time that the read is attempted. Where
92 * @param dst
108 <A> void read(ByteBuffer dst, argument
125 * @param dst
136 Future<Integer> read(ByteBuffer dst); argument
H A DSeekableByteChannel.java65 int read(ByteBuffer dst) throws IOException; argument
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DArrayDecoder.java34 int decode(byte[] src, int off, int len, char[] dst); argument
H A DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); argument
/libcore/dom/src/test/java/org/w3c/domts/
H A DUserDataMonitor.java47 * @param dst
55 Node dst) {
57 new UserDataNotification(operation, key, data, src, dst));
50 handle( short operation, String key, Object data, Node src, Node dst) argument
H A DUserDataNotification.java26 private final Node dst; field in class:UserDataNotification
36 Node dst) {
41 this.dst = dst;
81 * Gets value of dst parameter
83 * @return value of dst parameter
86 return dst;
32 UserDataNotification(short operation, String key, Object data, Node src, Node dst) argument
/libcore/luni/src/main/java/java/nio/charset/
H A DModifiedUtf8.java63 * Encode {@code s} into {@code dst} starting at offset {@code offset}.
67 public static void encode(byte[] dst, int offset, String s) { argument
73 dst[offset++] = (byte) 0xc0;
74 dst[offset++] = (byte) 0x80;
76 dst[offset++] = (byte) c;
79 dst[offset++] = (byte) ((c >>> 6) | 0xc0);
80 dst[offset++] = (byte) ((c & 0x3f) | 0x80);
82 dst[offset++] = (byte) ((c >>> 12) | 0xe0);
83 dst[offset++] = (byte) (((c >>> 6) & 0x3f) | 0x80);
84 dst[offse
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DBufferIterator.java43 * Copies {@code byteCount} bytes from the current position into {@code dst}, starting at
48 public abstract void readByteArray(byte[] dst, int dstOffset, int byteCount); argument
65 * Copies {@code intCount} 32-bit ints from the current position into {@code dst}, starting at
70 public abstract void readIntArray(int[] dst, int dstOffset, int intCount); argument
H A DStreams.java57 * Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
59 public static void readFully(InputStream in, byte[] dst) throws IOException { argument
60 readFully(in, dst, 0, dst.length);
64 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throws
69 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOException { argument
76 if (dst == null) {
77 throw new NullPointerException("dst == null");
79 Arrays.checkOffsetAndCount(dst.length, offset, byteCount);
81 int bytesRead = in.read(dst, offse
[all...]
H A DNioBufferIterator.java66 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { argument
67 checkDstBounds(dstOffset, dst.length, byteCount);
70 Memory.peekByteArray(address + position, dst, dstOffset, byteCount);
90 public void readIntArray(int[] dst, int dstOffset, int intCount) { argument
91 checkDstBounds(dstOffset, dst.length, intCount);
95 Memory.peekIntArray(address + position, dst, dstOffset, intCount, swap);
124 "Invalid dst args: offset=" + dstLength + ", count=" + count);
131 "Write outside range: dst.length=" + dstLength + ", offset="
/libcore/luni/src/main/java/org/w3c/dom/
H A DUserDataHandler.java63 * @param dst Specifies the node newly created if any, or
70 Node dst);
66 handle(short operation, String key, Object data, Node src, Node dst) argument
/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DUserDefinedFileAttributeView.java146 * @param dst
165 int read(String name, ByteBuffer dst) throws IOException; argument
/libcore/ojluni/src/main/native/
H A DUnixCopyFile.c50 * Transfer all bytes from src to dst via user-space buffers
54 (JNIEnv* env, jclass this, jint dst, jint src, jlong cancelAddress)
76 RESTARTABLE(write((int)dst, bufp, len), n);
53 Java_sun_nio_fs_UnixCopyFile_transfer(JNIEnv* env, jclass this, jint dst, jint src, jlong cancelAddress) argument
/libcore/luni/src/benchmark/native/
H A Dlibcore_io_Memory_bench.cpp27 T* dst; local
36 dst = reinterpret_cast<T*>(reinterpret_cast<uintptr_t>(dst_elems) + ALIGN);
42 dst = dst_elems;
45 memset(dst, 0, sizeof(T) * num_elements);
49 swap_func(src, dst, num_elements);
/libcore/luni/src/test/native/
H A Dlibcore_io_Memory_test.cpp30 uint8_t* dst = nullptr; local
32 ASSERT_EQ(0, posix_memalign(reinterpret_cast<void**>(&dst), ALIGNMENT,
45 T* dst_aligned = reinterpret_cast<T*>(&dst[dst_align]);
52 << "Failed at dst align " << dst_align << " src align " << src_align;
55 free(dst);
62 swap_align_test<jshort, 9> (swapShorts, [] (jshort* src, jshort* dst, uint64_t i) {
64 *dst = (2*i) | ((2*(i+1)) << 8);
69 swap_align_test<jint, 10> (swapInts, [] (jint* src, jint* dst, uint64_t i) {
71 *dst = (4*i) | ((4*(i+1)) << 8) | ((4*(i+2)) << 16) | ((4*(i+3)) << 24);
76 swap_align_test<jlong, 10> (swapLongs, [] (jlong* src, jlong* dst, uint64_
112 T* dst = nullptr; local
[all...]
/libcore/ojluni/src/main/java/java/nio/
H A DByteBufferAsDoubleBuffer.java100 public DoubleBuffer get(double[] dst, int offset, int length) { argument
101 checkBounds(offset, length, dst.length);
104 bb.getUnchecked(ix(position), dst, offset, length);
H A DByteBufferAsFloatBuffer.java99 public FloatBuffer get(float[] dst, int offset, int length) { argument
100 checkBounds(offset, length, dst.length);
103 bb.getUnchecked(ix(position), dst, offset, length);
H A DByteBufferAsIntBuffer.java99 public IntBuffer get(int[] dst, int offset, int length) { argument
100 checkBounds(offset, length, dst.length);
103 bb.getUnchecked(ix(position), dst, offset, length);
H A DByteBufferAsLongBuffer.java99 public LongBuffer get(long[] dst, int offset, int length) { argument
100 checkBounds(offset, length, dst.length);
103 bb.getUnchecked(ix(position), dst, offset, length);
H A DByteBufferAsShortBuffer.java98 public ShortBuffer get(short[] dst, int offset, int length) { argument
99 checkBounds(offset, length, dst.length);
102 bb.getUnchecked(ix(position), dst, offset, length);
H A DHeapDoubleBuffer.java117 public DoubleBuffer get(double[] dst, int offset, int length) { argument
118 checkBounds(offset, length, dst.length);
121 System.arraycopy(hb, ix(position()), dst, offset, length);
H A DHeapFloatBuffer.java116 public FloatBuffer get(float[] dst, int offset, int length) { argument
117 checkBounds(offset, length, dst.length);
120 System.arraycopy(hb, ix(position()), dst, offset, length);
H A DHeapIntBuffer.java117 public IntBuffer get(int[] dst, int offset, int length) { argument
118 checkBounds(offset, length, dst.length);
121 System.arraycopy(hb, ix(position()), dst, offset, length);
H A DHeapLongBuffer.java118 public LongBuffer get(long[] dst, int offset, int length) { argument
119 checkBounds(offset, length, dst.length);
122 System.arraycopy(hb, ix(position()), dst, offset, length);

Completed in 434 milliseconds

1234