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

/libcore/ojluni/src/main/java/java/io/
H A DFileFilter.java41 * Tests whether or not the specified abstract pathname should be
42 * included in a pathname list.
44 * @param pathname The abstract pathname to be tested
45 * @return <code>true</code> if and only if <code>pathname</code>
48 boolean accept(File pathname); argument
H A DFileSystem.java56 * Convert the given pathname string to normal form. If the string is
62 * Compute the length of this pathname string's prefix. The pathname
68 * Resolve the child pathname string against the parent.
75 * Return the parent pathname string to be used when the parent-directory
77 * pathname.
93 * Tell whether or not the given abstract pathname is absolute.
98 * Resolve the given abstract pathname into absolute form. Invoked by the
116 * by the given abstract pathname, or zero if it does not exist or some
128 * pathname ma
163 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.java39 * <p> User interfaces and operating systems use system-dependent <em>pathname
42 * <em>abstract pathname</em> has two components:
47 * directory, or <code>"\\\\"</code>&nbsp;for a Microsoft Windows UNC pathname, and
51 * The first name in an abstract pathname may be a directory name or, in the
53 * in an abstract pathname denotes a directory; the last name may denote
54 * either a directory or a file. The <em>empty</em> abstract pathname has no
57 * <p> The conversion of a pathname string to or from an abstract pathname is
58 * inherently system-dependent. When an abstract pathname is converted into a
59 * pathname strin
234 File(String pathname, int prefixLength) argument
260 File(String pathname) argument
1927 compareTo(File pathname) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
H A DFtpURLConnection.java99 String pathname; field in class:FtpURLConnection
353 pathname = path.substring(0, i);
356 pathname = null;
359 pathname = path.substring(0, path.length() - 1);
362 if (pathname != null) {
363 fullpath = pathname + "/" + (filename != null ? filename : "");
424 cd(pathname);
436 cd(pathname);
540 if (pathname != null) {
541 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");
250 jstring pathname)
254 WITH_PLATFORM_STRING(env, pathname, path) {
78 Java_java_io_UnixFileSystem_canonicalize0(JNIEnv *env, jobject this, jstring pathname) argument
249 Java_java_io_UnixFileSystem_createFileExclusively0(JNIEnv *env, jclass cls, jstring pathname) argument
/libcore/luni/src/main/java/android/system/
H A DOs.java551 public static void unlink(String pathname) throws ErrnoException { Libcore.os.unlink(pathname); } argument
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java173 public void unlink(String pathname) throws ErrnoException { os.unlink(pathname); } argument
H A DOs.java166 public void unlink(String pathname) throws ErrnoException; argument
H A DPosix.java256 public native void unlink(String pathname) throws ErrnoException; argument

Completed in 460 milliseconds