Searched refs:pathname (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/java/io/ |
D | UnixFileSystem.java | 65 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()
|
D | FileFilter.java | 48 boolean accept(File pathname); in accept() argument
|
D | File.java | 234 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()
|
D | FileSystem.java | 163 public abstract boolean createFileExclusively(String pathname) in createFileExclusively() argument
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 99 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/ |
D | UnixFileSystem_md.c | 79 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/ |
D | ForwardingOs.java | 173 public void unlink(String pathname) throws ErrnoException { os.unlink(pathname); } in unlink() argument
|
D | Os.java | 166 public void unlink(String pathname) throws ErrnoException; in unlink() argument
|
D | Posix.java | 256 public native void unlink(String pathname) throws ErrnoException; in unlink() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 551 public static void unlink(String pathname) throws ErrnoException { Libcore.os.unlink(pathname); } in unlink() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 1919 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()
|