Home
last modified time | relevance | path

Searched refs:StandardOpenOption (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousFileChannelTest.java39 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 …]
DFileChannelTest.java19 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/
DFileSystemProvider.java379 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/
DStandardOpenOption.java34 public enum StandardOpenOption implements OpenOption { enum
DFiles.java630 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/
DDefaultFileSystemProviderTest.java56 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;
DDefaultFileSystemProvider2Test.java40 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()
DFilesTest.java49 import static java.nio.file.StandardOpenOption.APPEND;
50 import static java.nio.file.StandardOpenOption.READ;
DFiles2Test.java72 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/
DFileHandler.java29 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/
DUnixChannelFactory.java71 if (option instanceof StandardOpenOption) { in toFlags()
72 switch ((StandardOpenOption)option) { in toFlags()
/libcore/ojluni/src/test/java/nio/MappedByteBuffer/
DForceViews.java39 import static java.nio.file.StandardOpenOption.*;
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahChronology.java71 import java.nio.file.StandardOpenOption;
846 StandardOpenOption.READ); in readConfigProperties()
/libcore/api/
Dcurrent.txt7543 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/
Dopenjdk_java_files.bp511 "ojluni/src/main/java/java/nio/file/StandardOpenOption.java",
DEXPECTED_UPSTREAM500 …main/java/java/nio/file/StandardOpenOption.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/j…