Searched refs:ReadableByteChannel (Results 1 – 16 of 16) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ChannelInputStream.java | 54 public static int read(ReadableByteChannel ch, ByteBuffer bb) in read() 77 protected final ReadableByteChannel ch; 82 public ChannelInputStream(ReadableByteChannel ch) { in ChannelInputStream()
|
D | FileChannelImpl.java | 637 private long transferFromArbitraryChannel(ReadableByteChannel src, in transferFromArbitraryChannel() 673 public long transferFrom(ReadableByteChannel src, in transferFrom()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Channels.java | 124 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()
|
D | ByteChannel.java | 42 extends ReadableByteChannel, WritableByteChannel
|
D | ReadableByteChannel.java | 48 public interface ReadableByteChannel extends Channel { interface
|
D | ScatteringByteChannel.java | 50 extends ReadableByteChannel
|
D | Pipe.java | 62 implements ReadableByteChannel, ScatteringByteChannel
|
D | FileChannel.java | 508 public abstract long transferFrom(ReadableByteChannel src, in transferFrom()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ChannelsTest.java | 32 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 …]
|
D | FileChannelTest.java | 40 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/ |
D | StreamDecoder.java | 93 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/ |
D | InterruptedStreamTest.java | 33 import java.nio.channels.ReadableByteChannel; 142 private void testInterruptReadableChannel(final ReadableByteChannel channel) throws Exception { in testInterruptReadableChannel()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 659 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/ |
D | OldFileChannelTest.java | 34 import java.nio.channels.ReadableByteChannel;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 45 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/ |
D | openjdk_java_files.mk | 372 ojluni/src/main/java/java/nio/channels/ReadableByteChannel.java \
|