Searched refs:StandardOpenOption (Results 1 – 16 of 16) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 39 import java.nio.file.StandardOpenOption; 62 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_create() 76 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_existing() 80 AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE_NEW); in testOpen_existing() 83 AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE_NEW, in testOpen_existing() 84 StandardOpenOption.WRITE); in testOpen_existing() 90 channel = AsynchronousFileChannel.open(newFile, StandardOpenOption.CREATE, in testOpen_existing() 91 StandardOpenOption.WRITE); in testOpen_existing() 101 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.READ); in testOpen_nonexistent() 107 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/ojluni/src/test/java/nio/MappedByteBuffer/ |
D | ForceViews.java | 39 import static java.nio.file.StandardOpenOption.*;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahChronology.java | 71 import java.nio.file.StandardOpenOption; 846 StandardOpenOption.READ); in readConfigProperties()
|
/libcore/api/ |
D | current.txt | 7543 public enum StandardOpenOption implements java.nio.file.OpenOption { 7544 enum_constant public static final java.nio.file.StandardOpenOption APPEND; 7545 enum_constant public static final java.nio.file.StandardOpenOption CREATE; 7546 enum_constant public static final java.nio.file.StandardOpenOption CREATE_NEW; 7547 enum_constant public static final java.nio.file.StandardOpenOption DELETE_ON_CLOSE; 7548 enum_constant public static final java.nio.file.StandardOpenOption DSYNC; 7549 enum_constant public static final java.nio.file.StandardOpenOption READ; 7550 enum_constant public static final java.nio.file.StandardOpenOption SPARSE; 7551 enum_constant public static final java.nio.file.StandardOpenOption SYNC; 7552 enum_constant public static final java.nio.file.StandardOpenOption TRUNCATE_EXISTING; [all …]
|
/libcore/ |
D | openjdk_java_files.bp | 511 "ojluni/src/main/java/java/nio/file/StandardOpenOption.java",
|
D | EXPECTED_UPSTREAM | 500 …main/java/java/nio/file/StandardOpenOption.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/j…
|