Searched refs:ReadableByteChannel (Results 1 – 17 of 17) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ChannelInputStream.java | 48 public static int read(ReadableByteChannel ch, ByteBuffer bb, in read() 70 protected final ReadableByteChannel ch; 75 public ChannelInputStream(ReadableByteChannel ch) { in ChannelInputStream()
|
D | FileChannelImpl.java | 44 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/ |
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; 3173 public long transferFrom(ReadableByteChannel arg0, long arg1, long arg2) in transferFrom()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | ByteChannel.java | 42 extends ReadableByteChannel, WritableByteChannel
|
D | ReadableByteChannel.java | 48 public interface ReadableByteChannel extends Channel { interface
|
D | ScatteringByteChannel.java | 50 extends ReadableByteChannel
|
D | Channels.java | 124 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,
|
D | Pipe.java | 61 implements ReadableByteChannel, ScatteringByteChannel
|
D | FileChannel.java | 686 public abstract long transferFrom(ReadableByteChannel src, in transferFrom()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamDecoder.java | 94 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/ |
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 | 620 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/ |
D | UnixFileStore.java | 259 try (ReadableByteChannel rbc = Files.newByteChannel(file)) { in loadProperties()
|
/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; 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/ |
D | openjdk_java_files.bp | 418 "ojluni/src/main/java/java/nio/channels/ReadableByteChannel.java",
|