Home
last modified time | relevance | path

Searched refs:link (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystemProvider.java443 UnixPath link = UnixPath.toUnixPath(obj1); in createSymbolicLink() local
457 link.checkWrite(); in createSymbolicLink()
462 symlink(target.asByteArray(), link); in createSymbolicLink() local
464 x.rethrowAsIOException(link); in createSymbolicLink()
470 UnixPath link = UnixPath.toUnixPath(obj1); in createLink() local
477 link.checkWrite(); in createLink()
481 link(existing, link); in createLink()
483 x.rethrowAsIOException(link, existing); in createLink()
489 UnixPath link = UnixPath.toUnixPath(obj1); in readSymbolicLink() local
493 FilePermission perm = new FilePermission(link.getPathForPermissionCheck(), in readSymbolicLink()
[all …]
DUnixNativeDispatcher.java122 static void link(UnixPath existing, UnixPath newfile) throws UnixException { in link() method in UnixNativeDispatcher
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewTest.java96 static void checkAttributesOfLink(Path link) in checkAttributesOfLink() argument
100 Files.readAttributes(link, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS); in checkAttributesOfLink()
121 Path link = dir.resolve("link"); in attributeReadWriteTests() local
123 Files.createSymbolicLink(link, file); in attributeReadWriteTests()
129 checkAttributesOfLink(link); in attributeReadWriteTests()
DPosixFileAttributeViewTest.java180 Path link = dir.resolve("link"); in permissionTests() local
181 System.out.format("create link %s\n", link); in permissionTests()
182 Files.createSymbolicLink(link, file); in permissionTests()
185 Files.getFileAttributeView(link, in permissionTests()
193 Files.delete(link); in permissionTests()
/libcore/ojluni/src/test/java/nio/file/
DTestUtil.java109 Path link = dir.resolve("testlink"); in supportsLinks() local
112 Files.createSymbolicLink(link, target); in supportsLinks()
113 Files.delete(link); in supportsLinks()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java1039 public static Path createSymbolicLink(Path link, Path target,
1043 provider(link).createSymbolicLink(link, target, attrs);
1044 return link;
1085 public static Path createLink(Path link, Path existing) throws IOException {
1086 provider(link).createLink(link, existing);
1087 return link;
1431 public static Path readSymbolicLink(Path link) throws IOException {
1432 return provider(link).readSymbolicLink(link);
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java651 public void createSymbolicLink(Path link, Path target, FileAttribute<?>... attrs) in createSymbolicLink() argument
685 public void createLink(Path link, Path existing) throws IOException { in createLink() argument
770 public Path readSymbolicLink(Path link) throws IOException { in readSymbolicLink() argument
/libcore/expectations/
Dvirtualdeviceknownfailures.txt21 …description: "Virtual devices do not implement the SELinux policy (forbid hard link) asserted by t…
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java213 @Override public void link(String oldPath, String newPath) throws ErrnoException { in link() method in BlockGuardOs
217 super.link(oldPath, newPath); in link()
DForwardingOs.java147 …public void link(String oldPath, String newPath) throws ErrnoException { os.link(oldPath, newPath)… in link() method in ForwardingOs
DOs.java121 public void link(String oldPath, String newPath) throws ErrnoException; in link() method
DLinux.java119 public native void link(String oldPath, String newPath) throws ErrnoException; in link() method in Linux
/libcore/ojluni/src/main/native/
DUnixNativeDispatcher.c798 RESTARTABLE(link(existing, newname), err); in Java_sun_nio_fs_UnixNativeDispatcher_link0()
870 const char* link = (const char*)jlong_to_ptr(linkAddress); in Java_sun_nio_fs_UnixNativeDispatcher_symlink0() local
873 if (symlink(target, link) == -1) { in Java_sun_nio_fs_UnixNativeDispatcher_symlink0()
/libcore/luni/src/main/java/android/system/
DOs.java342 …public static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(ol… in link() method in Os
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1030 File link = new File(tmpDir, "link"); in test_realpath() local
1033 Os.symlink(target.getAbsolutePath(), link.getAbsolutePath()); in test_realpath()
1039 boolean deletedLink = link.delete(); in test_realpath()
/libcore/benchmarks/libs/
Dcaliper.jar.txt46 separable from, or merely link (or bind by name) to the interfaces of,
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java599 final boolean link(Index<K,V> succ, Index<K,V> newSucc) { in link() method in ConcurrentSkipListMap.Index
909 if (!q.link(r, t)) in doPut()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1803 throwIfMinusOne(env, "link", TEMP_FAILURE_RETRY(link(oldPath.c_str(), newPath.c_str()))); in Linux_link()
2650 NATIVE_METHOD(Linux, link, "(Ljava/lang/String;Ljava/lang/String;)V"),
/libcore/
DLICENSE339 permission to link this library with independent modules to produce an
/libcore/ojluni/
DNOTICE625 permission to link this library with independent modules to produce an
1512 {@link Replaceable} in their text representation class.