Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java54 public static int read(ReadableByteChannel ch, ByteBuffer bb) in read()
77 protected final ReadableByteChannel ch;
82 public ChannelInputStream(ReadableByteChannel ch) { in ChannelInputStream()
DFileChannelImpl.java637 private long transferFromArbitraryChannel(ReadableByteChannel src, in transferFromArbitraryChannel()
673 public long transferFrom(ReadableByteChannel src, in transferFrom()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java124 public static InputStream newInputStream(ReadableByteChannel ch) { in newInputStream()
198 public static ReadableByteChannel newChannel(final InputStream in) { in newChannel()
211 implements ReadableByteChannel
349 public static Reader newReader(ReadableByteChannel ch, in newReader()
386 public static Reader newReader(ReadableByteChannel ch, in newReader()
DByteChannel.java42 extends ReadableByteChannel, WritableByteChannel
DReadableByteChannel.java48 public interface ReadableByteChannel extends Channel { interface
DScatteringByteChannel.java50 extends ReadableByteChannel
DPipe.java62 implements ReadableByteChannel, ScatteringByteChannel
DFileChannel.java508 public abstract long transferFrom(ReadableByteChannel src, in transferFrom()
/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;
3172 public long transferFrom(ReadableByteChannel arg0, long arg1, long arg2) in transferFrom()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java93 public static StreamDecoder forDecoder(ReadableByteChannel ch, in forDecoder()
229 private ReadableByteChannel ch;
257 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.java659 this((ReadableByteChannel)(new FileInputStream(source).getChannel())); in Scanner()
683 this(makeReadable((ReadableByteChannel)(new FileInputStream(source).getChannel()), dec)); in Scanner()
699 private static Readable makeReadable(ReadableByteChannel source, in makeReadable()
722 public Scanner(ReadableByteChannel source) { in Scanner()
727 private static Readable makeReadable(ReadableByteChannel source) { in makeReadable()
742 public Scanner(ReadableByteChannel source, String charsetName) { in Scanner()
/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;
265 s = new Scanner((ReadableByteChannel) null); in test_ConstructorLjava_nio_channels_ReadableByteChannel()
313 s = new Scanner((ReadableByteChannel) null, null); in test_ConstructorLjava_nio_channels_ReadableByteChannelLjava_lang_String()
320 s = new Scanner((ReadableByteChannel) null, "invalid"); in test_ConstructorLjava_nio_channels_ReadableByteChannelLjava_lang_String()
/libcore/
Dopenjdk_java_files.mk372 ojluni/src/main/java/java/nio/channels/ReadableByteChannel.java \