Searched refs:StandardOpenOption (Results 1 – 12 of 12) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 37 import java.nio.file.StandardOpenOption; 60 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_create() 74 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_existing() 78 AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE_NEW); in testOpen_existing() 81 AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE_NEW, in testOpen_existing() 82 StandardOpenOption.WRITE); in testOpen_existing() 88 channel = AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE, in testOpen_existing() 89 StandardOpenOption.WRITE); in testOpen_existing() 99 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.READ); in testOpen_nonexistent() 105 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.WRITE); in testOpen_nonexistent() [all …]
|
D | FileChannelTest.java | 19 import static java.nio.file.StandardOpenOption.READ; 20 import static java.nio.file.StandardOpenOption.WRITE; 34 import java.nio.file.StandardOpenOption; 310 Set<StandardOpenOption> standardOpenOptions = new HashSet<>(); in test_open_Path_Set_FileAttributes() 335 Set<StandardOpenOption> standardOpenOptions = new HashSet<>(); in test_open_Path_OpenOptions()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 379 if (opt == StandardOpenOption.APPEND || in newInputStream() 380 opt == StandardOpenOption.WRITE) in newInputStream() 424 opts.add(StandardOpenOption.CREATE); in newOutputStream() 425 opts.add(StandardOpenOption.TRUNCATE_EXISTING); in newOutputStream() 428 if (opt == StandardOpenOption.READ) in newOutputStream() 433 opts.add(StandardOpenOption.WRITE); in newOutputStream()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | StandardOpenOption.java | 34 public enum StandardOpenOption implements OpenOption { enum
|
D | Files.java | 630 EnumSet<StandardOpenOption> options = 631 EnumSet.<StandardOpenOption>of(StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE); 3016 ostream = newOutputStream(target, StandardOpenOption.CREATE_NEW, 3017 StandardOpenOption.WRITE);
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProviderTest.java | 56 import static java.nio.file.StandardOpenOption.APPEND; 57 import static java.nio.file.StandardOpenOption.CREATE; 58 import static java.nio.file.StandardOpenOption.CREATE_NEW; 59 import static java.nio.file.StandardOpenOption.DELETE_ON_CLOSE; 60 import static java.nio.file.StandardOpenOption.DSYNC; 61 import static java.nio.file.StandardOpenOption.READ; 62 import static java.nio.file.StandardOpenOption.SPARSE; 63 import static java.nio.file.StandardOpenOption.SYNC; 64 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 65 import static java.nio.file.StandardOpenOption.WRITE;
|
D | DefaultFileSystemProvider2Test.java | 40 import java.nio.file.StandardOpenOption; 61 import static java.nio.file.StandardOpenOption.APPEND; 62 import static java.nio.file.StandardOpenOption.CREATE; 63 import static java.nio.file.StandardOpenOption.READ; 64 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 65 import static java.nio.file.StandardOpenOption.WRITE; 515 new Object[] { EnumSet.noneOf(StandardOpenOption.class) }, in parameters_test_newFileChannel_NoSuchFileException()
|
D | FilesTest.java | 49 import static java.nio.file.StandardOpenOption.APPEND; 50 import static java.nio.file.StandardOpenOption.READ;
|
D | Files2Test.java | 72 import static java.nio.file.StandardOpenOption.APPEND; 73 import static java.nio.file.StandardOpenOption.CREATE_NEW; 74 import static java.nio.file.StandardOpenOption.READ; 75 import static java.nio.file.StandardOpenOption.SYNC; 76 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 77 import static java.nio.file.StandardOpenOption.WRITE;
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 29 import static java.nio.file.StandardOpenOption.APPEND; 30 import static java.nio.file.StandardOpenOption.CREATE_NEW; 31 import static java.nio.file.StandardOpenOption.WRITE;
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixChannelFactory.java | 71 if (option instanceof StandardOpenOption) { in toFlags() 72 switch ((StandardOpenOption)option) { in toFlags()
|
/libcore/ |
D | openjdk_java_files.mk | 482 ojluni/src/main/java/java/nio/file/StandardOpenOption.java \
|