Searched refs:CREATE_NEW (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/file/ |
D | StandardOpenOption.java | 76 CREATE_NEW, enumConstant
|
D | Files.java | 631 EnumSet.<StandardOpenOption>of(StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE); 3016 ostream = newOutputStream(target, StandardOpenOption.CREATE_NEW,
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 30 import static java.nio.file.StandardOpenOption.CREATE_NEW; 461 CREATE_NEW, WRITE); in openFiles()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProviderTest.java | 58 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
|
D | Files2Test.java | 73 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/ |
D | AsynchronousFileChannelTest.java | 80 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/ |
D | UnixChannelFactory.java | 78 case CREATE_NEW : flags.createNew = true; break; in toFlags()
|
/libcore/api/ |
D | current.txt | 7414 enum_constant public static final java.nio.file.StandardOpenOption CREATE_NEW;
|