/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | GatheringByteChannel.java | 62 * srcs[offset].remaining() 63 * + srcs[offset+1].remaining() 64 * + ... + srcs[offset+length-1].remaining()</pre></blockquote> 70 * Up to the first <tt>srcs[offset].remaining()</tt> bytes of this sequence 71 * are written from buffer <tt>srcs[offset]</tt>, up to the next 72 * <tt>srcs[offset+1].remaining()</tt> bytes are written from buffer 73 * <tt>srcs[offset+1]</tt>, and so forth, until the entire byte sequence is 89 * @param srcs 95 * larger than <tt>srcs.length</tt> 100 * <tt>srcs 127 write(ByteBuffer[] srcs, int offset, int length) argument 164 write(ByteBuffer[] srcs) argument [all...] |
H A D | DatagramChannel.java | 547 public abstract long write(ByteBuffer[] srcs, int offset, int length) argument 567 public final long write(ByteBuffer[] srcs) throws IOException { argument 568 return write(srcs, 0, srcs.length);
|
H A D | SocketChannel.java | 494 public abstract long write(ByteBuffer[] srcs, int offset, int length) argument 501 public final long write(ByteBuffer[] srcs) throws IOException { argument 502 return write(srcs, 0, srcs.length);
|
H A D | FileChannel.java | 399 public abstract long write(ByteBuffer[] srcs, int offset, int length) argument 413 public final long write(ByteBuffer[] srcs) throws IOException { argument 414 return write(srcs, 0, srcs.length);
|
H A D | AsynchronousSocketChannel.java | 602 * srcs[offset].remaining() 603 * + srcs[offset+1].remaining() 604 * + ... + srcs[offset+length-1].remaining()</pre></blockquote> 610 * Up to the first <tt>srcs[offset].remaining()</tt> bytes of this sequence 611 * are written from buffer <tt>srcs[offset]</tt>, up to the next 612 * <tt>srcs[offset+1].remaining()</tt> bytes are written from buffer 613 * <tt>srcs[offset+1]</tt>, and so forth, until the entire byte sequence is 632 * @param srcs 637 * than {@code srcs.length} 640 * and no larger than {@code srcs 660 write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler) argument [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | SSLEngine.java | 1126 * engine.wrap(srcs, 0, srcs.length, dst);} 1129 * @param srcs 1144 * if either <code>srcs</code> or <code>dst</code> 1145 * is null, or if any element in <code>srcs</code> is null. 1150 public SSLEngineResult wrap(ByteBuffer [] srcs, argument 1152 if (srcs == null) { 1155 return wrap(srcs, 0, srcs.length, dst); 1194 * The underlying memory used by the <code>srcs</cod 1234 wrap(ByteBuffer [] srcs, int offset, int length, ByteBuffer dst) argument [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | SinkChannelImpl.java | 178 public long write(ByteBuffer[] srcs) throws IOException { argument 179 if (srcs == null) 190 n = IOUtil.write(fd, srcs, nd); 201 public long write(ByteBuffer[] srcs, int offset, int length) argument 204 if ((offset < 0) || (length < 0) || (offset > srcs.length - length)) 206 return write(Util.subsequence(srcs, offset, length));
|
H A D | AsynchronousSocketChannelImpl.java | 326 ByteBuffer[] srcs, 335 ByteBuffer[] srcs, 382 return implWrite(isGatheringWrite, src, srcs, timeout, unit, att, handler); 403 public final <A> void write(ByteBuffer[] srcs, argument 413 if ((offset < 0) || (length < 0) || (offset > srcs.length - length)) 415 srcs = Util.subsequence(srcs, offset, length); 416 write(true, null, srcs, timeout, unit, attachment, handler); 324 implWrite(boolean isGatheringWrite, ByteBuffer src, ByteBuffer[] srcs, long timeout, TimeUnit unit, A attachment, CompletionHandler<V,? super A> handler) argument 333 write(boolean isGatheringWrite, ByteBuffer src, ByteBuffer[] srcs, long timeout, TimeUnit unit, A att, CompletionHandler<V,? super A> handler) argument
|
H A D | SocketChannelImpl.java | 529 public long write(ByteBuffer[] srcs, int offset, int length) argument 532 if ((offset < 0) || (length < 0) || (offset > srcs.length - length)) 545 n = IOUtil.write(fd, srcs, offset, length, nd);
|
H A D | UnixAsynchronousSocketChannelImpl.java | 692 ByteBuffer[] srcs, 713 n = (int)IOUtil.write(fd, srcs, nd); 724 this.writeBuffers = srcs; 690 implWrite(boolean isGatheringWrite, ByteBuffer src, ByteBuffer[] srcs, long timeout, TimeUnit unit, A attachment, CompletionHandler<V,? super A> handler) argument
|
H A D | DatagramChannelImpl.java | 668 public long write(ByteBuffer[] srcs, int offset, int length) argument 671 if ((offset < 0) || (length < 0) || (offset > srcs.length - length)) 686 n = IOUtil.write(fd, srcs, offset, length, nd);
|
H A D | FileChannelImpl.java | 257 public long write(ByteBuffer[] srcs, int offset, int length) argument 260 if ((offset < 0) || (length < 0) || (offset > srcs.length - length)) 274 n = IOUtil.write(fd, srcs, offset, length, nd);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySSLContextSpi.java | 152 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, argument
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
H A D | MySSLContextSpi.java | 150 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | FileChannelTest.java | 2236 // verify that calling write(ByteBuffer[] srcs) leads to the method 2237 // write(srcs, 0, srcs.length) 3159 public long read(ByteBuffer[] srcs, int offset, int length) argument 3161 // verify that calling read(ByteBuffer[] srcs) leads to the method 3162 // read(srcs, 0, srcs.length) 3163 if (0 == offset && length == srcs.length) { 3205 public long write(ByteBuffer[] srcs, int offset, int length) argument 3207 // verify that calling write(ByteBuffer[] srcs) lead [all...] |