Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java75 private static void writeFullyImpl(WritableByteChannel ch, ByteBuffer bb) in writeFullyImpl()
91 private static void writeFully(WritableByteChannel ch, ByteBuffer bb) in writeFully()
143 public static OutputStream newOutputStream(final WritableByteChannel ch) { in newOutputStream()
422 public static WritableByteChannel newChannel(final OutputStream out) {
429 implements WritableByteChannel
567 public static Writer newWriter(final WritableByteChannel ch,
604 public static Writer newWriter(WritableByteChannel ch,
DByteChannel.java42 extends ReadableByteChannel, WritableByteChannel
DWritableByteChannel.java48 public interface WritableByteChannel interface
DGatheringByteChannel.java50 extends WritableByteChannel
DPipe.java95 implements WritableByteChannel, GatheringByteChannel
DFileChannel.java620 WritableByteChannel target) in transferTo()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java35 import java.nio.channels.WritableByteChannel;
191 WritableByteChannel rbChannel = Channels.newChannel(this.fouts); in testNewChannelOutputStream_inputNull()
212 WritableByteChannel rbChannel = Channels.newChannel(this.fouts); in testNewChannelOutputStream_BufNull()
232 WritableByteChannel testChannel = this.fouts.getChannel(); in testNewChannelOutputStream()
233 WritableByteChannel rbChannel = Channels.newChannel(this.fouts); in testNewChannelOutputStream()
318 OutputStream testouts = Channels.newOutputStream((WritableByteChannel) null); in testNewOutputStreamWritableByteChannel_InputNull()
325 WritableByteChannel writebc = Channels.newChannel((OutputStream) null); in testNewOutputStreamWritableByteChannel_InputNull()
338 WritableByteChannel writebc = this.fouts.getChannel(); in testNewOutputStreamWritableByteChannel()
377 WritableByteChannel wbChannel = Channels.newChannel(this.fouts); in testnewWriterCharsetError()
517 WritableByteChannel wbChannel = Channels.newChannel(this.fouts); in testNewWriterWritableByteChannelString_internalBufZero()
[all …]
DFileChannelTest.java43 import java.nio.channels.WritableByteChannel;
97 private WritableByteChannel writableByteChannel;
3178 public long transferTo(long arg0, long arg1, WritableByteChannel arg2) in transferTo()
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DFileChannelImpl.java115 java.nio.channels.WritableByteChannel target, in transferToDirectlyInternal()
122 long position, int icount, java.nio.channels.WritableByteChannel target) in transferToDirectly()
128 long position, long count, java.nio.channels.WritableByteChannel target) in transferToTrustedChannel()
134 long position, int icount, java.nio.channels.WritableByteChannel target) in transferToArbitraryChannel()
139 public long transferTo(long position, long count, java.nio.channels.WritableByteChannel target) in transferTo()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamEncoder.java81 public static StreamEncoder forEncoder(WritableByteChannel ch, in forEncoder()
167 private WritableByteChannel ch;
199 private StreamEncoder(WritableByteChannel ch, CharsetEncoder enc, int mbc) { in StreamEncoder()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DChannelsTest.java27 import java.nio.channels.WritableByteChannel;
66 WritableByteChannel sinkChannel = pipe.sink(); in createNonBlockingChannel()
DOldFileChannelTest.java35 import java.nio.channels.WritableByteChannel;
1055 WritableByteChannel writableByteChannel = DatagramChannel.open(); in test_transferToJJLWritableByteChannel_IllegalArgument()
/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/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java46 import java.nio.channels.WritableByteChannel;
462 WritableByteChannel target, in transferToDirectlyInternal()
501 WritableByteChannel target) in transferToDirectly()
552 WritableByteChannel target) in transferToTrustedChannel()
600 WritableByteChannel target) in transferToArbitraryChannel()
636 WritableByteChannel target) in transferTo()
/libcore/api/
Dcurrent.txt6043 …e ByteChannel extends java.nio.channels.ReadableByteChannel java.nio.channels.WritableByteChannel {
6056 method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream);
6059 … method public static java.io.OutputStream newOutputStream(java.nio.channels.WritableByteChannel);
6063 …method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.char…
6064 method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, String);
6118 …method public abstract long transferTo(long, long, java.nio.channels.WritableByteChannel) throws j…
6151 public interface GatheringByteChannel extends java.nio.channels.WritableByteChannel {
6231 …leChannel implements java.nio.channels.GatheringByteChannel java.nio.channels.WritableByteChannel {
6350 public interface WritableByteChannel extends java.nio.channels.Channel {
/libcore/
Dopenjdk_java_files.bp429 "ojluni/src/main/java/java/nio/channels/WritableByteChannel.java",