Searched defs:pathname (Results 1 - 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
H A DFileFilter.java42 * Tests whether or not the specified abstract pathname should be
43 * included in a pathname list.
45 * @param pathname The abstract pathname to be tested
46 * @return <code>true</code> if and only if <code>pathname</code>
49 boolean accept(File pathname); argument
H A DFileSystem.java50 * Convert the given pathname string to normal form. If the string is
56 * Compute the length of this pathname string's prefix. The pathname
62 * Resolve the child pathname string against the parent.
69 * Return the parent pathname string to be used when the parent-directory
71 * pathname.
87 * Tell whether or not the given abstract pathname is absolute.
92 * Resolve the given abstract pathname into absolute form. Invoked by the
110 * by the given abstract pathname, or zero if it does not exist or some
123 * pathname ma
158 createFileExclusively(String pathname) argument
[all...]
H A DUnixFileSystem.java61 * A normal Unix pathname does not contain consecutive slashes and does not end
65 public String normalize(String pathname) { argument
66 int n = pathname.length();
67 char[] normalized = pathname.toCharArray();
80 // Omit the trailing slash, except when pathname == "/".
85 return (index != n) ? new String(normalized, 0, index) : pathname;
88 public int prefixLength(String pathname) { argument
89 if (pathname.length() == 0) return 0;
90 return (pathname.charAt(0) == '/') ? 1 : 0;
H A DFile.java44 * <p> User interfaces and operating systems use system-dependent <em>pathname
47 * <em>abstract pathname</em> has two components:
52 * directory, or <code>"\\\\"</code>&nbsp;for a Microsoft Windows UNC pathname, and
56 * The first name in an abstract pathname may be a directory name or, in the
58 * in an abstract pathname denotes a directory; the last name may denote
59 * either a directory or a file. The <em>empty</em> abstract pathname has no
62 * <p> The conversion of a pathname string to or from an abstract pathname is
63 * inherently system-dependent. When an abstract pathname is converted into a
64 * pathname strin
255 File(String pathname, int prefixLength) argument
281 File(String pathname) argument
2086 compareTo(File pathname) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
H A DFtpURLConnection.java102 String pathname; field in class:FtpURLConnection
375 pathname = path.substring(0, i);
378 pathname = null;
381 pathname = path.substring(0, path.length() - 1);
384 if (pathname != null) {
385 fullpath = pathname + "/" + (filename != null ? filename : "");
450 cd(pathname);
462 cd(pathname);
570 if (pathname != null) {
571 cd(pathname);
[all...]
/libcore/ojluni/src/main/native/
H A DUnixFileSystem_md.c79 jstring pathname)
83 WITH_PLATFORM_STRING(env, pathname, path) {
87 JNU_ThrowIOExceptionWithLastError(env, "Bad pathname");
253 jstring pathname)
257 WITH_PLATFORM_STRING(env, pathname, path) {
78 Java_java_io_UnixFileSystem_canonicalize0(JNIEnv *env, jobject this, jstring pathname) argument
252 Java_java_io_UnixFileSystem_createFileExclusively0(JNIEnv *env, jclass cls, jstring pathname) argument
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java396 @Override public void unlink(String pathname) throws ErrnoException { argument
398 os.unlink(pathname);
H A DForwardingOs.java191 public void unlink(String pathname) throws ErrnoException { os.unlink(pathname); } argument
H A DLinux.java271 public native void unlink(String pathname) throws ErrnoException; argument
H A DOs.java178 public void unlink(String pathname) throws ErrnoException; argument
/libcore/luni/src/main/java/android/system/
H A DOs.java615 public static void unlink(String pathname) throws ErrnoException { Libcore.os.unlink(pathname); } argument

Completed in 252 milliseconds