/libcore/ojluni/src/main/java/java/lang/ |
D | StackWalker.java | 300 private final Set<Option> options; field in StackWalker 363 public static StackWalker getInstance(Set<Option> options) { in getInstance() argument 364 if (options.isEmpty()) { in getInstance() 368 EnumSet<Option> optionSet = toEnumSet(options); in getInstance() 400 public static StackWalker getInstance(Set<Option> options, int estimateDepth) { in getInstance() argument 404 EnumSet<Option> optionSet = toEnumSet(options); in getInstance() 410 private StackWalker(EnumSet<Option> options) { in StackWalker() argument 411 this(options, 0, null); in StackWalker() 413 private StackWalker(EnumSet<Option> options, int estimateDepth) { in StackWalker() argument 414 this(options, estimateDepth, null); in StackWalker() [all …]
|
/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/sun/net/ext/ |
D | ExtendedSocketOptions.java | 47 private final Set<SocketOption<?>> options; field in ExtendedSocketOptions 51 return options().contains(option); in isOptionSupported() 55 public final Set<SocketOption<?>> options() { return options; } in options() method in ExtendedSocketOptions 57 public static final Set<SocketOption<?>> options(short type) { in options() method in ExtendedSocketOptions 65 extOptions = options.stream() in options0() 70 extOptions = options.stream() in options0() 89 protected ExtendedSocketOptions(Set<SocketOption<?>> options) { in ExtendedSocketOptions() argument 90 this.options = options; in ExtendedSocketOptions()
|
/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 | 66 LinkOption... options); in getFileAttributeView() argument 72 LinkOption... options) in setAttribute() argument 78 DynamicFileAttributeView view = getFileAttributeView(file, s[0], options); in setAttribute() 85 …public final Map<String,Object> readAttributes(Path file, String attributes, LinkOption... options) in readAttributes() argument 91 DynamicFileAttributeView view = getFileAttributeView(file, s[0], options); in readAttributes()
|
D | UnixFileSystemProvider.java | 119 LinkOption... options) in getFileAttributeView() argument 122 boolean followLinks = Util.followLinks(options); in getFileAttributeView() 138 LinkOption... options) in readAttributes() argument 150 return (A) getFileAttributeView(file, view, options).readAttributes(); in readAttributes() 156 LinkOption... options) in getFileAttributeView() argument 159 boolean followLinks = Util.followLinks(options); in getFileAttributeView() 173 Set<? extends OpenOption> options, in newFileChannel() argument 181 return UnixChannelFactory.newFileChannel(file, options, mode); in newFileChannel() 190 Set<? extends OpenOption> options, in newAsynchronousFileChannel() argument 200 .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() 147 Set<? extends OpenOption> options, in newFileChannel() argument 151 return newFileChannel(-1, path, null, options, mode); in newFileChannel() 158 Set<? extends OpenOption> options, in newAsynchronousFileChannel() argument 163 Flags flags = Flags.toFlags(options); in newAsynchronousFileChannel()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXRevocationChecker.java | 105 private Set<Option> options = Collections.emptySet(); field in PKIXRevocationChecker 233 public void setOptions(Set<Option> options) { in setOptions() argument 234 this.options = (options == null) in setOptions() 236 : new HashSet<>(options); in setOptions() 246 return Collections.unmodifiableSet(options); in getOptions() 277 copy.options = new HashSet<>(options); in clone()
|
/libcore/luni/src/test/java/libcore/java/nio/file/spi/ |
D | FileSystemProviderTest.java | 71 Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException { in newByteChannel() argument 92 public void copy(Path source, Path target, CopyOption... options) throws IOException { in copy() argument 97 public void move(Path source, Path target, CopyOption... options) throws IOException { in move() argument 123 Path path, Class<V> type, LinkOption... options) { in getFileAttributeView() argument 129 Path path, Class<A> type, LinkOption... options) throws IOException { in readAttributes() argument 135 Path path, String attributes, LinkOption... options) throws IOException { in readAttributes() argument 141 Object value, LinkOption... options) throws IOException { in setAttribute() argument 165 Set<OpenOption> options = new TreeSet<OpenOption>(); in testNewAsynchronousFileChannel() local 168 provider.newAsynchronousFileChannel(path, options, null); in testNewAsynchronousFileChannel()
|
/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/luni/src/test/java/libcore/java/lang/ |
D | StackWalkerTest.java | 91 Option[] options = Option.values(); in testOptionValues() local 98 assertHasOption(options, e); in testOptionValues() 100 assertEquals(expected.length, options.length); in testOptionValues() 103 private void assertHasOption(Option[] options, Option expected) { in assertHasOption() argument 104 for (Option option : options) { in assertHasOption() 109 fail("fail to find " + expected + " in " + Arrays.toString(options)); in assertHasOption()
|
/libcore/ojluni/src/test/java/net/SocketOptions/ |
D | OptionsTest.java | 96 Set<SocketOption<?>> options = c.supportedOptions(); in doSocketTests() local 97 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in doSocketTests() 118 Set<SocketOption<?>> options = c.supportedOptions(); in doDgSocketTests() local 119 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in doDgSocketTests() 158 Set<SocketOption<?>> options = c.supportedOptions(); in doServerSocketTests() local 159 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in doServerSocketTests() 185 Set<SocketOption<?>> options = socket.supportedOptions(); in legacyGetOption() local 186 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in legacyGetOption() 209 Set<SocketOption<?>> options = socket.supportedOptions(); in legacyGetOption() local 210 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in legacyGetOption() [all …]
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousFileChannel.java | 247 Set<? extends OpenOption> options, in open() argument 253 return provider.newAsynchronousFileChannel(file, options, executor, attrs); in open() 301 public static AsynchronousFileChannel open(Path file, OpenOption... options) in open() argument 305 if (options.length == 0) { in open() 309 Collections.addAll(set, options); in open()
|
D | FileChannel.java | 287 Set<? extends OpenOption> options, in open() argument 292 return provider.newFileChannel(path, options, attrs); in open() 335 public static FileChannel open(Path path, OpenOption... options) in open() argument 339 if (options.length == 0) { in open() 343 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()
|
D | ExtendedSocketOptions.java | 175 private static final Set<SocketOption<?>> extendedOptions = options(); 177 static Set<SocketOption<?>> options() { in options() method in ExtendedSocketOptions 178 Set<SocketOption<?>> options = new HashSet<>(); in options() local 180 options.add(SO_FLOW_SLA); in options() 183 options.add(TCP_QUICKACK); in options() 186 options.addAll(Set.of(TCP_KEEPCOUNT, TCP_KEEPIDLE, TCP_KEEPINTERVAL)); in options() 188 return Collections.unmodifiableSet(options); in options()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/libart/src/main/java/java/lang/invoke/ |
D | TEST_MAPPING | 5 "options": [ 13 "options": [
|
/libcore/libart/src/main/java/java/lang/ |
D | TEST_MAPPING | 5 "options": [ 19 "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": [
|
/libcore/luni/src/main/java/java/net/ |
D | TEST_MAPPING | 5 "options": [ 22 "options": [
|