Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java65 public String normalize(String pathname) { in normalize() argument
66 int n = pathname.length(); in normalize()
67 char[] normalized = pathname.toCharArray(); in normalize()
85 return (index != n) ? new String(normalized, 0, index) : pathname; in normalize()
88 public int prefixLength(String pathname) { in prefixLength() argument
89 if (pathname.length() == 0) return 0; in prefixLength()
90 return (pathname.charAt(0) == '/') ? 1 : 0; in prefixLength()
DFileFilter.java48 boolean accept(File pathname); in accept() argument
DFile.java234 private File(String pathname, int prefixLength) { in File() argument
235 this.path = pathname; in File()
260 public File(String pathname) { in File() argument
261 if (pathname == null) { in File()
264 this.path = fs.normalize(pathname); in File()
1927 public int compareTo(File pathname) { in compareTo() argument
1928 return fs.compare(this, pathname); in compareTo()
DFileSystem.java163 public abstract boolean createFileExclusively(String pathname) in createFileExclusively() argument
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java99 String pathname; field in FtpURLConnection
353 pathname = path.substring(0, i); in decodePath()
356 pathname = null; in decodePath()
359 pathname = path.substring(0, path.length() - 1); in decodePath()
362 if (pathname != null) { in decodePath()
363 fullpath = pathname + "/" + (filename != null ? filename : ""); in decodePath()
424 cd(pathname); in getInputStream()
436 cd(pathname); in getInputStream()
540 if (pathname != null) { in getOutputStream()
541 cd(pathname); in getOutputStream()
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c79 jstring pathname) in Java_java_io_UnixFileSystem_canonicalize0() argument
83 WITH_PLATFORM_STRING(env, pathname, path) { in Java_java_io_UnixFileSystem_canonicalize0()
250 jstring pathname) in Java_java_io_UnixFileSystem_createFileExclusively0() argument
254 WITH_PLATFORM_STRING(env, pathname, path) { in Java_java_io_UnixFileSystem_createFileExclusively0()
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java173 public void unlink(String pathname) throws ErrnoException { os.unlink(pathname); } in unlink() argument
DOs.java166 public void unlink(String pathname) throws ErrnoException; in unlink() argument
DPosix.java256 public native void unlink(String pathname) throws ErrnoException; in unlink() argument
/libcore/luni/src/main/java/android/system/
DOs.java551 public static void unlink(String pathname) throws ErrnoException { Libcore.os.unlink(pathname); } in unlink() argument
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp1919 ScopedUtfChars pathname(env, javaPathname); in Posix_unlink() local
1920 if (pathname.c_str() == NULL) { in Posix_unlink()
1923 throwIfMinusOne(env, "unlink", unlink(pathname.c_str())); in Posix_unlink()