/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileSystemProvider.java | 443 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 …]
|
D | UnixNativeDispatcher.java | 122 static void link(UnixPath existing, UnixPath newfile) throws UnixException { in link() method in UnixNativeDispatcher
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | BasicFileAttributeViewTest.java | 96 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()
|
D | PosixFileAttributeViewTest.java | 180 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/ |
D | TestUtil.java | 109 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/ |
D | Files.java | 1039 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/ |
D | FileSystemProvider.java | 651 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/ |
D | virtualdeviceknownfailures.txt | 21 …description: "Virtual devices do not implement the SELinux policy (forbid hard link) asserted by t…
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 213 @Override public void link(String oldPath, String newPath) throws ErrnoException { in link() method in BlockGuardOs 217 super.link(oldPath, newPath); in link()
|
D | ForwardingOs.java | 147 …public void link(String oldPath, String newPath) throws ErrnoException { os.link(oldPath, newPath)… in link() method in ForwardingOs
|
D | Os.java | 121 public void link(String oldPath, String newPath) throws ErrnoException; in link() method
|
D | Linux.java | 119 public native void link(String oldPath, String newPath) throws ErrnoException; in link() method in Linux
|
/libcore/ojluni/src/main/native/ |
D | UnixNativeDispatcher.c | 798 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/ |
D | Os.java | 342 …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/ |
D | OsTest.java | 1030 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/ |
D | caliper.jar.txt | 46 separable from, or merely link (or bind by name) to the interfaces of,
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListMap.java | 599 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/ |
D | libcore_io_Linux.cpp | 1803 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/ |
D | LICENSE | 339 permission to link this library with independent modules to produce an
|
/libcore/ojluni/ |
D | NOTICE | 625 permission to link this library with independent modules to produce an 1512 {@link Replaceable} in their text representation class.
|