Home
last modified time | relevance | path

Searched refs:TRUNCATE_EXISTING (Results 1 – 8 of 8) 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/ojluni/src/main/java/sun/nio/fs/
DUnixChannelFactory.java76 case TRUNCATE_EXISTING : flags.truncateExisting = true; break; in toFlags()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousFileChannelTest.java172 StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE); in testOpen_truncate()
/libcore/api/
Dcurrent.txt7552 enum_constant public static final java.nio.file.StandardOpenOption TRUNCATE_EXISTING;