Home
last modified time | relevance | path

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

/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;
709 private long transferFromArbitraryChannel(ReadableByteChannel src, in transferFromArbitraryChannel()
745 public 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;
3173 public long transferFrom(ReadableByteChannel arg0, long arg1, long arg2) in transferFrom()
/libcore/ojluni/src/main/java/java/nio/channels/
DByteChannel.java42 extends ReadableByteChannel, WritableByteChannel
DReadableByteChannel.java48 public interface ReadableByteChannel extends Channel { interface
DScatteringByteChannel.java50 extends ReadableByteChannel
DChannels.java124 public static InputStream newInputStream(ReadableByteChannel ch) { in newInputStream()
347 public static ReadableByteChannel newChannel(final InputStream in) {
360 implements ReadableByteChannel
498 public static Reader newReader(ReadableByteChannel ch,
535 public static Reader newReader(ReadableByteChannel ch,
DPipe.java61 implements ReadableByteChannel, ScatteringByteChannel
DFileChannel.java686 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.java620 this((ReadableByteChannel)(new FileInputStream(source).getChannel())); in Scanner()
644 this(makeReadable((ReadableByteChannel)(new FileInputStream(source).getChannel()), dec)); in Scanner()
660 private static Readable makeReadable(ReadableByteChannel source, in makeReadable()
726 public Scanner(ReadableByteChannel source) { in Scanner()
731 private static Readable makeReadable(ReadableByteChannel source) { in makeReadable()
746 public Scanner(ReadableByteChannel source, String charsetName) { in Scanner()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileStore.java259 try (ReadableByteChannel rbc = Files.newByteChannel(file)) { in loadProperties()
/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, 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/
Dopenjdk_java_files.bp418 "ojluni/src/main/java/java/nio/channels/ReadableByteChannel.java",