Searched refs:sources (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
H A DDatagramChannel.java365 * @param sources
370 * {@code sources.length}.
374 * {@code sources.length - offset}.
393 public abstract long write(ByteBuffer[] sources, int offset, int length) argument
405 * @param sources
425 public synchronized final long write(ByteBuffer[] sources) argument
427 return write(sources, 0, sources.length);
H A DSocketChannel.java371 * sources[offset]}. The number of bytes actually written is returned.
376 * @param sources
396 * offset + length} is greater than the size of {@code sources}.
404 public abstract long write(ByteBuffer[] sources, int offset, int length) throws IOException; argument
409 * Calling this method is equivalent to calling {@code write(sources, 0,
410 * sources.length);}
412 * @param sources
430 public synchronized final long write(ByteBuffer[] sources) throws IOException { argument
431 return write(sources, 0, sources
[all...]
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java403 public long write(ByteBuffer[] sources, int offset, int length) throws IOException { argument
404 Arrays.checkOffsetAndCount(sources.length, offset, length);
408 int count = FileChannelImpl.calculateTotalRemaining(sources, offset, length, false);
414 ByteBuffer source = sources[val];
424 ByteBuffer source = sources[val];
H A DSocketChannelImpl.java365 public long write(ByteBuffer[] sources, int offset, int length) throws IOException { argument
366 Arrays.checkOffsetAndCount(sources.length, offset, length);
368 int count = FileChannelImpl.calculateTotalRemaining(sources, offset, length, false);
374 ByteBuffer source = sources[val];
384 ByteBuffer source = sources[val];
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java396 public long write(ByteBuffer[] sources, int offset, int length) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSocketChannelTest.java2798 // second parameter and sources.length as the third parameter.
3791 public long write(ByteBuffer[] sources, int offset, int length) throws IOException { argument
3794 // second parameter and sources.length as the third parameter.
3795 if(0 == offset && length == sources.length){

Completed in 348 milliseconds