/libcore/ojluni/src/main/java/java/util/stream/ |
D | Node.java | 122 default Node<T> truncate(long from, long to, IntFunction<T[]> generator) { in truncate() method 254 T_NODE truncate(long from, long to, IntFunction<T[]> generator); in truncate() method 357 default Node.OfInt truncate(long from, long to, IntFunction<Integer[]> generator) { in truncate() method 430 default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator) { in truncate() method 505 default Node.OfDouble truncate(long from, long to, IntFunction<Double[]> generator) { in truncate() method
|
D | Nodes.java | 817 public Node<T> truncate(long from, long to, IntFunction<T[]> generator) { in truncate() method in Nodes.ConcNode 822 return right.truncate(from - leftCount, to - leftCount, generator); in truncate() 824 return left.truncate(from, to, generator); in truncate() 826 return Nodes.conc(getShape(), left.truncate(from, leftCount, generator), in truncate() 827 right.truncate(0, to - leftCount, generator)); in truncate()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SeekableByteChannel.java | 167 SeekableByteChannel truncate(long size) throws IOException; in truncate() method
|
D | AsynchronousFileChannel.java | 341 public abstract AsynchronousFileChannel truncate(long size) throws IOException; in truncate() method in AsynchronousFileChannel
|
D | FileChannel.java | 504 public abstract FileChannel truncate(long size) throws IOException; in truncate() method in FileChannel
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 593 afc.truncate(16); in testSize() 605 afc.truncate(128); in testTruncate() 609 afc.truncate(0); in testTruncate() 614 afc.truncate(128); in testTruncate() 619 afc.truncate(-1); in testTruncate() 630 afc.truncate(128); in testTruncate() 636 afc.truncate(384); in testTruncate()
|
D | FileChannelTest.java | 170 fc.truncate(truncateArg); // Should not affect the file size, but should move the position. in test_truncate_greaterThanSizeWithPositionChange() 192 fc.truncate(truncateArg); in test_truncate_greaterThanSizeWithoutPositionChange() 212 fc.truncate(truncateArg); in test_truncate_lessThanSizeWithPositionChange() 232 fc.truncate(truncateArg); in test_truncate_lessThanSizeWithoutPositionChange()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Blob.java | 266 void truncate(long len) throws SQLException; in truncate() method
|
D | Clob.java | 309 void truncate(long len) throws SQLException; in truncate() method
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileDispatcher.java | 41 abstract int truncate(FileDescriptor fd, long size) throws IOException; in truncate() method in FileDispatcher
|
D | SimpleAsynchronousFileChannelImpl.java | 125 public AsynchronousFileChannel truncate(long size) throws IOException { in truncate() method in SimpleAsynchronousFileChannelImpl 142 n = nd.truncate(fdObj, size); in truncate()
|
D | FileDispatcherImpl.java | 98 int truncate(FileDescriptor fd, long size) throws IOException { in truncate() method in FileDispatcherImpl
|
D | FileChannelImpl.java | 370 public FileChannel truncate(long newSize) throws IOException { in truncate() method in FileChannelImpl 406 rv = nd.truncate(fd, newSize); in truncate() 957 rv = nd.truncate(fd, position + size); in map()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | BitArray.java | 93 public sun.security.util.BitArray truncate() { in truncate() method in BitArray
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | Buffer.java | 124 final void truncate() { in truncate() method in Buffer
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Buffer.java | 573 final void truncate() { // package-private in truncate() method in Buffer
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileChannelTest.java | 509 readOnlyFileChannel.truncate(0); in test_truncateJ_Closed() 517 writeOnlyFileChannel.truncate(0); in test_truncateJ_Closed() 525 readWriteFileChannel.truncate(-1); in test_truncateJ_Closed() 538 readOnlyFileChannel.truncate(-1); in test_truncateJ_IllegalArgument() 545 writeOnlyFileChannel.truncate(-1); in test_truncateJ_IllegalArgument() 552 readWriteFileChannel.truncate(-1); in test_truncateJ_IllegalArgument() 565 readOnlyFileChannel.truncate(readOnlyFileChannel.size()); in test_truncateJ_ReadOnly() 572 readOnlyFileChannel.truncate(0); in test_truncateJ_ReadOnly() 586 assertEquals(readWriteFileChannel, readWriteFileChannel.truncate(truncateLength)); in test_truncateJ() 591 .truncate(truncateLength)); in test_truncateJ() [all …]
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | BitArray.java | 266 public BitArray truncate() { in truncate() method in BitArray
|
D | DerValue.java | 281 buffer.truncate(length); in DerValue() 290 buffer.truncate(length); in DerValue()
|
D | DerOutputStream.java | 266 putUnalignedBitString(ba.truncate()); in putTruncatedUnalignedBitString()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | NodeTest.java | 148 Node<Integer> slice = n.truncate(start, end, Integer[]::new); in testTruncate()
|
D | LongNodeTest.java | 172 Node.OfLong slice = n.truncate(start, end, Long[]::new); in testTruncate()
|
D | IntNodeTest.java | 171 Node.OfInt slice = n.truncate(start, end, Integer[]::new); in testTruncate()
|
D | DoubleNodeTest.java | 173 Node.OfDouble slice = n.truncate(start, end, Double[]::new); in testTruncate()
|
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/ |
D | FileChannelImpl.java | 104 public java.nio.channels.FileChannel truncate(long newSize) throws java.io.IOException { in truncate() method in FileChannelImpl
|