Home
last modified time | relevance | path

Searched refs:CREATE (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DStandardOpenOption.java68 CREATE, enumConstant
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java62 import static java.nio.file.StandardOpenOption.CREATE;
408 openOptions.add(CREATE); in test_newFileChannel()
421 openOptions.add(CREATE); in test_newFileChannel()
520 new Object[] { EnumSet.of(CREATE, READ) }, in parameters_test_newFileChannel_NoSuchFileException()
521 new Object[] { EnumSet.of(CREATE, TRUNCATE_EXISTING) }, in parameters_test_newFileChannel_NoSuchFileException()
522 new Object[] { EnumSet.of(CREATE, READ) }, in parameters_test_newFileChannel_NoSuchFileException()
541 openOptions.add(CREATE); in test_newFileChannel_withFileAttributes()
554 openOptions.add(CREATE); in test_newFileChannel_withFileAttributes()
DDefaultFileSystemProviderTest.java57 import static java.nio.file.StandardOpenOption.CREATE;
229 try (OutputStream os = provider.newOutputStream(filesSetup.getDataFilePath(), CREATE)) { in test_newOutputStream_openOption_CREATE() argument
240 try (OutputStream os = provider.newOutputStream(filesSetup.getTestPath(), CREATE)) { in test_newOutputStream_openOption_CREATE() argument
270 try (OutputStream os = provider.newOutputStream(filesSetup.getTestPath(), CREATE, SYNC); in test_newOutputStream_openOption_SYNC() argument
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousFileChannelTest.java60 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_create()
74 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_existing()
88 channel = AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE, in testOpen_existing()
116 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.CREATE); in testOpen_nonexistent()
122 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.CREATE, in testOpen_nonexistent()
690 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testForce()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java424 opts.add(StandardOpenOption.CREATE); in newOutputStream()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixChannelFactory.java77 case CREATE : flags.create = true; break; in toFlags()
/libcore/api/
Dcurrent.txt6886 enum_constant public static final java.nio.file.StandardOpenOption CREATE;