Home
last modified time | relevance | path

Searched refs:WritableByteChannel (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
DChannels.java78 public static OutputStream newOutputStream(WritableByteChannel channel) { in newOutputStream()
113 public static WritableByteChannel newChannel(OutputStream outputStream) { in newChannel()
171 public static Writer newWriter(WritableByteChannel channel, in newWriter()
193 public static Writer newWriter(WritableByteChannel channel, in newWriter()
246 private final WritableByteChannel channel;
248 ChannelOutputStream(WritableByteChannel channel) { in ChannelOutputStream()
326 implements WritableByteChannel {
DByteChannel.java28 public interface ByteChannel extends ReadableByteChannel, WritableByteChannel {
DWritableByteChannel.java31 public interface WritableByteChannel extends Channel { interface
DGatheringByteChannel.java27 public interface GatheringByteChannel extends WritableByteChannel {
DPipe.java34 implements WritableByteChannel, GatheringByteChannel {
DFileChannel.java538 WritableByteChannel target) throws IOException; in transferTo()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DChannelsTest.java24 import java.nio.channels.WritableByteChannel;
53 WritableByteChannel sinkChannel = pipe.sink(); in createNonBlockingChannel()
DOldFileChannelTest.java35 import java.nio.channels.WritableByteChannel;
1055 WritableByteChannel writableByteChannel = DatagramChannel.open(); in test_transferToJJLWritableByteChannel_IllegalArgument()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java35 import java.nio.channels.WritableByteChannel;
187 WritableByteChannel rbChannel = Channels.newChannel(this.fouts); in testNewChannelOutputStream_inputNull()
208 WritableByteChannel rbChannel = Channels.newChannel(this.fouts); in testNewChannelOutputStream_BufNull()
228 WritableByteChannel testChannel = this.fouts.getChannel(); in testNewChannelOutputStream()
229 WritableByteChannel rbChannel = Channels.newChannel(this.fouts); in testNewChannelOutputStream()
321 WritableByteChannel writebc = Channels.newChannel((OutputStream) null); in testNewOutputStreamWritableByteChannel_InputNull()
334 WritableByteChannel writebc = this.fouts.getChannel(); in testNewOutputStreamWritableByteChannel()
373 WritableByteChannel wbChannel = Channels.newChannel(this.fouts); in testnewWriterCharsetError()
512 WritableByteChannel wbChannel = Channels.newChannel(this.fouts); in testNewWriterWritableByteChannelString_internalBufZero()
523 WritableByteChannel wbChannel = Channels.newChannel(this.fouts); in testNewWriterWritableByteChannelString_InputNull()
[all …]
DFileChannelTest.java43 import java.nio.channels.WritableByteChannel;
91 private WritableByteChannel writableByteChannel;
3080 public long transferTo(long arg0, long arg1, WritableByteChannel arg2) in transferTo()
/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java36 import java.nio.channels.WritableByteChannel;
179 private void testInterruptWritableChannel(final WritableByteChannel channel) throws Exception { in testInterruptWritableChannel()
/libcore/luni/src/main/java/java/nio/
DFileChannelImpl.java35 import java.nio.channels.WritableByteChannel;
403 … public long transferTo(long position, long count, WritableByteChannel target) throws IOException { in transferTo()