/libcore/ojluni/src/test/java/io/InputStream/ |
D | TransferTo.java | 49 assertThrowsNPE(() -> in.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 53 assertThrowsNPE(() -> in.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 57 assertThrowsNPE(() -> in.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 65 assertThrowsNPE(() -> fin.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 98 in.transferTo(out); in transferToThenCheckIfAnyClosed() 119 in.transferTo(out); in onReturnNeitherStreamIsClosed() 132 in.transferTo(out); in onReturnInputIsAtEnd() 152 in.transferTo(out); in checkTransferredContents()
|
D | NullInputStream.java | 166 assertEquals(0, openStream.transferTo(new ByteArrayOutputStream(7)), in testTransferTo() 248 closedStream.transferTo(new ByteArrayOutputStream(7)); in testTransferToClosed()
|
/libcore/ojluni/src/test/java/io/Reader/ |
D | TransferTo.java | 50 assertThrowsNPE(() -> in.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 54 assertThrowsNPE(() -> in.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 58 assertThrowsNPE(() -> in.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 66 assertThrowsNPE(() -> fin.transferTo(null), "out"); in ifOutIsNullThenNpeIsThrown() 99 in.transferTo(out); in transferToThenCheckIfAnyClosed() 120 in.transferTo(out); in onReturnNeitherStreamIsClosed() 133 in.transferTo(out); in onReturnInputIsAtEnd() 153 in.transferTo(out); in checkTransferredContents()
|
D | NullReader.java | 111 assertEquals(0, openReader.transferTo(new StringWriter(7)), in testTransferTo() 149 closedReader.transferTo(new StringWriter(7)); in testTransferToClosed()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileChannelTest.java | 2707 readOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2713 writeOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2720 readWriteFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2727 writeOnlyFileChannel.transferTo(-1, 0, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2741 readOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Closed() 2749 writeOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Closed() 2757 readWriteFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Closed() 2765 readWriteFileChannel.transferTo(0, -1, writableByteChannel); in test_transferToJJLWritableByteChannel_Closed() 2777 readOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_SourceClosed() 2783 writeOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_SourceClosed() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | Reader.java | 129 public long transferTo(Writer out) throws IOException { in nullReader() method 379 public long transferTo(Writer out) throws IOException { in transferTo() method
|
D | InputStream.java | 155 public long transferTo(OutputStream out) throws IOException { in nullInputStream() method 777 public long transferTo(OutputStream out) throws IOException { in transferTo() method
|
D | ByteArrayInputStream.java | 202 public synchronized long transferTo(OutputStream out) throws IOException { in transferTo() method in ByteArrayInputStream
|
/libcore/ojluni/src/test/java/io/ByteArrayInputStream/ |
D | ReadAllReadNTransferTo.java | 82 if (bais.transferTo(baos) != buf.length) { in testRead()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileChannel.java | 629 public abstract long transferTo(long position, long count, in transferTo() method in FileChannel
|
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/ |
D | FileChannelImpl.java | 139 public long transferTo(long position, long count, java.nio.channels.WritableByteChannel target) in transferTo() method in FileChannelImpl
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldFileChannelTest.java | 1057 readOnlyFileChannel.transferTo(10, -1, writableByteChannel); in test_transferToJJLWritableByteChannel_IllegalArgument() 1064 readWriteFileChannel.transferTo(-1, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_IllegalArgument()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 983 is.transferTo(baos); in executeClientRequest()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileChannelImpl.java | 633 public long transferTo(long position, long count, in transferTo() method in FileChannelImpl
|
/libcore/api/ |
D | current.txt | 1725 method public long transferTo(java.io.OutputStream) throws java.io.IOException; 2192 method public long transferTo(java.io.Writer) throws java.io.IOException; 6769 …method public abstract long transferTo(long, long, java.nio.channels.WritableByteChannel) throws j…
|