/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 149 public static InputStream newInputStream(Path path, OpenOption... options) 152 return provider(path).newInputStream(path, options); 213 public static OutputStream newOutputStream(Path path, OpenOption... options) 216 return provider(path).newOutputStream(path, options); 357 Set<? extends OpenOption> options, 361 return provider(path).newByteChannel(path, options, attrs); 402 public static SeekableByteChannel newByteChannel(Path path, OpenOption... options) 405 Set<OpenOption> set = new HashSet<OpenOption>(options.length); 406 Collections.addAll(set, options); 630 EnumSet<StandardOpenOption> options = [all …]
|
D | CopyMoveHelper.java | 50 static CopyOptions parse(CopyOption... options) { in parse() argument 52 for (CopyOption option: options) { in parse() 78 private static CopyOption[] convertMoveToCopyOptions(CopyOption... options) in convertMoveToCopyOptions() argument 81 int len = options.length; in convertMoveToCopyOptions() 84 CopyOption option = options[i]; in convertMoveToCopyOptions() 101 CopyOption... options) in copyToForeignTarget() argument 104 CopyOptions opts = CopyOptions.parse(options); in copyToForeignTarget() 155 CopyOption... options) throws IOException in moveToForeignTarget() argument 157 copyToForeignTarget(source, target, convertMoveToCopyOptions(options)); in moveToForeignTarget()
|
D | SecureDirectoryStream.java | 97 SecureDirectoryStream<T> newDirectoryStream(T path, LinkOption... options) in newDirectoryStream() argument 149 Set<? extends OpenOption> options, in newByteChannel() argument 311 LinkOption... options); in getFileAttributeView() argument
|
D | FileTreeIterator.java | 68 FileTreeIterator(Path start, int maxDepth, FileVisitOption... options) in FileTreeIterator() argument 71 this.walker = new FileTreeWalker(Arrays.asList(options), maxDepth); in FileTreeIterator()
|
D | Path.java | 580 Path toRealPath(LinkOption... options) throws IOException; in toRealPath() argument
|
D | FileTreeWalker.java | 177 FileTreeWalker(Collection<FileVisitOption> options, int maxDepth) { in FileTreeWalker() argument 179 for (FileVisitOption option: options) { in FileTreeWalker()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 373 public InputStream newInputStream(Path path, OpenOption... options) in newInputStream() argument 376 if (options.length > 0) { in newInputStream() 377 for (OpenOption opt: options) { in newInputStream() 384 return Channels.newInputStream(Files.newByteChannel(path, options)); in newInputStream() 418 public OutputStream newOutputStream(Path path, OpenOption... options) in newOutputStream() argument 421 int len = options.length; in newOutputStream() 427 for (OpenOption opt: options) { in newOutputStream() 472 Set<? extends OpenOption> options, in newFileChannel() argument 520 Set<? extends OpenOption> options, in newAsynchronousFileChannel() argument 566 Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException; in newByteChannel() argument [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileSystemProvider.java | 60 LinkOption... options) in getFileAttributeView() argument 74 return super.getFileAttributeView(obj, type, options); in getFileAttributeView() 80 LinkOption... options) in getFileAttributeView() argument 94 return super.getFileAttributeView(obj, name, options); in getFileAttributeView() 101 LinkOption... options) in readAttributes() argument 114 return super.readAttributes(file, type, options); in readAttributes()
|
D | AbstractFileSystemProvider.java | 64 LinkOption... options); in getFileAttributeView() argument 70 LinkOption... options) in setAttribute() argument 76 DynamicFileAttributeView view = getFileAttributeView(file, s[0], options); in setAttribute() 83 …public final Map<String,Object> readAttributes(Path file, String attributes, LinkOption... options) in readAttributes() argument 89 DynamicFileAttributeView view = getFileAttributeView(file, s[0], options); in readAttributes()
|
D | UnixFileSystemProvider.java | 113 LinkOption... options) in getFileAttributeView() argument 116 boolean followLinks = Util.followLinks(options); in getFileAttributeView() 132 LinkOption... options) in readAttributes() argument 144 return (A) getFileAttributeView(file, view, options).readAttributes(); in readAttributes() 150 LinkOption... options) in getFileAttributeView() argument 153 boolean followLinks = Util.followLinks(options); in getFileAttributeView() 167 Set<? extends OpenOption> options, in newFileChannel() argument 175 return UnixChannelFactory.newFileChannel(file, options, mode); in newFileChannel() 184 Set<? extends OpenOption> options, in newAsynchronousFileChannel() argument 194 .newAsynchronousFileChannel(file, options, mode, pool); in newAsynchronousFileChannel() [all …]
|
D | UnixChannelFactory.java | 68 static Flags toFlags(Set<? extends OpenOption> options) { in toFlags() argument 70 for (OpenOption option: options) { in toFlags() 115 Set<? extends OpenOption> options, in newFileChannel() argument 119 Flags flags = Flags.toFlags(options); in newFileChannel() 144 Set<? extends OpenOption> options, in newFileChannel() argument 148 return newFileChannel(-1, path, null, options, mode); in newFileChannel() 155 Set<? extends OpenOption> options, in newAsynchronousFileChannel() argument 160 Flags flags = Flags.toFlags(options); in newAsynchronousFileChannel()
|
D | UnixCopyFile.java | 64 static Flags fromCopyOptions(CopyOption... options) { in fromCopyOptions() argument 67 for (CopyOption option: options) { in fromCopyOptions() 96 static Flags fromMoveOptions(CopyOption... options) { in fromMoveOptions() argument 98 for (CopyOption option: options) { in fromMoveOptions() 372 static void move(UnixPath source, UnixPath target, CopyOption... options) in move() argument 383 Flags flags = Flags.fromMoveOptions(options); in move() 507 CopyOption... options) throws IOException in copy() argument 517 final Flags flags = Flags.fromCopyOptions(options); in copy()
|
D | Util.java | 121 static boolean followLinks(LinkOption... options) { in followLinks() argument 123 for (LinkOption option: options) { in followLinks()
|
D | UnixSecureDirectoryStream.java | 100 LinkOption... options) in newDirectoryStream() argument 105 boolean followLinks = Util.followLinks(options); in newDirectoryStream() 149 Set<? extends OpenOption> options, in newByteChannel() argument 166 return UnixChannelFactory.newFileChannel(dfd, file, pathToCheck, options, mode); in newByteChannel() 313 LinkOption... options) in getFileAttributeView() argument 316 boolean followLinks = Util.followLinks(options); in getFileAttributeView()
|
D | UnixPath.java | 826 public Path toRealPath(LinkOption... options) throws IOException { in toRealPath() argument 832 if (Util.followLinks(options)) { in toRealPath()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXRevocationChecker.java | 103 private Set<Option> options = Collections.emptySet(); field in PKIXRevocationChecker 231 public void setOptions(Set<Option> options) { in setOptions() argument 232 this.options = (options == null) in setOptions() 234 : new HashSet<Option>(options); in setOptions() 244 return Collections.unmodifiableSet(options); in getOptions() 275 copy.options = new HashSet<>(options); in clone()
|
/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 65 public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, in newByteChannel() argument 87 public void copy(Path source, Path target, CopyOption... options) throws IOException { in copy() argument 92 public void move(Path source, Path target, CopyOption... options) throws IOException { in move() argument 118 LinkOption... options) { in getFileAttributeView() argument 124 LinkOption... options) throws IOException { in readAttributes() argument 130 LinkOption... options) throws IOException { in readAttributes() argument 135 public void setAttribute(Path path, String attribute, Object value, LinkOption... options) in setAttribute() argument
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousFileChannel.java | 242 Set<? extends OpenOption> options, in open() argument 248 return provider.newAsynchronousFileChannel(file, options, executor, attrs); in open() 296 public static AsynchronousFileChannel open(Path file, OpenOption... options) in open() argument 299 Set<OpenOption> set = new HashSet<OpenOption>(options.length); in open() 300 Collections.addAll(set, options); in open()
|
D | FileChannel.java | 282 Set<? extends OpenOption> options, in open() argument 287 return provider.newFileChannel(path, options, attrs); in open() 330 public static FileChannel open(Path path, OpenOption... options) in open() argument 333 Set<OpenOption> set = new HashSet<OpenOption>(options.length); in open() 334 Collections.addAll(set, options); in open()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 62 options = new HashMap<>(); field in Sockets 338 Set<SocketOption<?>> set = options.get(socketType); in supportedOptions() 346 Set<SocketOption<?>> options = supportedOptions(type); in isSupported() local 347 return options.contains(option); in isSupported() 367 options.put(Socket.class, set); in initOptionSets() 376 options.put(ServerSocket.class, set); in initOptionSets() 389 options.put(DatagramSocket.class, set); in initOptionSets() 405 options.put(MulticastSocket.class, set); in initOptionSets()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketOptionRegistry.java | 57 static final Map<RegistryKey,OptionKey> options = options(); field in SocketOptionRegistry.LazyInitialization 58 private static Map<RegistryKey,OptionKey> options() { in options() method in SocketOptionRegistry.LazyInitialization 82 return LazyInitialization.options.get(key); in findOption()
|
/libcore/ojluni/src/main/native/ |
D | LinuxNativeDispatcher.c | 185 char* options; in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent() local 193 options = m->mnt_opts; in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent() 216 len = strlen(options); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent() 220 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)options); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | RevocationChecker.java | 110 Set<Option> options = getOptions(); in init() local 111 for (Option option : options) { in init() 123 softFail = options.contains(Option.SOFT_FAIL); in init() 130 if (options.contains(Option.NO_FALLBACK)) { in init() 131 if (options.contains(Option.PREFER_CRLS)) { in init() 136 } else if (options.contains(Option.PREFER_CRLS)) { in init() 139 onlyEE = options.contains(Option.ONLY_END_ENTITY); in init()
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | default.cnf | 101 name_opt = ca_default # Subject Name options 102 cert_opt = ca_default # Certificate field options
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 191 … waitpid(int pid, MutableInt status, int options) throws ErrnoException { return os.waitpid(pid, s… in waitpid() argument
|