Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java104 CopyOptions opts = CopyOptions.parse(options); in copyToForeignTarget() local
105 LinkOption[] linkOptions = (opts.followLinks) ? new LinkOption[0] : in copyToForeignTarget()
116 if (opts.replaceExisting) { in copyToForeignTarget()
131 if (opts.copyAttributes) { in copyToForeignTarget()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java422 Set<OpenOption> opts = new HashSet<OpenOption>(len + 3); in newOutputStream() local
424 opts.add(StandardOpenOption.CREATE); in newOutputStream()
425 opts.add(StandardOpenOption.TRUNCATE_EXISTING); in newOutputStream()
430 opts.add(opt); in newOutputStream()
433 opts.add(StandardOpenOption.WRITE); in newOutputStream()
434 return Channels.newOutputStream(newByteChannel(path, opts)); in newOutputStream()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixMountEntry.java36 private byte[] opts; // mount options field in UnixMountEntry
68 optionsAsString = Util.toString(opts); in hasOption()
/libcore/ojluni/src/test/java/lang/StackWalker/
DStackWalkTest.java293 Set<StackWalker.Option> opts = new HashSet<>(); in main() local
295 opts.add(RETAIN_CLASS_REFERENCE); in main()
304 swt = new StackWalkTest(opts, 1+rng.nextInt(depth-1)); in main()
306 swt = new StackWalkTest(opts); in main()
/libcore/ojluni/src/main/native/
Dnet_util_md.c913 } const opts[] = {
958 for (i=0; i<(int)(sizeof(opts) / sizeof(opts[0])); i++) {
959 if (cmd == opts[i].cmd) {
960 *level = opts[i].level;
961 *optname = opts[i].optname;