Searched defs:sources (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
H A DDatagramChannel.java362 * @param sources
367 * {@code sources.length}.
371 * {@code sources.length - offset}.
390 public abstract long write(ByteBuffer[] sources, int offset, int length) argument
402 * @param sources
422 public synchronized final long write(ByteBuffer[] sources) argument
424 return write(sources, 0, sources.length);
H A DSocketChannel.java363 * sources[offset]}. The number of bytes actually written is returned.
368 * @param sources
388 * offset + length} is greater than the size of {@code sources}.
396 public abstract long write(ByteBuffer[] sources, int offset, int length) throws IOException; argument
401 * Calling this method is equivalent to calling {@code write(sources, 0,
402 * sources.length);}
404 * @param sources
422 public synchronized final long write(ByteBuffer[] sources) throws IOException { argument
423 return write(sources, 0, sources
[all...]
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java369 public long write(ByteBuffer[] sources, int offset, int length) throws IOException { argument
370 Arrays.checkOffsetAndCount(sources.length, offset, length);
374 int count = FileChannelImpl.calculateTotalRemaining(sources, offset, length, false);
380 ByteBuffer source = sources[val];
390 ByteBuffer source = sources[val];
H A DSocketChannelImpl.java331 public long write(ByteBuffer[] sources, int offset, int length) throws IOException { argument
332 Arrays.checkOffsetAndCount(sources.length, offset, length);
334 int count = FileChannelImpl.calculateTotalRemaining(sources, offset, length, false);
340 ByteBuffer source = sources[val];
350 ByteBuffer source = sources[val];
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java410 public long write(ByteBuffer[] sources, int offset, int length) argument

Completed in 87 milliseconds