/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 373 public InputStream newInputStream(Path path, OpenOption... options) in newInputStream() 377 for (OpenOption opt: options) { in newInputStream() 418 public OutputStream newOutputStream(Path path, OpenOption... options) in newOutputStream() 422 Set<OpenOption> opts = new HashSet<OpenOption>(len + 3); in newOutputStream() 427 for (OpenOption opt: options) { in newOutputStream() 472 Set<? extends OpenOption> options, in newFileChannel() 520 Set<? extends OpenOption> options, in newAsynchronousFileChannel() 566 Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException; in newByteChannel()
|
/libcore/ojluni/src/main/java/com/sun/nio/file/ |
D | ExtendedOpenOption.java | 28 import java.nio.file.OpenOption; 37 public enum ExtendedOpenOption implements OpenOption {
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousFileChannel.java | 242 Set<? extends OpenOption> options, in open() 296 public static AsynchronousFileChannel open(Path file, OpenOption... options) in open() 299 Set<OpenOption> set = new HashSet<OpenOption>(options.length); in open()
|
D | FileChannel.java | 282 Set<? extends OpenOption> options, in open() 330 public static FileChannel open(Path path, OpenOption... options) in open() 333 Set<OpenOption> set = new HashSet<OpenOption>(options.length); in open()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixChannelFactory.java | 68 static Flags toFlags(Set<? extends OpenOption> options) { in toFlags() 70 for (OpenOption option: options) { in toFlags() 115 Set<? extends OpenOption> options, in newFileChannel() 144 Set<? extends OpenOption> options, in newFileChannel() 155 Set<? extends OpenOption> options, in newAsynchronousFileChannel()
|
D | UnixFileSystemProvider.java | 167 Set<? extends OpenOption> options, in newFileChannel() 184 Set<? extends OpenOption> options, in newAsynchronousFileChannel() 204 Set<? extends OpenOption> options, in newByteChannel()
|
D | UnixSecureDirectoryStream.java | 154 Set<? extends OpenOption> options, in newByteChannel()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FilesSetup.java | 33 import java.nio.file.OpenOption; 147 static void writeToFile(Path file, String data, OpenOption... option) throws IOException { in writeToFile() 194 enum NonStandardOption implements CopyOption, OpenOption {
|
D | DefaultFileSystemProviderTest.java | 37 import java.nio.file.OpenOption; 141 (OpenOption[]) null)) { in test_newInputStream_NPE() 284 .newOutputStream(filesSetup.getTestPath(), (OpenOption[]) null)) { in test_newOutputStream_NPE() 291 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel() 326 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel_openOption_WRITE() 362 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel_openOption_WRITE_READ() 388 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel_NPE()
|
D | DefaultSecureDirectoryStreamTest.java | 36 import java.nio.file.OpenOption; 203 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel() 250 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel_NPE()
|
D | DefaultFileSystemProvider2Test.java | 37 import java.nio.file.OpenOption; 403 Set<OpenOption> openOptions = new HashSet<>(); in test_newFileChannel() 504 public void test_newFileChannel_NoSuchFileException(Set<? extends OpenOption> openOptions) in test_newFileChannel_NoSuchFileException() 528 Set<OpenOption> openOptions = new HashSet<>(); in test_newFileChannel_withFileAttributes()
|
D | Files2Test.java | 49 import java.nio.file.OpenOption; 1162 Files.newBufferedWriter(filesSetup.getTestPath(), (OpenOption[]) null); in test_newBufferedWriter$Path$Charset_NPE() 1254 (OpenOption[]) null)) { in test_newByteChannel_NPE() 1554 public void test_write$Path$byte$OpenOption() throws IOException { in test_write$Path$byte$OpenOption() 1593 Files.write(filesSetup.getTestPath(), TEST_FILE_DATA_2.getBytes(), (OpenOption[]) null); in test_write$Path$byte$OpenOption_NPE() 1599 public void test_write$Path$Iterable$Charset$OpenOption() throws IOException { in test_write$Path$Iterable$Charset$OpenOption() 1622 Files.write(filesSetup.getDataFilePath(), new ArrayList<>(), (OpenOption[]) null); in test_write$Path$Iterable$Charset$OpenOption_NPE() 1628 public void test_write$Path$Iterable$OpenOption() throws IOException { in test_write$Path$Iterable$OpenOption() 1807 Set<OpenOption> stubSet = new HashSet<>(); in test_newByteChannel$Path$Set_OpenOption$FileAttributes()
|
D | FilesTest.java | 39 import java.nio.file.OpenOption; 111 HashSet<OpenOption> openOptions = new HashSet<>(); in test_newByteChannel()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | OpenOption.java | 44 public interface OpenOption { interface
|
D | LinkOption.java | 34 public enum LinkOption implements OpenOption, CopyOption {
|
D | StandardOpenOption.java | 34 public enum StandardOpenOption implements OpenOption {
|
D | Files.java | 149 public static InputStream newInputStream(Path path, OpenOption... options) 213 public static OutputStream newOutputStream(Path path, OpenOption... options) 357 Set<? extends OpenOption> options, 402 public static SeekableByteChannel newByteChannel(Path path, OpenOption... options) 405 Set<OpenOption> set = new HashSet<OpenOption>(options.length); 2856 OpenOption... options) 2895 …public static BufferedWriter newBufferedWriter(Path path, OpenOption... options) throws IOExceptio… 3286 public static Path write(Path path, byte[] bytes, OpenOption... options) 3345 Charset cs, OpenOption... options) 3394 OpenOption... options)
|
D | SecureDirectoryStream.java | 149 Set<? extends OpenOption> options, in newByteChannel()
|
/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 28 import java.nio.file.OpenOption; 65 public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, in newByteChannel()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 35 import java.nio.file.OpenOption; 655 Set<OpenOption> openOptions = new HashSet<>(); in testCustomExecutor()
|
/libcore/ |
D | openjdk_java_files.bp | 475 "ojluni/src/main/java/java/nio/file/OpenOption.java",
|