Searched refs:symlink (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/main/native/ |
D | canonicalize_path.cpp | 98 std::string symlink; in canonicalize_path() local 99 if (!readlink(resolved.c_str(), symlink)) { in canonicalize_path() 102 if (symlink[0] == '/') { in canonicalize_path() 112 const char* maybeSlash = (symlink[symlink.size() - 1] != '/') ? "/" : ""; in canonicalize_path() 113 left = symlink + maybeSlash + left; in canonicalize_path() 115 left = symlink; in canonicalize_path()
|
D | libcore_io_Posix.cpp | 1883 throwIfMinusOne(env, "symlink", TEMP_FAILURE_RETRY(symlink(oldPath.c_str(), newPath.c_str()))); in Posix_symlink() 2073 NATIVE_METHOD(Posix, symlink, "(Ljava/lang/String;Ljava/lang/String;)V"),
|
/libcore/tzdata/update/src/test/libcore/tzdata/update/ |
D | FileUtilsTest.java | 198 File symlink = createSymlink(exists1, dir, "symlinkToFile"); in testEnsureFileDoesNotExist() local 199 assertTrue(symlink.exists()); in testEnsureFileDoesNotExist() 200 FileUtils.ensureFileDoesNotExist(symlink); in testEnsureFileDoesNotExist() 201 assertFalse(symlink.exists()); in testEnsureFileDoesNotExist() 265 File symlink = new File(symlinkDir, symlinkName); in createSymlink() local 266 Os.symlink(file.getAbsolutePath(), symlink.getAbsolutePath()); in createSymlink() 267 testFiles.add(symlink); in createSymlink() 268 return symlink; in createSymlink()
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 307 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { in symlink() method in BlockGuardOs 309 os.symlink(oldPath, newPath); in symlink()
|
D | ForwardingOs.java | 167 …public void symlink(String oldPath, String newPath) throws ErrnoException { os.symlink(oldPath, ne… in symlink() method in ForwardingOs
|
D | Os.java | 160 public void symlink(String oldPath, String newPath) throws ErrnoException; in symlink() method
|
D | Posix.java | 244 public native void symlink(String oldPath, String newPath) throws ErrnoException; in symlink() method in Posix
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 521 …public static void symlink(String oldPath, String newPath) throws ErrnoException { Libcore.os.syml… in symlink() method in Os
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 196 Libcore.os.symlink(target, linkName); in ln_s()
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 560 Libcore.os.symlink(target.getAbsolutePath(), link.getAbsolutePath()); in test_realpath()
|