Home
last modified time | relevance | path

Searched refs:TRUNCATE_EXISTING (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DStandardOpenOption.java59 TRUNCATE_EXISTING, enumConstant
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java64 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()
DDefaultFileSystemProviderTest.java64 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
DFiles2Test.java76 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/
DFileSystemProvider.java425 opts.add(StandardOpenOption.TRUNCATE_EXISTING); in newOutputStream()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousFileChannelTest.java170 StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE); in testOpen_truncate()