Searched refs:TRUNCATE_EXISTING (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/file/ |
D | StandardOpenOption.java | 59 TRUNCATE_EXISTING, enumConstant
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProvider2Test.java | 64 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 478 openOptions.add(TRUNCATE_EXISTING); in test_newFileChannel() 518 new Object[] { EnumSet.of(TRUNCATE_EXISTING) }, in parameters_test_newFileChannel_NoSuchFileException() 521 new Object[] { EnumSet.of(CREATE, TRUNCATE_EXISTING) }, in parameters_test_newFileChannel_NoSuchFileException()
|
D | DefaultFileSystemProviderTest.java | 64 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 118 CREATE_NEW, TRUNCATE_EXISTING, SPARSE, SYNC, DSYNC)) { in test_newInputStream_openOption() argument 188 TRUNCATE_EXISTING)) { in test_newOutputStream_openOption_TRUNCATE() argument 198 TRUNCATE_EXISTING)) { in test_newOutputStream_openOption_TRUNCATE() argument
|
D | Files2Test.java | 76 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 1565 Files.write(filesSetup.getDataFilePath(), TEST_FILE_DATA_2.getBytes(), TRUNCATE_EXISTING); in test_write$Path$byte$OpenOption_OpenOption() local
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 425 opts.add(StandardOpenOption.TRUNCATE_EXISTING); in newOutputStream()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixChannelFactory.java | 76 case TRUNCATE_EXISTING : flags.truncateExisting = true; break; in toFlags()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 172 StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE); in testOpen_truncate()
|
/libcore/api/ |
D | current.txt | 7552 enum_constant public static final java.nio.file.StandardOpenOption TRUNCATE_EXISTING;
|