Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/nio/channels/Channels/
DBasic.java69 Channels.newOutputStream((WritableByteChannel)null); in test()
79 WritableByteChannel channel = Channels.newChannel((OutputStream)null); in test()
83 WritableByteChannel wbc = new WritableByteChannel() { in test()
136 Channels.newWriter((WritableByteChannel)null, in test()
153 Channels.newWriter((WritableByteChannel)null, in test()
245 WritableByteChannel wbc = (WritableByteChannel)fc; in testNewOutputStream()
285 WritableByteChannel wbc = Channels.newChannel(fos); in testNewChannelOut()
323 WritableByteChannel wbc = Channels.newChannel(fos); in testNewChannelWriteAfterClose()
370 WritableByteChannel wbc = (WritableByteChannel)fos.getChannel(); in testNewWriter()
DEncodingTest.java34 import java.nio.channels.WritableByteChannel;
204 WritableByteChannel wbc = (WritableByteChannel) fos.getChannel();) { in testMalformedOutput()
232 WritableByteChannel wbc = (WritableByteChannel) fos.getChannel()) { in writeToFile()
DShortWrite.java47 WritableByteChannel wbc = new WritableByteChannel() { in testShortWrite()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java71 private static void writeFullyImpl(WritableByteChannel ch, ByteBuffer bb) in writeFullyImpl()
87 private static void writeFully(WritableByteChannel ch, ByteBuffer bb) in writeFully()
139 public static OutputStream newOutputStream(WritableByteChannel ch) { in newOutputStream()
425 public static WritableByteChannel newChannel(OutputStream out) {
441 implements WritableByteChannel
614 public static Writer newWriter(WritableByteChannel ch,
650 public static Writer newWriter(WritableByteChannel ch,
686 public static Writer newWriter(WritableByteChannel ch, Charset charset) {
DByteChannel.java42 extends ReadableByteChannel, WritableByteChannel
DWritableByteChannel.java48 public interface WritableByteChannel interface
DGatheringByteChannel.java50 extends WritableByteChannel
DPipe.java95 implements WritableByteChannel, GatheringByteChannel
DFileChannel.java630 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()
179 private WritableByteChannel ch;
211 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;
460 WritableByteChannel target, in transferToDirectlyInternal()
499 WritableByteChannel target) in transferToDirectly()
550 WritableByteChannel target) in transferToTrustedChannel()
598 WritableByteChannel target) in transferToArbitraryChannel()
634 WritableByteChannel target) in transferTo()
/libcore/ojluni/src/test/java/nio/channels/Selector/
DSelectWithConsumer.java42 import java.nio.channels.WritableByteChannel;
746 void scheduleWrite(WritableByteChannel sink, ByteBuffer buf, long delay, TimeUnit unit) { in scheduleWrite()
/libcore/api/
Dcurrent.txt6692 …e ByteChannel extends java.nio.channels.ReadableByteChannel java.nio.channels.WritableByteChannel {
6705 method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream);
6708 … method public static java.io.OutputStream newOutputStream(java.nio.channels.WritableByteChannel);
6713 …method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.char…
6714 method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, String);
6715 …method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.char…
6769 …method public abstract long transferTo(long, long, java.nio.channels.WritableByteChannel) throws j…
6802 public interface GatheringByteChannel extends java.nio.channels.WritableByteChannel {
6882 …leChannel implements java.nio.channels.GatheringByteChannel java.nio.channels.WritableByteChannel {
7006 public interface WritableByteChannel extends java.nio.channels.Channel {
/libcore/
Dopenjdk_java_files.bp446 "ojluni/src/main/java/java/nio/channels/WritableByteChannel.java",
DEXPECTED_UPSTREAM438 …va/java/nio/channels/WritableByteChannel.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/jav…