Home
last modified time | relevance | path

Searched refs:CREATE_NEW (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DStandardOpenOption.java76 CREATE_NEW, enumConstant
DFiles.java631 EnumSet.<StandardOpenOption>of(StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE);
3016 ostream = newOutputStream(target, StandardOpenOption.CREATE_NEW,
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java30 import static java.nio.file.StandardOpenOption.CREATE_NEW;
461 CREATE_NEW, WRITE); in openFiles()
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProviderTest.java58 import static java.nio.file.StandardOpenOption.CREATE_NEW;
118 CREATE_NEW, TRUNCATE_EXISTING, SPARSE, SYNC, DSYNC)) { in test_newInputStream_openOption() argument
252 try (OutputStream os = provider.newOutputStream(filesSetup.getDataFilePath(), CREATE_NEW)) { in test_newOutputStream_openOption_CREATE_NEW() argument
258 try (OutputStream os = provider.newOutputStream(filesSetup.getTestPath(), CREATE_NEW)) { in test_newOutputStream_openOption_CREATE_NEW() argument
DFiles2Test.java73 import static java.nio.file.StandardOpenOption.CREATE_NEW;
1561 Files.write(filesSetup.getTestPath(), TEST_FILE_DATA_2.getBytes(), CREATE_NEW); in test_write$Path$byte$OpenOption_OpenOption() local
1583 Files.write(null, TEST_FILE_DATA_2.getBytes(), CREATE_NEW); in test_write$Path$byte$OpenOption_NPE()
1588 Files.write(filesSetup.getTestPath(), (byte[]) null, CREATE_NEW); in test_write$Path$byte$OpenOption_NPE() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousFileChannelTest.java80 AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE_NEW); in testOpen_existing()
83 AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE_NEW, in testOpen_existing()
131 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.CREATE_NEW); in testOpen_nonexistent()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixChannelFactory.java78 case CREATE_NEW : flags.createNew = true; break; in toFlags()
/libcore/api/
Dcurrent.txt7414 enum_constant public static final java.nio.file.StandardOpenOption CREATE_NEW;