/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/ |
H A D | BasicPopupMenuUI.java | 347 MenuElement path[] = e.getPath(); 400 MenuElement newPath[] = new MenuElement[path.length+1]; 401 System.arraycopy(path, 0, newPath, 0, path.length); 402 newPath[path.length] = newItem; 473 MenuElement path[] = msm.getSelectedPath(); 475 if(path.length > 0) { 476 lastElement = path[path.length-1]; 478 MenuElement newPath[] = new MenuElement[path 1067 getActivePopup(MenuElement[] path) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | JTree.java | 111 * NOTE: This example obtains both the path and row, but you only need to 189 * particular path is expanded. This ONLY indicates whether a 190 * given path is expanded, and NOT if it is visible or not. That 291 * Lead selection path, may not be <code>null</code>. 296 * Anchor path. 336 private final TreePath path; field in class:JTree.DropLocation 339 private DropLocation(Point p, TreePath path, int index) { argument 341 this.path = path; 347 * with respect to the path returne 1530 isPathEditable(TreePath path) argument 1650 setSelectionPath(TreePath path) argument 1763 addSelectionPath(TreePath path) argument 1942 isPathSelected(TreePath path) argument 2012 hasBeenExpanded(TreePath path) argument 2023 isExpanded(TreePath path) argument 2070 isCollapsed(TreePath path) argument 2090 makeVisible(TreePath path) argument 2108 isVisible(TreePath path) argument 2133 getPathBounds(TreePath path) argument 2162 scrollPathToVisible(TreePath path) argument 2218 getRowForPath(TreePath path) argument 2233 expandPath(TreePath path) argument 2263 collapsePath(TreePath path) argument 2422 startEditingAtPath(TreePath path) argument 2645 removeSelectionPath(TreePath path) argument 2790 fireTreeExpanded(TreePath path) argument 2821 fireTreeCollapsed(TreePath path) argument 2853 fireTreeWillExpand(TreePath path) argument 2880 fireTreeWillCollapse(TreePath path) argument 3251 getModelIndexsForPath(TreePath path) argument 3614 setExpandedState(TreePath path, boolean state) argument 3794 removeDescendantSelectedPaths(TreePath path, boolean includePath) argument 3809 getDescendantSelectedPaths(TreePath path, boolean includePath) argument 4672 private TreePath path = null; field in class:JTree.AccessibleJTree.AccessibleJTreeNode [all...] |
/openjdk9/jdk/src/java.base/share/classes/java/io/ |
H A D | FileSystem.java | 44 * Return the local filesystem's path-separator character. 52 public abstract String normalize(String path); argument 58 public abstract int prefixLength(String path); argument 75 * Post-process the given URI path string if necessary. This is used on 76 * win32, e.g., to transform "/c:/foo" into "c:/foo". The path string 80 public abstract String fromURIPath(String path); argument 96 public abstract String canonicalize(String path) throws IOException; argument 216 * Retrieve the maximum length of a component of a file path. 218 * @return The maximum length of a file path component. 220 public abstract int getNameMax(String path); argument [all...] |
/openjdk9/hotspot/test/compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/module/ |
H A D | ModuleSourceProviderTest.java | 64 public boolean isDirectory(Path path) { 69 public Path getSubDirectory(FileSystem fileSystem, Path root, Path path) throws IOException { 73 return getSubDirectory.apply(root, path); 81 getSubDirectory = (root, path) -> { 82 if (root.toString().equals("modules") && path.toString().equals("test.module")) {
|
/openjdk9/jdk/src/java.base/share/classes/sun/util/resources/ |
H A D | BreakIteratorResourceBundle.java | 72 String path = getClass().getPackage().getName().replace('.', '/') 75 try (InputStream is = getResourceAsStream(path)) { 78 throw new InternalError("Can't load " + path, e); 83 private InputStream getResourceAsStream(String path) throws Exception { argument 85 pa = () -> getClass().getModule().getResourceAsStream(path);
|
/openjdk9/jdk/src/jdk.jdwp.agent/windows/native/libjdwp/ |
H A D | linker_md.c | 44 char *path, *paths_copy, *next_token; local 52 path = strtok_s(paths_copy, PATH_SEPARATOR, &next_token); 54 while (path != NULL) { 55 _snprintf(buffer, buflen, "%s\\%s.dll", path, fname); 60 path = strtok_s(NULL, PATH_SEPARATOR, &next_token); 103 * Build a machine dependent library name out of a path and file name.
|
/openjdk9/jdk/src/jdk.jdwp.agent/unix/native/libjdwp/ |
H A D | linker_md.c | 59 char *path, *paths_copy, *next_token; local 67 path = strtok_r(paths_copy, PATH_SEPARATOR, &next_token); 69 while (path != NULL) { 70 snprintf(buffer, buflen, "%s/lib%s." LIB_SUFFIX, path, fname); 75 path = strtok_r(NULL, PATH_SEPARATOR, &next_token); 96 * appropriate pre and extensions to a filename and the path
|
/openjdk9/jdk/test/jdk/lambda/separate/ |
H A D | DirectedClassLoader.java | 63 String path = name.replace(".", File.separator) + ".class"; 66 if (location == null || !(new File(location, path)).exists()) { 67 File def = new File(defaultLocation, path); 69 return defineFrom(name, new File(location, path)); 72 return defineFrom(name, new File(location, path));
|
/openjdk9/langtools/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/ |
H A D | DirectedClassLoader.java | 63 String path = name.replace(".", File.separator) + ".class"; 66 if (location == null || !(new File(location, path)).exists()) { 67 File def = new File(defaultLocation, path); 69 return defineFrom(name, new File(location, path)); 72 return defineFrom(name, new File(location, path));
|
/openjdk9/jdk/src/jdk.management.agent/windows/native/libmanagement_agent/ |
H A D | FileSystemImpl.c | 56 static jboolean isSecuritySupported(JNIEnv* env, const char* path) { argument 69 root = strdup(path); 135 static SECURITY_DESCRIPTOR* getFileSecurityDescriptor(JNIEnv* env, const char* path) { argument 141 GetFileSecurityA(path, info , 0, 0, &len); 150 if (!(*GetFileSecurityA)(path, info, sd, len, &len)) { 269 const char* path; local 271 path = JNU_GetStringPlatformChars(env, str, &isCopy); 272 if (path != NULL) { 273 res = isSecuritySupported(env, path); 275 JNU_ReleaseStringPlatformChars(env, str, path); 295 const char* path; local [all...] |
/openjdk9/jdk/test/java/nio/file/Files/ |
H A D | StreamTest.java | 168 Object[] actual = s.filter(path -> ! path.equals(testFolder)) 273 public boolean test(Path path, BasicFileAttributes attrs) { argument 274 visited.add(path); 275 return pred.test(path, attrs); 284 PathBiPredicate pred = new PathBiPredicate((path, attrs) -> true); 292 pred = new PathBiPredicate((path, attrs) -> attrs.isSymbolicLink()); 294 s.forEach(path -> assertTrue(Files.isSymbolicLink(path))); 298 pred = new PathBiPredicate((path, attr [all...] |
/openjdk9/jdk/test/jdk/nio/zipfs/ |
H A D | ZipFSTester.java | 110 Path path = fs.getPath(pname); 111 if (!Files.exists(path)) 112 throw new RuntimeException("path existence check failed!"); 113 while ((path = path.getParent()) != null) { 114 if (!Files.exists(path)) 136 // newFileSystem(path...) should not throw exception 277 for (String path : list) { 279 z2zcopy(fs1, fs2, path, 0); 292 for (String path 468 newZipFileSystem(Path path, Map<String, ?> env) argument 485 list(Path path, List<String> files, List<String> dirs ) argument 499 z2zcopy(FileSystem src, FileSystem dst, String path, int method) argument 539 z2zmove(FileSystem src, FileSystem dst, String path) argument 563 walk(Path path) argument 605 mkdirs(Path path) argument 617 rmdirs(Path path) argument 782 channel(FileSystem fs, Path path) argument [all...] |
H A D | ZFSTests.java | 53 Path path = Paths.get(DIRWITHSPACE, "file.zip"); 56 URI uri = URI.create("jar:" + path.toUri()); 61 Files.deleteIfExists(path); 67 Path path = Paths.get("file.zip"); 69 URI uri = URI.create("jar:" + path.toUri()); 84 throw new RuntimeException("wrong path name created"); 90 Files.deleteIfExists(path); 95 Path path = Paths.get("file.zip"); 97 URI uri = URI.create("jar:" + path.toUri()); 142 Files.deleteIfExists(path); [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/sun/font/ |
H A D | CompositeStrike.java | 171 GeneralPath path = strike.getGlyphOutline(glyphCode & SLOTMASK, x, y); 172 if (path == null) { 175 return path; 187 GeneralPath path = null; 205 if (path == null) { 206 path = gp; 208 path.append(gp, false); 211 if (path == null) { 214 return path;
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/ |
H A D | DefaultSynthStyleFactory.java | 81 String path, int type) throws PatternSyntaxException { 82 if (path == null) { 83 // Make an empty path match all. 84 path = ".*"; 88 path, style, type)); 92 path.toLowerCase(), style, type)); 151 String path; 154 path = cName; 157 path = idName; 160 if (sa.matches(path) 80 addStyle(DefaultSynthStyle style, String path, int type) argument [all...] |
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | DocFile.java | 46 * (e.g. via a path on the command line) or relative to a Location. 69 public static DocFile createFileForOutput(Configuration configuration, DocPath path) { argument 70 return DocFileFactory.getFactory(configuration).createFileForOutput(path); 77 * a location or path. 82 * The path relative to the (output) location. Maybe null if the file was 83 * created without a location or path. 85 protected final DocPath path; field in class:DocFile 92 * @param path the subdirectory of the directories of the location for which to 95 public static Iterable<DocFile> list(Configuration configuration, Location location, DocPath path) { argument 96 return DocFileFactory.getFactory(configuration).list(location, path); 107 DocFile(Configuration configuration, Location location, DocPath path) argument [all...] |
H A D | StandardDocFileFactory.java | 103 public DocFile createFileForOutput(DocPath path) { argument 104 return new StandardDocFile(DocumentationTool.Location.DOCUMENTATION_OUTPUT, path); 108 Iterable<DocFile> list(Location location, DocPath path) { argument 117 f = f.resolve(path.getPath()); 125 private static Path newFile(Path dir, String path) { argument 126 return (dir == null) ? Paths.get(path) : dir.resolve(path); 138 /** Create a StandardDocFile for a given location and relative path. */ 139 private StandardDocFile(Location location, DocPath path) { argument 140 super(configuration, location, path); 310 getFileObjectForOutput(DocPath path) argument [all...] |
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/ |
H A D | PackageTreeWriter.java | 71 DocPath path, 75 super(configuration, path, 99 DocPath path = DocPath.forPackage(pkg).resolve(DocPaths.PACKAGE_TREE); 101 packgen = new PackageTreeWriter(configuration, path, pkg, 108 exc.toString(), path.getPath()); 195 DocPath path = DocPath.relativePath(packagedoc, prev); 196 return getNavLinkPrevious(path.resolve(DocPaths.PACKAGE_TREE)); 209 DocPath path = DocPath.relativePath(packagedoc, next); 210 return getNavLinkNext(path.resolve(DocPaths.PACKAGE_TREE)); 70 PackageTreeWriter(ConfigurationImpl configuration, DocPath path, PackageDoc packagedoc, PackageDoc prev, PackageDoc next) argument
|
/openjdk9/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/som/cff/ |
H A D | FileLocator.java | 63 static final String classPath = pp.getProperty ("java.class.path", "."); 64 static final String pathSeparator = pp.getProperty ("path.separator", ";"); 92 String path = ""; 103 try {path = st.nextToken ();} 105 int pLen = path.length (); 106 String pathLast4 = pLen > 3 ? path.substring (pLen - 4) : ""; 112 result = locateInZipFile (path, classFileName, true, true); 124 try {cf = new File (path + File.separator + pathNameForm); 149 new FileInputStream (cf)), path + File.separator + pathNameForm, 164 * may be qualified with a partial path nam [all...] |
/openjdk9/jdk/src/java.security.jgss/share/classes/sun/security/krb5/ |
H A D | Realm.java | 243 * This method would read [capaths] to create a path, or generate a 244 * hierarchical path if [capaths] does not contain a sub-stanza for cRealm 271 * subtag S has a value which is a (possibly partial) path from C 272 * to S. When the path is partial, it contains only the tail of the 273 * full path. Values of other subtags will be used to build the full 274 * path. The value "." means a direct path from C to S. If realm S 275 * does not appear as a subtag, there is no path defined here. 280 * When a path value has more than two realms, they can be specified 293 * TIVOLI.COM has a direct path t [all...] |
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ |
H A D | InverseDepsAnalyzer.java | 183 // path is in reversed order 184 Deque<Archive> path = new LinkedList<>(); 185 path.push(target); 192 return makePaths(path).collect(Collectors.toSet()); 203 path.addLast(node); 211 trace("visiting %s %s (%s)%n", edge, path, unvisitedDeps); 213 makePaths(path).forEach(allPaths::add); 214 path.removeLast(); 221 // when the adjacent edges of a node are visited, pop it from the path 222 while (!path 236 makePaths(Deque<Archive> path) argument [all...] |
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/ |
H A D | StandardDocFileFactory.java | 113 public DocFile createFileForOutput(DocPath path) { argument 114 return new StandardDocFile(DocumentationTool.Location.DOCUMENTATION_OUTPUT, path); 118 Iterable<DocFile> list(Location location, DocPath path) { argument 127 f = f.resolve(path.getPath()); 135 private static Path newFile(Path dir, String path) { argument 136 return (dir == null) ? Paths.get(path) : dir.resolve(path); 147 /** Create a StandardDocFile for a given location and relative path. */ 148 private StandardDocFile(Location location, DocPath path) { argument 149 super(location, path); 359 getFileObjectForOutput(DocPath path) argument [all...] |
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ |
H A D | SALauncherLoader.java | 41 * "java.class.path". Because, this class loader loads SA debugger classes 44 * "sa.library.path" System property. This way updated/latest SA native library 51 * the System property "sa.library.path". 66 String salibpath = System.getProperty("sa.library.path"); 120 final String s = System.getProperty("java.class.path"); 121 final File[] path = (s == null) ? new File[0] : getClassPath(s); 123 return pathToURLs(path); 126 private static URL[] pathToURLs(File[] path) { argument 127 URL[] urls = new URL[path.length]; 128 for (int i = 0; i < path [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifMenuUI.java | 122 MenuElement path[] = getPath(); 123 if (path.length > 0) { 124 MenuElement newPath[] = new MenuElement[path.length+1]; 125 System.arraycopy(path,0,newPath,0,path.length); 126 newPath[path.length] = menu.getPopupMenu();
|
/openjdk9/langtools/test/jdk/jshell/ |
H A D | CustomEditor.java | 48 private final Path path; field in class:CustomEditor 54 this.path = Paths.get(fileName); 56 this.source = new String(Files.readAllBytes(path), StandardCharsets.UTF_8); 67 Files.write(path, Collections.singletonList(writer.toString())); 79 Files.delete(path); 86 Files.write(path, Collections.singletonList(writer.toString()));
|