Home
last modified time | relevance | path

Searched refs:ReadableByteChannel (Results 1 – 24 of 24) sorted by relevance

/libcore/ojluni/src/test/java/nio/channels/Channels/
DReadByte.java31 import java.nio.channels.ReadableByteChannel;
41 ReadableByteChannel channel = new ReadableByteChannel() { in main()
DReadOffset.java32 import java.nio.channels.ReadableByteChannel;
42 ReadableByteChannel rbc = new ReadableByteChannel() { in testReadOffset()
DBasic.java64 Channels.newInputStream((ReadableByteChannel)null); in test()
74 ReadableByteChannel channel = Channels.newChannel((InputStream)null); in test()
89 ReadableByteChannel rbc = new ReadableByteChannel() { in test()
96 Channels.newReader((ReadableByteChannel)null, in test()
108 Channels.newReader((ReadableByteChannel)null, in test()
295 ReadableByteChannel rbc = Channels.newChannel(fis); in testNewChannelIn()
338 ReadableByteChannel rbc = Channels.newChannel(fis); in testNewChannelReadAfterClose()
353 ReadableByteChannel rbc = Channels.newChannel(fis); in test4481572()
383 ReadableByteChannel rbc = (ReadableByteChannel)fis.getChannel(); in testNewReader()
DEncodingTest.java33 import java.nio.channels.ReadableByteChannel;
262 ReadableByteChannel rbc = (ReadableByteChannel) fis.getChannel()) { in readFileToString()
DTinyBuffers.java44 ReadableByteChannel ch = Channels.newChannel(bis); in test()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java32 import java.nio.channels.ReadableByteChannel;
116 ReadableByteChannel rbChannel = Channels.newChannel(this.fins); in testNewChannelInputStream_InputNull()
130 ReadableByteChannel rbChannel = Channels.newChannel(this.fins); in testNewChannelInputStream_BufferNull()
162 ReadableByteChannel rbChannel = Channels.newChannel(this.fins); in testNewChannelInputStream()
274 ReadableByteChannel readbc = this.fins.getChannel(); in testNewInputStreamReadableByteChannel_InputNull()
279 InputStream testins = Channels.newInputStream((ReadableByteChannel) null); in testNewInputStreamReadableByteChannel_InputNull()
291 ReadableByteChannel readbc = this.fins.getChannel(); in testNewInputStreamReadableByteChannel()
364 ReadableByteChannel rbChannel = Channels.newChannel(this.fins); in testnewReaderCharsetError()
413 ReadableByteChannel rbChannel = Channels.newChannel(this.fins); in testNewReaderReadableByteChannelString_InputNull()
449 ReadableByteChannel rbChannel = Channels.newChannel(this.fins); in testNewReaderReadableByteChannelString_internalBufferZero()
[all …]
DFileChannelTest.java40 import java.nio.channels.ReadableByteChannel;
95 private ReadableByteChannel readByteChannel;
3173 public long transferFrom(ReadableByteChannel arg0, long arg1, long arg2) in transferFrom()
/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java48 public static int read(ReadableByteChannel ch, ByteBuffer bb, in read()
70 protected final ReadableByteChannel ch;
75 public ChannelInputStream(ReadableByteChannel ch) { in ChannelInputStream()
DFileChannelImpl.java44 import java.nio.channels.ReadableByteChannel;
707 private long transferFromArbitraryChannel(ReadableByteChannel src, in transferFromArbitraryChannel()
743 public long transferFrom(ReadableByteChannel src, in transferFrom()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java120 public static InputStream newInputStream(ReadableByteChannel ch) { in newInputStream()
347 public static ReadableByteChannel newChannel(InputStream in) {
359 implements ReadableByteChannel
514 public static Reader newReader(ReadableByteChannel ch,
550 public static Reader newReader(ReadableByteChannel ch,
584 public static Reader newReader(ReadableByteChannel ch, Charset charset) {
DByteChannel.java42 extends ReadableByteChannel, WritableByteChannel
DReadableByteChannel.java48 public interface ReadableByteChannel extends Channel { interface
DScatteringByteChannel.java50 extends ReadableByteChannel
DPipe.java61 implements ReadableByteChannel, ScatteringByteChannel
DFileChannel.java696 public abstract long transferFrom(ReadableByteChannel src, in transferFrom()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java94 public static StreamDecoder forDecoder(ReadableByteChannel ch, in forDecoder()
231 private ReadableByteChannel ch;
259 StreamDecoder(ReadableByteChannel ch, CharsetDecoder dec, int mbc) { in StreamDecoder()
/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java33 import java.nio.channels.ReadableByteChannel;
142 private void testInterruptReadableChannel(final ReadableByteChannel channel) throws Exception { in testInterruptReadableChannel()
/libcore/ojluni/src/main/java/java/util/
DScanner.java645 this((ReadableByteChannel)(new FileInputStream(source).getChannel())); in Scanner()
685 this(makeReadable((ReadableByteChannel)(new FileInputStream(source).getChannel()), dec)); in Scanner()
701 private static Readable makeReadable(ReadableByteChannel source, in makeReadable()
706 private static Readable makeReadable(ReadableByteChannel source, in makeReadable()
787 public Scanner(ReadableByteChannel source) { in Scanner()
792 private static Readable makeReadable(ReadableByteChannel source) { in makeReadable()
807 public Scanner(ReadableByteChannel source, String charsetName) { in Scanner()
822 public Scanner(ReadableByteChannel source, Charset charset) { in Scanner()
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DFileChannelImpl.java150 java.nio.channels.ReadableByteChannel src, long position, long count) in transferFromArbitraryChannel()
155 public long transferFrom(java.nio.channels.ReadableByteChannel src, long position, long count) in transferFrom()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldFileChannelTest.java34 import java.nio.channels.ReadableByteChannel;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java45 import java.nio.channels.ReadableByteChannel;
378 s = new Scanner((ReadableByteChannel) null); in test_ConstructorLjava_nio_channels_ReadableByteChannel()
426 s = new Scanner((ReadableByteChannel) null, (String) null); in test_ConstructorLjava_nio_channels_ReadableByteChannelLjava_lang_String()
433 s = new Scanner((ReadableByteChannel) null, "invalid"); in test_ConstructorLjava_nio_channels_ReadableByteChannelLjava_lang_String()
/libcore/api/
Dcurrent.txt6692 …public interface ByteChannel extends java.nio.channels.ReadableByteChannel java.nio.channels.Writa…
6704 method public static java.nio.channels.ReadableByteChannel newChannel(java.io.InputStream);
6706 method public static java.io.InputStream newInputStream(java.nio.channels.ReadableByteChannel);
6710 …method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.nio.char…
6711 method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, String);
6712 …method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.nio.char…
6768 …method public abstract long transferFrom(java.nio.channels.ReadableByteChannel, long, long) throws…
6887 …hannels.spi.AbstractSelectableChannel implements java.nio.channels.ReadableByteChannel java.nio.ch…
6896 public interface ReadableByteChannel extends java.nio.channels.Channel {
6900 public interface ScatteringByteChannel extends java.nio.channels.ReadableByteChannel {
[all …]
/libcore/
Dopenjdk_java_files.bp435 "ojluni/src/main/java/java/nio/channels/ReadableByteChannel.java",
DEXPECTED_UPSTREAM430 …a/java/nio/channels/ReadableByteChannel.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/jav…