Searched defs:truncate (Results 1 - 20 of 20) sorted by relevance

/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/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/sun/misc/
H A DJavaNioAccess.java54 void truncate(Buffer buf); method in interface:JavaNioAccess
/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);
H A DFileChannelImpl.java318 public FileChannel truncate(long size) throws IOException { method in class:FileChannelImpl
344 // truncate file
346 rv = nd.truncate(fd, size);
856 rv = nd.truncate(fd, position + size);
/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/share/classes/sun/security/util/
H A DBitArray.java266 public BitArray truncate() { method in class:BitArray
H A DDerInputBuffer.java123 void truncate(int len) throws IOException { method in class:DerInputBuffer
/openjdk7/jdk/src/share/classes/java/nio/
H A DBuffer.java546 final void truncate() { // package-private method in class:Buffer
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DFileDispatcherImpl.java91 int truncate(FileDescriptor fd, long size) throws IOException { method in class:FileDispatcherImpl
H A DWindowsAsynchronousFileChannelImpl.java65 // Used for force/truncate/size methods
185 public AsynchronousFileChannel truncate(long size) throws IOException { method in class:WindowsAsynchronousFileChannelImpl
194 nd.truncate(fdObj, size);
/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/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
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCode.java251 public static int truncate(int tc) { method in class:Code

Completed in 79 milliseconds