/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
|
/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 115 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()
|
/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()
|
D | TEST_MAPPING | 5 "options": [ 22 "options": [
|
/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 | 63 options = new HashMap<>(); field in Sockets 339 Set<SocketOption<?>> set = options.get(socketType); in supportedOptions() 347 Set<SocketOption<?>> options = supportedOptions(type); in isSupported() local 348 return options.contains(option); in isSupported() 368 options.put(Socket.class, set); in initOptionSets() 377 options.put(ServerSocket.class, set); in initOptionSets() 390 options.put(DatagramSocket.class, set); in initOptionSets() 406 options.put(MulticastSocket.class, set); in initOptionSets()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/ojluni/src/main/java/java/awt/font/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/libart/src/main/java/java/lang/invoke/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/ojluni/src/main/java/java/time/ |
D | TEST_MAPPING | 5 "options": [ 15 "options": [
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/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/java/java/util/ |
D | TEST_MAPPING | 5 "options": [ 18 "options": [
|