Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java102 String pathname; field in FtpURLConnection
375 pathname = path.substring(0, i); in decodePath()
378 pathname = null; in decodePath()
381 pathname = path.substring(0, path.length() - 1); in decodePath()
384 if (pathname != null) { in decodePath()
385 fullpath = pathname + "/" + (filename != null ? filename : ""); in decodePath()
450 cd(pathname); in getInputStream()
462 cd(pathname); in getInputStream()
570 if (pathname != null) { in getOutputStream()
571 cd(pathname); in getOutputStream()
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java71 public String normalize(String pathname) { in normalize() argument
72 int n = pathname.length(); in normalize()
73 char[] normalized = pathname.toCharArray(); in normalize()
91 return (index != n) ? new String(normalized, 0, index) : pathname; in normalize()
94 public int prefixLength(String pathname) { in prefixLength() argument
95 if (pathname.length() == 0) return 0; in prefixLength()
96 return (pathname.charAt(0) == '/') ? 1 : 0; in prefixLength()
DFileFilter.java49 boolean accept(File pathname); in accept() argument
DFile.java255 private File(String pathname, int prefixLength) { in File() argument
256 this.path = pathname; in File()
281 public File(String pathname) { in File() argument
282 if (pathname == null) { in File()
285 this.path = fs.normalize(pathname); in File()
2075 public int compareTo(File pathname) { in compareTo() argument
2076 return fs.compare(this, pathname); in compareTo()
DFileSystem.java158 public abstract boolean createFileExclusively(String pathname) in createFileExclusively() argument
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java34 private File(java.lang.String pathname, int prefixLength) { in File() argument
42 public File(java.lang.String pathname) { in File() argument
254 public int compareTo(java.io.File pathname) { in compareTo() argument
DFileSystem.java85 public abstract boolean createFileExclusively(java.lang.String pathname) in createFileExclusively() argument
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c85 jstring pathname) in Java_java_io_UnixFileSystem_canonicalize0() argument
89 WITH_PLATFORM_STRING(env, pathname, path) { in Java_java_io_UnixFileSystem_canonicalize0()
261 jstring pathname) in Java_java_io_UnixFileSystem_createFileExclusively0() argument
265 WITH_PLATFORM_STRING(env, pathname, path) { in Java_java_io_UnixFileSystem_createFileExclusively0()
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java39 public File(@libcore.util.NonNull java.lang.String pathname) { throw new RuntimeException("Stub!");… in File() argument
138 public int compareTo(@libcore.util.NonNull java.io.File pathname) { throw new RuntimeException("Stu… in compareTo() argument
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java472 @Override public void unlink(String pathname) throws ErrnoException { in unlink() argument
474 BlockGuard.getVmPolicy().onPathAccess(pathname); in unlink()
475 super.unlink(pathname); in unlink()
DForwardingOs.java236 public void unlink(String pathname) throws ErrnoException { os.unlink(pathname); } in unlink() argument
DOs.java200 public void unlink(String pathname) throws ErrnoException; in unlink() argument
DLinux.java276 public native void unlink(String pathname) throws ErrnoException; in unlink() argument
/libcore/luni/src/main/java/android/system/
DOs.java709 … public static void unlink(String pathname) throws ErrnoException { Libcore.os.unlink(pathname); } in unlink() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp2540 ScopedUtfChars pathname(env, javaPathname); in Linux_unlink() local
2541 if (pathname.c_str() == NULL) { in Linux_unlink()
2544 throwIfMinusOne(env, "unlink", unlink(pathname.c_str())); in Linux_unlink()