Searched refs:truncate (Results 1 - 25 of 37) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaNioAccess.java54 void truncate(Buffer buf); method in interface:JavaNioAccess
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DSeekableByteChannel.java41 * decreases when it is {@link #truncate <i>truncated</i>}.
43 * <p> The {@link #position(long) position} and {@link #truncate truncate} methods
167 SeekableByteChannel truncate(long size) throws IOException; method in interface:SeekableByteChannel
H A DAsynchronousFileChannel.java47 * when it is {@link #truncate truncated}.
340 public abstract AsynchronousFileChannel truncate(long size) throws IOException; method in class:AsynchronousFileChannel
H A DFileChannel.java49 * decreases when it is {@link #truncate </code><i>truncated</i><code>}. The
503 public abstract FileChannel truncate(long size) throws IOException; method in class:FileChannel
/openjdk7/jdk/src/share/classes/java/sql/
H A DBlob.java266 void truncate(long len) throws SQLException; method in interface:Blob
H A DClob.java309 void truncate(long len) throws SQLException; method in interface:Clob
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DFileDispatcher.java39 abstract int truncate(FileDescriptor fd, long size) throws IOException; method in class:FileDispatcher
H A DSimpleAsynchronousFileChannelImpl.java126 public AsynchronousFileChannel truncate(long size) throws IOException { method in class:SimpleAsynchronousFileChannelImpl
140 // truncate file if 'size' less than current size
143 n = nd.truncate(fdObj, size);
/openjdk7/jdk/test/sun/security/util/BitArray/
H A DNamedBitList.java79 ba = ba.truncate();
87 ba = ba.truncate();
96 ba = ba.truncate();
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTruncate.java26 * @summary Test truncate method of FileChannel
37 * Testing FileChannel's truncate method.
55 * Basic test of asserts in truncate's specification.
73 fc.truncate(newSize);
90 * Test behavior of truncate method when file is opened for append
100 // truncate file
102 fc.truncate(newSize);
/openjdk7/jdk/test/java/nio/MappedByteBuffer/
H A DTruncate.java51 fc.truncate(TRUNCATED_FILE_SIZE);
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DBasic.java86 ch.truncate(0L);
119 ch.truncate(0L);
485 // exercise truncate method
496 // attempt to truncate to a size greater than the current size
497 if (ch.truncate(size + 1L).size() != size)
500 // truncate file
501 if (ch.truncate(size - 1L).size() != (size - 1L))
506 ch.truncate(-1L);
516 ch.truncate(0L);
524 ch.truncate(
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DItems.java244 int typecode1 = Code.truncate(typecode);
245 int targetcode1 = Code.truncate(targetcode);
390 code.emitop0(iload_0 + Code.truncate(typecode) * 4 + reg);
392 code.emitop1w(iload + Code.truncate(typecode), reg);
398 code.emitop0(istore_0 + Code.truncate(typecode) * 4 + reg);
400 code.emitop1w(istore + Code.truncate(typecode), reg);
611 if (Code.truncate(typecode) == INTcode)
/openjdk7/hotspot/src/share/vm/utilities/
H A Darray.hpp226 void truncate(const int length) { \
265 void clear() { truncate(0); } \
266 void trunc_to(const int length) { truncate(length); } \
/openjdk7/jdk/src/share/classes/java/nio/
H A DBuffer.java546 final void truncate() { // package-private method in class:Buffer
/openjdk7/langtools/test/tools/javac/6567415/
H A DT6567415.java104 wfc.truncate(BAD_FILE_LENGTH);
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DFileDispatcherImpl.java79 int truncate(FileDescriptor fd, long size) throws IOException { method in class:FileDispatcherImpl
/openjdk7/jdk/test/javax/imageio/plugins/png/
H A DItxtUtf8Test.java33 * @run main/othervm/timeout=10 -Xmx2m ItxtUtf8Test truncate
126 if (argList.contains("truncate")) {
140 public static void runTest(boolean dump, boolean truncate) argument
185 if (truncate)
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSerialBlob.java51 * and to update or truncate a <code>Blob</code> object.
402 * or the length to truncate is greater that the SerialBlob length
404 public void truncate(long length) throws SerialException { method in class:SerialBlob
H A DSerialClob.java491 public void truncate(long length) throws SerialException { method in class:SerialClob
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DFileDispatcherImpl.java91 int truncate(FileDescriptor fd, long size) throws IOException { method in class:FileDispatcherImpl
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DBitArray.java266 public BitArray truncate() { method in class:BitArray
H A DDerValue.java270 buffer.truncate(length);
279 buffer.truncate(length);
/openjdk7/jdk/test/java/nio/file/Files/
H A DSBC.java198 // re-open with truncate option
209 // re-open with create + truncate option
249 // test size/truncate/position methods
262 // truncate (size and position should change)
263 sbc.truncate(4L);
269 // truncate (position should not change)
270 sbc.position(2L).truncate(3L);
/openjdk7/jdk/src/share/classes/sun/rmi/log/
H A DReliableLog.java532 * @param truncate if true and file exists, file is truncated to zero
536 private void openLogFile(boolean truncate) throws IOException { argument
553 if (truncate) {
695 openLogFile(true); // create and truncate

Completed in 397 milliseconds

12