Searched refs:TRUNCATE_EXISTING (Results 1 – 6 of 6) 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/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 170 StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE); in testOpen_truncate()
|