Searched refs:link (Results 1 - 25 of 126) sorted by relevance

123456

/openjdk7/jdk/test/java/nio/file/Files/
H A DMisc.java204 Path link = tmpdir.resolve("link");
206 createSymbolicLink(link, tmpdir);
208 assertTrue(!isRegularFile(link));
209 assertTrue(!isRegularFile(link, NOFOLLOW_LINKS));
210 assertTrue(isDirectory(link));
211 assertTrue(!isDirectory(link, NOFOLLOW_LINKS));
212 assertTrue(isSymbolicLink(link));
214 delete(link);
217 createSymbolicLink(link, fil
[all...]
H A DLinks.java51 final Path link = dir.resolve("link");
55 Files.createSymbolicLink(link, Paths.get("foo"));
56 Files.delete(link);
73 Files.createSymbolicLink(link, target);
75 assertTrue(Files.readSymbolicLink(link).equals(target));
77 Files.delete(link);
88 // link -> "mydir"
89 Files.createSymbolicLink(link, mydir.getFileName());
90 assertTrue(Files.readSymbolicLink(link)
[all...]
H A DDeleteOnClose.java44 // check that DELETE_ON_CLOSE fails when file is a sym link
48 Path link = dir.resolve("link");
49 Files.createSymbolicLink(link, file);
51 Files.newByteChannel(link, READ, WRITE, DELETE_ON_CLOSE);
H A DSBC.java85 // create file where existing file is a sym link
87 Path link = Files.createSymbolicLink(dir.resolve("link"), file);
90 Files.newByteChannel(link, CREATE, WRITE).close();
94 Files.newByteChannel(link, CREATE, WRITE).close();
99 TestUtil.deleteUnchecked(link);
124 Path link = dir.resolve("link");
126 Files.createSymbolicLink(link, target);
137 TestUtil.deleteUnchecked(link);
[all...]
/openjdk7/jdk/test/java/nio/file/attribute/DosFileAttributeView/
H A DBasic.java81 // Following tests use a symbolic link so skip if not supported
85 Path link = dir.resolve("link");
86 Files.createSymbolicLink(link, file);
89 testAttributes(Files.getFileAttributeView(link, DosFileAttributeView.class));
95 .getFileAttributeView(link, DosFileAttributeView.class, NOFOLLOW_LINKS));
97 // access to link attributes not supported
101 // set all attributes on link
102 // run test on target of link (which leaves them all un-set)
103 // check that attributes of link remai
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DCurveLink.java46 public boolean absorb(CurveLink link) { argument
47 return absorb(link.curve, link.ytop, link.ybot, link.etag);
107 public void setNext(CurveLink link) { argument
108 this.next = link;
H A DAreaOp.java388 CurveLink link = (CurveLink) links.elementAt(i);
389 System.out.println(" "+link.getSubCurve());
402 CurveLink link = (CurveLink) enum_.nextElement();
403 ret.add(link.getMoveto());
404 CurveLink nextlink = link;
406 if (!link.absorb(nextlink)) {
407 ret.add(link.getSubCurve());
408 link = nextlink;
411 ret.add(link.getSubCurve());
471 CurveLink link
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/
H A DHtmlDocWriter.java82 * @param link String name of the file.
83 * @param where Position of the link in the file. Character '#' is not
85 * @param label Tag for the link.
88 public void printHyperLink(String link, String where, argument
90 print(getHyperLinkString(link, where, label, strong, "", "", ""));
96 * @param link String name of the file.
97 * @param where Position of the link in the file. Character '#' is not
99 * @param label Tag for the link.
101 public void printHyperLink(String link, String where, String label) { argument
102 printHyperLink(link, wher
115 printHyperLink(String link, String where, String label, boolean strong, String stylename) argument
131 getHyperLinkString(String link, String where, String label, boolean strong) argument
147 getHyperLinkString(String link, String where, String label, boolean strong, String stylename) argument
162 getHyperLink(String link, String where, Content label) argument
180 getHyperLinkString(String link, String where, String label, boolean strong, String stylename, String title, String target) argument
228 getHyperLink(String link, String where, Content label, String title, String target) argument
250 getHyperLink(String link, Content label) argument
261 getHyperLinkString(String link, String label) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DExtern.java37 * Process and manage "-link" and "-linkoffline" to external packages. The
38 * options "-link" and "-linkoffline" both depend on the fact that Javadoc now
64 * True if we are using -linkoffline and false if -link is used instead.
74 * Package name, found in the "package-list" file in the {@link path}.
136 * Convert a link to be an external link if appropriate.
140 * @param link The link to convert.
141 * @return if external return converted link else return null
144 String relativepath, String link) {
143 getExternalLink(String pkgName, String relativepath, String link) argument
[all...]
/openjdk7/jdk/test/java/nio/file/Path/
H A DMisc.java97 final Path link = dir.resolve("link");
123 Files.createSymbolicLink(link, file.toAbsolutePath());
124 assertTrue(link.toRealPath().equals(file.toRealPath()));
125 Files.delete(link);
132 Files.createSymbolicLink(link, file.toAbsolutePath());
133 assertTrue(link.toRealPath(NOFOLLOW_LINKS).getFileName().equals(link.getFileName()));
134 Files.delete(link);
138 * Test: toRealPath(NOFOLLOW_LINKS) with broken link
[all...]
/openjdk7/jdk/test/java/io/File/
H A DSymLinks.java99 * Creates a sym link source->target
106 * Returns true if the "link" exists and is a sym link.
108 static boolean isSymLink(File link) { argument
109 return Files.isSymbolicLink(link.toPath());
113 * Returns the last modified time of a sym link.
115 static long lastModifiedOfSymLink(File link) throws IOException { argument
117 Files.readAttributes(link.toPath(), BasicFileAttributes.class, NOFOLLOW_LINKS);
127 Path link = dir.toPath().resolve("link");
[all...]
/openjdk7/jdk/src/share/native/sun/awt/debug/
H A Ddebug_mem.c109 MemoryListLink * link; local
111 link = (MemoryListLink *)DMem_ClientAllocate(sizeof(MemoryListLink));
112 if (link != NULL) {
113 link->header = header;
114 link->header->listEnter = link;
115 link->next = MemoryList.next;
116 link->freed = FALSE;
117 MemoryList.next = link;
120 return link;
289 MemoryListLink * link; local
[all...]
/openjdk7/jdk/test/sun/net/sdp/
H A DProbeIB.java40 String link = s.nextLine();
41 NetworkInterface ni = NetworkInterface.getByName(link);
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLBodyElement.java75 * Color of links that are not active and unvisited. See the link
80 public void setLink(String link); argument
/openjdk7/jdk/test/java/nio/file/attribute/BasicFileAttributeView/
H A DBasic.java49 check(!attrs.isSymbolicLink(), "is not a link");
64 check(!attrs.isSymbolicLink(), "is not a link");
95 static void checkAttributesOfLink(Path link) argument
99 Files.readAttributes(link, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS);
100 check(attrs.isSymbolicLink(), "is a link");
120 Path link = dir.resolve("link");
122 Files.createSymbolicLink(link, file);
128 checkAttributesOfLink(link);
/openjdk7/jdk/test/javax/swing/JFileChooser/6798062/
H A Dbug6798062.java140 pnContent.add(new JLabel("Provide link here:"));
160 private final ShellFolder link; field in class:bug6798062.MyThread
162 private MyThread(int delay, String link) { argument
168 linkFolder = ShellFolder.getShellFolder(new File(link));
175 this.link = linkFolder;
181 if (link != null) {
183 link.getLinkLocation();
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileSystemProvider.java435 UnixPath link = UnixPath.toUnixPath(obj1);
442 "not supported when creating symbolic link");
449 link.checkWrite();
452 // create link
454 symlink(target.asByteArray(), link);
456 x.rethrowAsIOException(link);
462 UnixPath link = UnixPath.toUnixPath(obj1);
469 link.checkWrite();
473 link(existing, link);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/
H A DRuntimeAttributePropertyInfoImpl.java62 public void link() { method in class:RuntimeAttributePropertyInfoImpl
64 super.link();
H A DRuntimeValuePropertyInfoImpl.java62 public void link() { method in class:RuntimeValuePropertyInfoImpl
64 super.link();
/openjdk7/hotspot/src/share/vm/memory/
H A Dheap.cpp330 for (FreeBlock* b = _freelist; b != NULL; b = b->link()) {
348 b->set_link(a->link());
359 if (following_block(a) == a->link()) {
360 assert(a->link() != NULL && a->link()->free(), "must be free too");
362 a->set_length(a->length() + a->link()->length());
363 a->set_link(a->link()->link());
392 cur = cur->link();
429 cur = cur->link();
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/
H A DParameter.java102 return link;
106 link = p;
125 private Parameter link; field in class:Parameter
/openjdk7/jdk/test/com/oracle/net/
H A DSanity.java42 String link = s.nextLine();
43 NetworkInterface ni = NetworkInterface.getByName(link);
48 System.out.format("Testing %s: %s\n", link, addr.getHostAddress());
/openjdk7/jdk/test/java/nio/file/
H A DTestUtil.java106 Path link = dir.resolve("testlink");
109 Files.createSymbolicLink(link, target);
110 Files.delete(link);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileSystemProvider.java517 WindowsPath link = WindowsPath.toWindowsPath(obj1);
520 if (!link.getFileSystem().supportsLinks()) {
529 "not supported when creating symbolic link");
536 link.checkWrite();
541 * creates a link with the resolved target for this case.
544 throw new IOException("Cannot create symbolic link to working directory relative target");
554 WindowsPath parent = link.getParent();
557 resolvedTarget = link.resolve(target);
568 // create the link
570 CreateSymbolicLink(link
[all...]
/openjdk7/langtools/test/com/sun/javadoc/testHtmlDocument/
H A DTestHtmlDocument.java80 HtmlTree link = new HtmlTree(HtmlTag.LINK);
81 link.addAttr(HtmlAttr.REL, "testRel");
82 link.addAttr(HtmlAttr.HREF, "testLink.html");
83 head.addContent(link);
104 StringContent pContent = new StringContent(" to <test> out a link.");

Completed in 193 milliseconds

123456