/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileAttributeViews.java | 40 protected final boolean followLinks; field in UnixFileAttributeViews.Basic 42 Basic(UnixPath file, boolean followLinks) { in Basic() argument 44 this.followLinks = followLinks; in Basic() 52 UnixFileAttributes.get(file, followLinks); in readAttributes() 74 int fd = file.openForAttributeAccess(followLinks); in setTimes() 140 Posix(UnixPath file, boolean followLinks) { in Posix() argument 141 super(file, followLinks); in Posix() 216 return UnixFileAttributes.get(file, followLinks); in readAttributes() 227 if (followLinks) { in setMode() 246 if (followLinks) { in setOwners() [all …]
|
D | UnixSecureDirectoryStream.java | 110 boolean followLinks = Util.followLinks(options); in newDirectoryStream() 129 if (!followLinks) in newDirectoryStream() 289 boolean followLinks) in getFileAttributeViewImpl() argument 295 return (V) new BasicFileAttributeViewImpl(file, followLinks); in getFileAttributeViewImpl() 298 return (V) new PosixFileAttributeViewImpl(file, followLinks); in getFileAttributeViewImpl() 321 boolean followLinks = Util.followLinks(options); in getFileAttributeView() 322 return getFileAttributeViewImpl(file, type, followLinks); in getFileAttributeView() 332 final boolean followLinks; field in UnixSecureDirectoryStream.BasicFileAttributeViewImpl 334 BasicFileAttributeViewImpl(UnixPath file, boolean followLinks) in BasicFileAttributeViewImpl() argument 337 this.followLinks = followLinks; in BasicFileAttributeViewImpl() [all …]
|
D | Util.java | 123 static boolean followLinks(LinkOption... options) { in followLinks() method in Util 124 boolean followLinks = true; in followLinks() 127 followLinks = false; in followLinks() 134 return followLinks; in followLinks()
|
D | LinuxUserDefinedFileAttributeView.java | 92 private final boolean followLinks; field in LinuxUserDefinedFileAttributeView 94 LinuxUserDefinedFileAttributeView(UnixPath file, boolean followLinks) { in LinuxUserDefinedFileAttributeView() argument 96 this.followLinks = followLinks; in LinuxUserDefinedFileAttributeView() 104 int fd = file.openForAttributeAccess(followLinks); in list() 140 int fd = file.openForAttributeAccess(followLinks); in size() 176 int fd = file.openForAttributeAccess(followLinks); in read() 255 int fd = file.openForAttributeAccess(followLinks); in write() 279 int fd = file.openForAttributeAccess(followLinks); in delete()
|
D | UnixFileSystemProvider.java | 116 boolean followLinks = Util.followLinks(options); in getFileAttributeView() 118 return (V) UnixFileAttributeViews.createBasicView(file, followLinks); in getFileAttributeView() 120 return (V) UnixFileAttributeViews.createPosixView(file, followLinks); in getFileAttributeView() 122 return (V) UnixFileAttributeViews.createOwnerView(file, followLinks); in getFileAttributeView() 153 boolean followLinks = Util.followLinks(options); in getFileAttributeView() 155 return UnixFileAttributeViews.createBasicView(file, followLinks); in getFileAttributeView() 157 return UnixFileAttributeViews.createPosixView(file, followLinks); in getFileAttributeView() 159 return UnixFileAttributeViews.createUnixView(file, followLinks); in getFileAttributeView() 161 return UnixFileAttributeViews.createOwnerView(file, followLinks); in getFileAttributeView()
|
D | LinuxDosFileAttributeView.java | 65 LinuxDosFileAttributeView(UnixPath file, boolean followLinks) { in LinuxDosFileAttributeView() argument 66 super(file, followLinks); in LinuxDosFileAttributeView() 120 int fd = file.openForAttributeAccess(followLinks); in readAttributes() 260 int fd = file.openForAttributeAccess(followLinks);
|
D | UnixCopyFile.java | 51 boolean followLinks; field in UnixCopyFile.Flags 66 flags.followLinks = true; in fromCopyOptions() 73 flags.followLinks = false; in fromCopyOptions() 524 sourceAttrs = UnixFileAttributes.get(source, flags.followLinks); in copy()
|
D | UnixPath.java | 769 int openForAttributeAccess(boolean followLinks) throws IOException { in openForAttributeAccess() argument 771 if (!followLinks) { in openForAttributeAccess() 832 if (Util.followLinks(options)) { in toRealPath()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | CopyMoveHelper.java | 46 boolean followLinks = true; field in CopyMoveHelper.CopyOptions 58 result.followLinks = false; in parse() 105 LinkOption[] linkOptions = (opts.followLinks) ? new LinkOption[0] : in copyToForeignTarget()
|
D | FileTreeWalker.java | 58 private final boolean followLinks; field in FileTreeWalker 190 this.followLinks = fl; in FileTreeWalker() 210 if (cached != null && (!followLinks || !cached.isSymbolicLink())) { in getAttributes() 221 if (!followLinks) in getAttributes() 292 if (followLinks && wouldLoop(entry, attrs.fileKey())) { in visit()
|
D | Files.java | 2340 private static boolean followLinks(LinkOption... options) { 2341 boolean followLinks = true; 2344 followLinks = false; 2351 return followLinks; 2384 if (followLinks(options)) { 2433 if (followLinks(options)) {
|
/libcore/ojluni/annotations/hiddenapi/java/nio/file/ |
D | FileTreeWalker.java | 75 ….UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553) private final boolean followLinks; field in FileTreeWalker 78 followLinks = false;
|