/openjdk10/jdk/test/javax/swing/JFileChooser/ShellFolderQueries/ |
H A D | ShellFolderQueriesTest.java | 63 // Create and execute VBS script to create a link 69 File link = new File(file.getParentFile(), "shortcut.lnk"); 70 if (!fsv.isLink(link)) { 71 link.delete(); 75 File location = fsv.getLinkLocation(link); 77 link.delete(); 81 link.delete(); 84 link = File.createTempFile("test", ".tst"); 86 if (fsv.isLink(link)) { 87 link [all...] |
/openjdk10/jdk/test/java/nio/file/attribute/DosFileAttributeView/ |
H A D | Basic.java | 81 // 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...] |
/openjdk10/jdk/test/java/nio/file/Files/ |
H A D | Misc.java | 209 Path link = tmpdir.resolve("link"); 211 createSymbolicLink(link, tmpdir); 213 assertTrue(!isRegularFile(link)); 214 assertTrue(!isRegularFile(link, NOFOLLOW_LINKS)); 215 assertTrue(isDirectory(link)); 216 assertTrue(!isDirectory(link, NOFOLLOW_LINKS)); 217 assertTrue(isSymbolicLink(link)); 219 delete(link); 222 createSymbolicLink(link, fil [all...] |
H A D | Links.java | 51 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...] |
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/links/ |
H A D | LinkFactory.java | 47 * A factory that constructs links from given link information. 66 * Constructs a link from the given link information. 68 * @param linkInfo the information about the link. 69 * @return the output of the link. 78 Content link = newContent(); 83 link.addContent(utils.getTypeName(type, false)); 84 return link; 98 link.addContent(" "); 99 link [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/geom/ |
H A D | CurveLink.java | 46 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 D | AreaOp.java | 389 CurveLink link = links.elementAt(i); 390 System.out.println(" "+link.getSubCurve()); 403 CurveLink link = enum_.nextElement(); 404 ret.add(link.getMoveto()); 405 CurveLink nextlink = link; 407 if (!link.absorb(nextlink)) { 408 ret.add(link.getSubCurve()); 409 link = nextlink; 412 ret.add(link.getSubCurve()); 473 CurveLink link [all...] |
/openjdk10/jdk/test/java/nio/file/Path/ |
H A D | Misc.java | 97 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...] |
/openjdk10/jdk/test/java/io/File/ |
H A D | SymLinks.java | 101 * Creates a sym link source->target 108 * Returns true if the "link" exists and is a sym link. 110 static boolean isSymLink(File link) { argument 111 return Files.isSymbolicLink(link.toPath()); 115 * Returns the last modified time of a sym link. 117 static long lastModifiedOfSymLink(File link) throws IOException { argument 119 Files.readAttributes(link.toPath(), BasicFileAttributes.class, NOFOLLOW_LINKS); 129 Path link = dir.toPath().resolve("link"); [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | WithObject.java | 100 GuardedInvocation link = null; 109 link = expression.lookup(desc, request); 110 if (link != null) { 111 return fixExpressionCallSite(desc, link); 141 link = expression.noSuchMethod(desc, request); 143 link = expression.noSuchProperty(desc, request); 148 if (link != null) { 149 return fixExpressionCallSite(desc, link); 154 link = scope.lookup(desc, request); 156 if (link ! 229 fixReceiverType(final GuardedInvocation link, final MethodHandle filter) argument 236 fixExpressionCallSite(final CallSiteDescriptor desc, final GuardedInvocation link) argument 268 fixScopeCallSite(final GuardedInvocation link, final String name, final ScriptObject owner) argument 281 filterGuardReceiver(final GuardedInvocation link, final MethodHandle receiverFilter) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/native/common/awt/debug/ |
H A D | debug_mem.c | 114 MemoryListLink * link; local 116 link = (MemoryListLink *)DMem_ClientAllocate(sizeof(MemoryListLink)); 117 if (link != NULL) { 118 link->header = header; 119 link->header->listEnter = link; 120 link->next = MemoryList.next; 121 link->freed = FALSE; 122 MemoryList.next = link; 125 return link; 294 MemoryListLink * link; local [all...] |
/openjdk10/jdk/test/sun/net/sdp/ |
H A D | ProbeIB.java | 40 String link = s.nextLine(); 41 NetworkInterface ni = NetworkInterface.getByName(link);
|
/openjdk10/jaxp/src/jdk.xml.dom/share/classes/org/w3c/dom/html/ |
H A D | HTMLBodyElement.java | 77 * Color of links that are not active and unvisited. See the link 82 public void setLink(String link); argument
|
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/ |
H A D | HtmlDocWriter.java | 86 public Content getHyperLink(DocPath link, String label) { argument 87 return getHyperLink(link, new StringContent(label), false, "", "", ""); 93 * @param where Position of the link in the file. Character '#' is not 95 * @param label Tag for the link. 96 * @return a content tree for the hyper link 106 * @param sectionName The section name to which the link will be created. 107 * @param label Tag for the link. 108 * @return a content tree for the hyper link 118 * @param sectionName The section name combined with where to which the link 120 * @param where The fragment combined with sectionName to which the link 228 getHyperLink(DocPath link, Content label) argument 232 getHyperLink(DocLink link, Content label) argument 236 getHyperLink(DocPath link, Content label, boolean strong, String stylename, String title, String target) argument 243 getHyperLink(DocLink link, Content label, boolean strong, String stylename, String title, String target) argument 274 getHyperLink(DocPath link, Content label, String title, String target) argument 278 getHyperLink(DocLink link, Content label, String title, String target) argument [all...] |
/openjdk10/nashorn/samples/ |
H A D | gutenberg.js | 46 // of objects having only title and link properties 62 var title, link; 78 case 'link': 79 link = getChars(); 87 items.push({ title: title, link: link }); 106 // We insert title and link in <li> elements here. 110 <a href="${i.link}">${i.title}</a>
|
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/ |
H A D | BytecodePosition.java | 113 public BytecodePosition addCaller(BytecodePosition link) { argument 115 return new BytecodePosition(link, getMethod(), getBCI()); 117 return new BytecodePosition(getCaller().addCaller(link), getMethod(), getBCI());
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.graph/src/org/graalvm/compiler/graph/ |
H A D | NodeSourcePosition.java | 84 public NodeSourcePosition addCaller(JavaConstant newCallerReceiver, NodeSourcePosition link) { argument 87 return new NodeSourcePosition(newCallerReceiver, link, getMethod(), getBCI()); 89 return new NodeSourcePosition(receiver, getCaller().addCaller(newCallerReceiver, link), getMethod(), getBCI()); 93 public NodeSourcePosition addCaller(NodeSourcePosition link) { argument 94 return addCaller(null, link);
|
/openjdk10/jdk/test/java/nio/file/Files/walkFileTree/ |
H A D | CreateFileTree.java | 38 Path link = dir.resolve("testlink"); 41 Files.createSymbolicLink(link, target); 42 Files.delete(link); 88 String name = "link" + (i+1); 89 Path link = dirs.get(x).resolve(name); 91 Files.createSymbolicLink(link, target);
|
/openjdk10/jdk/test/java/nio/file/attribute/BasicFileAttributeView/ |
H A D | Basic.java | 49 check(!attrs.isSymbolicLink(), "is not a link"); 64 check(!attrs.isSymbolicLink(), "is not a link"); 89 static void checkAttributesOfLink(Path link) argument 93 Files.readAttributes(link, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS); 94 check(attrs.isSymbolicLink(), "is a link"); 114 Path link = dir.resolve("link"); 116 Files.createSymbolicLink(link, file); 122 checkAttributesOfLink(link);
|
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ |
H A D | LinkFactoryImpl.java | 44 * A factory that returns a link given the information about it. 89 Content link = new ContentBuilder(); 95 link.addContent(m_writer.getHyperLink( 101 link.addContent(getTypeParameterLinks(linkInfo)); 103 return link; 112 link.addContent(crossLink); 114 link.addContent(getTypeParameterLinks(linkInfo)); 116 return link; 119 // Can't link so just write label. 120 link [all...] |
/openjdk10/jdk/test/javax/swing/JFileChooser/6798062/ |
H A D | bug6798062.java | 142 pnContent.add(new JLabel("Provide link here:")); 162 private final ShellFolder link; field in class:bug6798062.MyThread 164 private MyThread(int delay, String link) { argument 170 linkFolder = ShellFolder.getShellFolder(new File(link)); 177 this.link = linkFolder; 183 if (link != null) { 185 link.getLinkLocation();
|
/openjdk10/make/ |
H A D | ZipSource.gmk | 57 $$(if $(filter $(TOPDIR)/%, $d), $$(link-file-relative), $$(link-file-absolute)) \
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jrtfs/ |
H A D | ExplodedImage.java | 78 private PathNode link; field in class:ExplodedImage.PathNode 86 PathNode(String name, Node link) { // link argument 87 super(name, link.getFileAttributes()); 88 this.link = (PathNode)link; 99 (link == null && getFileAttributes().isDirectory()); 104 return link != null; 109 if (link == null) 111 return recursive && link [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/model/impl/ |
H A D | RuntimeValuePropertyInfoImpl.java | 62 public void link() { method in class:RuntimeValuePropertyInfoImpl 64 super.link();
|
H A D | RuntimeAttributePropertyInfoImpl.java | 62 public void link() { method in class:RuntimeAttributePropertyInfoImpl 64 super.link();
|