Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 109) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java149 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 …]
DCopyMoveHelper.java50 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()
DSecureDirectoryStream.java97 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/
DFileSystemProvider.java373 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/
DLinuxFileSystemProvider.java60 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()
DAbstractFileSystemProvider.java64 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()
DUnixFileSystemProvider.java113 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 …]
DUnixChannelFactory.java68 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/
DPKIXRevocationChecker.java103 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()
DTEST_MAPPING5 "options": [
22 "options": [
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java65 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/
DAsynchronousFileChannel.java242 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()
DFileChannel.java282 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/
DSockets.java63 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/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/ojluni/src/main/java/java/awt/font/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/libart/src/main/java/java/lang/invoke/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/ojluni/src/main/java/java/time/format/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/ojluni/src/main/java/java/time/
DTEST_MAPPING5 "options": [
15 "options": [
/libcore/ojluni/src/main/java/java/time/zone/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/ojluni/src/main/java/java/time/temporal/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/ojluni/src/main/java/java/time/chrono/
DTEST_MAPPING5 "options": [
13 "options": [
/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketOptionRegistry.java57 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/
DTEST_MAPPING5 "options": [
18 "options": [

12345