Home
last modified time | relevance | path

Searched refs:UnixPath (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystemProvider.java101 UnixPath checkPath(Path obj) { in checkPath()
104 if (!(obj instanceof UnixPath)) in checkPath()
106 return (UnixPath)obj; in checkPath()
115 UnixPath file = UnixPath.toUnixPath(obj); in getFileAttributeView()
152 UnixPath file = UnixPath.toUnixPath(obj); in getFileAttributeView()
171 UnixPath file = checkPath(obj); in newFileChannel()
188 UnixPath file = checkPath(obj); in newAsynchronousFileChannel()
208 UnixPath file = UnixPath.toUnixPath(obj); in newByteChannel()
221 UnixPath file = UnixPath.toUnixPath(obj); in implDelete()
253 UnixCopyFile.copy(UnixPath.toUnixPath(source), in copy()
[all …]
DUnixPath.java43 class UnixPath class
64 UnixPath(UnixFileSystem fs, byte[] path) { in UnixPath() method in UnixPath
69 UnixPath(UnixFileSystem fs, String input) { in UnixPath() method in UnixPath
196 static UnixPath toUnixPath(Path obj) { in toUnixPath()
199 if (!(obj instanceof UnixPath)) in toUnixPath()
201 return (UnixPath)obj; in toUnixPath()
253 private UnixPath emptyPath() { in emptyPath()
254 return new UnixPath(getFileSystem(), new byte[0]); in emptyPath()
263 public UnixPath getRoot() { in getRoot()
272 public UnixPath getFileName() { in getFileName()
[all …]
DUnixNativeDispatcher.java39 private static NativeBuffer copyToNativeBuffer(UnixPath path) { in copyToNativeBuffer()
68 static int open(UnixPath path, int flags, int mode) throws UnixException { in open()
101 static long fopen(UnixPath filename, String mode) throws UnixException { in fopen()
122 static void link(UnixPath existing, UnixPath newfile) throws UnixException { in link()
138 static void unlink(UnixPath path) throws UnixException { in unlink()
165 static void mknod(UnixPath path, int mode, long dev) throws UnixException { in mknod()
179 static void rename(UnixPath from, UnixPath to) throws UnixException { in rename()
211 static void mkdir(UnixPath path, int mode) throws UnixException { in mkdir()
224 static void rmdir(UnixPath path) throws UnixException { in rmdir()
239 static byte[] readlink(UnixPath path) throws UnixException { in readlink()
[all …]
DLinuxFileStore.java43 LinuxFileStore(UnixPath file) throws IOException { in LinuxFileStore()
60 UnixPath path = null; in findMountEntry()
63 path = new UnixPath(fs, rp); in findMountEntry()
69 UnixPath parent = path.getParent(); in findMountEntry()
96 private boolean isExtendedAttributesEnabled(UnixPath path) { in isExtendedAttributesEnabled()
143 UnixPath dir = new UnixPath(file().getFileSystem(), entry().dir()); in supportsFileAttributeView()
DUnixSecureDirectoryStream.java58 UnixSecureDirectoryStream(UnixPath dir, in UnixSecureDirectoryStream()
92 private UnixPath getName(Path obj) { in getName()
95 if (!(obj instanceof UnixPath)) in getName()
97 return (UnixPath)obj; in getName()
108 UnixPath file = getName(obj); in newDirectoryStream()
109 UnixPath child = ds.directory().resolve(file); in newDirectoryStream()
158 UnixPath file = getName(obj); in newByteChannel()
188 UnixPath file = getName(obj); in implDelete()
247 UnixPath from = getName(fromObj); in move()
248 UnixPath to = getName(toObj); in move()
[all …]
DUnixException.java99 void rethrowAsIOException(UnixPath file, UnixPath other) throws IOException { in rethrowAsIOException()
106 void rethrowAsIOException(UnixPath file) throws IOException { in rethrowAsIOException()
110 IOException asIOException(UnixPath file) { in asIOException()
DUnixCopyFile.java127 private static void copyDirectory(UnixPath source, in copyDirectory()
129 UnixPath target, in copyDirectory()
219 private static void copyFile(UnixPath source, in copyFile()
221 UnixPath target, in copyFile()
303 private static void copyLink(UnixPath source, in copyLink()
305 UnixPath target, in copyLink()
331 private static void copySpecial(UnixPath source, in copySpecial()
333 UnixPath target, in copySpecial()
372 static void move(UnixPath source, UnixPath target, CopyOption... options) in move()
505 static void copy(final UnixPath source, in copy()
[all …]
DUnixFileAttributeViews.java39 protected final UnixPath file;
42 Basic(UnixPath file, boolean followLinks) { in Basic()
140 Posix(UnixPath file, boolean followLinks) { in Posix()
311 Unix(UnixPath file, boolean followLinks) { in Unix()
367 static Basic createBasicView(UnixPath file, boolean followLinks) { in createBasicView()
371 static Posix createPosixView(UnixPath file, boolean followLinks) { in createPosixView()
375 static Unix createUnixView(UnixPath file, boolean followLinks) { in createUnixView()
379 static FileOwnerAttributeViewImpl createOwnerView(UnixPath file, boolean followLinks) { in createOwnerView()
DUnixFileStore.java44 private final UnixPath file;
53 private static long devFor(UnixPath file) throws IOException { in devFor()
62 UnixFileStore(UnixPath file) throws IOException { in UnixFileStore()
69 this.file = new UnixPath(fs, entry.dir()); in UnixFileStore()
79 UnixPath file() { in file()
DUnixFileSystem.java47 private final UnixPath rootDirectory;
52 this.defaultDirectory = Util.toBytes(UnixPath.normalizeAndCheck(dir)); in UnixFileSystem()
81 this.rootDirectory = new UnixPath(this, "/"); in UnixFileSystem()
93 UnixPath rootDirectory() { in rootDirectory()
281 return new UnixPath(this, path);
DLinuxWatchService.java111 LinuxWatchKey(UnixPath dir, LinuxWatchService watcher, int ifd, int wd) { in LinuxWatchKey()
221 UnixPath dir = (UnixPath)obj; in implRegister()
370 UnixPath name = null; in run()
391 name = new UnixPath(fs, buf); in run()
429 private void processEvent(int wd, int mask, final UnixPath name) { in processEvent()
DUnixDirectoryStream.java46 private final UnixPath dir;
70 UnixDirectoryStream(UnixPath dir, long dp, DirectoryStream.Filter<? super Path> filter) { in UnixDirectoryStream()
79 protected final UnixPath directory() { in directory()
DUnixChannelFactory.java113 UnixPath path, in newFileChannel()
143 static FileChannel newFileChannel(UnixPath path, in newFileChannel()
154 static AsynchronousFileChannel newAsynchronousFileChannel(UnixPath path, in newAsynchronousFileChannel()
181 UnixPath path, in open()
DUnixFileStoreAttributes.java37 static UnixFileStoreAttributes get(UnixPath path) throws UnixException { in get()
DLinuxUserDefinedFileAttributeView.java52 private byte[] nameAsBytes(UnixPath file, String name) throws IOException { in nameAsBytes()
91 private final UnixPath file;
94 LinuxUserDefinedFileAttributeView(UnixPath file, boolean followLinks) { in LinuxUserDefinedFileAttributeView()
DUnixUriUtils.java94 return new UnixPath(fs, result); in fromUri()
100 static URI toUri(UnixPath up) {
DLinuxFileSystemProvider.java48 LinuxFileStore getFileStore(UnixPath path) throws IOException { in getFileStore()
DUnixFileAttributes.java65 static UnixFileAttributes get(UnixPath path, boolean followLinks) in get()
85 static UnixFileAttributes get(int dfd, UnixPath path, boolean followLinks) in get()
DLinuxDosFileAttributeView.java65 LinuxDosFileAttributeView(UnixPath file, boolean followLinks) { in LinuxDosFileAttributeView()
/libcore/
Dopenjdk_java_files.bp1639 "ojluni/src/main/java/sun/nio/fs/UnixPath.java",