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

123

/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 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/dex/src/main/java/com/android/dex/
H A DMutf8.java87 * dst}, starting at {@code offset}.
89 public static void encode(byte[] dst, int offset, String s) { argument
94 dst[offset++] = (byte) ch;
96 dst[offset++] = (byte) (0xc0 | (0x1f & (ch >> 6)));
97 dst[offset++] = (byte) (0x80 | (0x3f & ch));
99 dst[offset++] = (byte) (0xe0 | (0x0f & (ch >> 12)));
100 dst[offset++] = (byte) (0x80 | (0x3f & (ch >> 6)));
101 dst[offset++] = (byte) (0x80 | (0x3f & ch));
/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.java37 * Copies {@code byteCount} bytes from the current position into {@code dst}, starting at
40 public abstract void readByteArray(byte[] dst, int dstOffset, int byteCount); argument
53 * Copies {@code intCount} 32-bit ints from the current position into {@code dst}, starting at
56 public abstract void readIntArray(int[] dst, int dstOffset, int intCount); argument
H A DNioBufferIterator.java48 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { argument
49 Memory.peekByteArray(address + position, dst, dstOffset, byteCount);
65 public void readIntArray(int[] dst, int dstOffset, int intCount) { argument
66 Memory.peekIntArray(address + position, dst, dstOffset, intCount, swap);
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...]
/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/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/luni/src/main/native/
H A DNetworkUtilities.cpp140 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr); local
141 env->GetByteArrayRegion(addressBytes.get(), 0, 16, dst);
155 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr[12]); local
156 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst);
167 jbyte* dst = reinterpret_cast<jbyte*>(&sin.sin_addr.s_addr); local
168 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst);
/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);
H A DHeapShortBuffer.java117 public ShortBuffer get(short[] dst, int offset, int length) { argument
118 checkBounds(offset, length, dst.length);
121 System.arraycopy(hb, ix(position()), dst, offset, length);

Completed in 102 milliseconds

123