Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousFileChannelTest.java37 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 …]
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/
Dopenjdk_java_files.mk482 ojluni/src/main/java/java/nio/file/StandardOpenOption.java \