/openjdk9/hotspot/test/gc/class_unloading/ |
H A D | TestClassUnloadingDisabled.java | 89 String path; field in class:NoPDClassLoader 91 NoPDClassLoader(String path) { argument 92 this.path = path; 97 File f = new File(path,name + ".class"); 106 Path path = Paths.get(f.getAbsolutePath()); 107 cls = Files.readAllBytes(path);
|
/openjdk9/hotspot/test/native/ |
H A D | GTestWrapper.java | 51 Path path = nativePath.resolve(jvmVariantDir); 52 if (!path.toFile().exists()) { 54 path = nativePath.getParent() 59 if (!path.toFile().exists()) { 62 path = path.resolve("gtestLauncher" + (Platform.isWindows() ? ".exe" : "")); 64 path.toString(),
|
/openjdk9/jdk/src/jdk.httpserver/share/classes/sun/net/httpserver/ |
H A D | ContextList.java | 47 /* initially contexts are located only by protocol:path. 50 synchronized HttpContextImpl findContext (String protocol, String path) { argument 51 return findContext (protocol, path, false); 54 synchronized HttpContextImpl findContext (String protocol, String path, boolean exact) { argument 63 if (exact && !cpath.equals (path)) { 65 } else if (!exact && !path.startsWith(cpath)) { 76 public synchronized void remove (String protocol, String path) argument 79 HttpContextImpl ctx = findContext (protocol, path, true);
|
H A D | HttpContextImpl.java | 34 * HttpContext represents a mapping between a protocol (http or https) together with a root URI path 36 * for the protocol/path on the associated HttpServer. 43 private String path; field in class:HttpContextImpl 58 HttpContextImpl (String protocol, String path, HttpHandler cb, ServerImpl server) { argument 59 if (path == null || protocol == null || path.length() < 1 || path.charAt(0) != '/') { 60 throw new IllegalArgumentException ("Illegal value for path or protocol"); 63 this.path = path; [all...] |
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/options/ |
H A D | SourceLocation.java | 51 private Path path; field in class:SourceLocation 56 public SourceLocation(Path path, argument 59 this.path = path; 85 Source.scanRoot(path.toFile(), 101 return path; 117 getClass().getSimpleName(), path, includes, excludes);
|
/openjdk9/common/bin/ |
H A D | unshuffle_patch.sh | 124 path= 130 path="`echo "$line" | sed -e s@'diff --git a/'@@ -e s@' b/.*$'@@`" 132 path="`echo "$line" | sed -e s@'--- a/'@@`" 134 path="`echo "$line" | sed s@'+++ b/'@@`" 136 verbose "Extracted path: \"$path\"" 139 if ! echo "$path" | egrep '^src/.*' > /dev/null ; then 140 verbose "Not a src path, skipping." 147 if echo "$path" | egrep '^src/java\..*|^src/jdk\..*' > /dev/null ; then 157 matchpath="$repo"/"$path"/ [all...] |
/openjdk9/jdk/src/java.base/unix/classes/sun/nio/fs/ |
H A D | UnixNativeDispatcher.java | 38 // returns a NativeBuffer containing the given path 39 private static NativeBuffer copyToNativeBuffer(UnixPath path) { argument 40 byte[] cstr = path.getByteArrayForSysCalls(); 46 // buffer already contains the path 47 if (buffer.owner() == path) 51 buffer.setOwner(path); 66 * int open(const char* path, int oflag, mode_t mode) 68 static int open(UnixPath path, int flags, int mode) throws UnixException { argument 69 NativeBuffer buffer = copyToNativeBuffer(path); 80 * int openat(int dfd, const char* path, in 82 openat(int dfd, byte[] path, int flags, int mode) argument 143 unlink(UnixPath path) argument 156 unlinkat(int dfd, byte[] path, int flag) argument 170 mknod(UnixPath path, int mode, long dev) argument 216 mkdir(UnixPath path, int mode) argument 229 rmdir(UnixPath path) argument 244 readlink(UnixPath path) argument 259 realpath(UnixPath path) argument 288 stat(UnixPath path, UnixFileAttributes attrs) argument 305 stat(UnixPath path) argument 319 lstat(UnixPath path, UnixFileAttributes attrs) argument 338 fstatat(int dfd, byte[] path, int flag, UnixFileAttributes attrs) argument 354 chown(UnixPath path, int uid, int gid) argument 368 lchown(UnixPath path, int uid, int gid) argument 387 chmod(UnixPath path, int mode) argument 406 utimes(UnixPath path, long times0, long times1) argument 427 opendir(UnixPath path) argument 468 access(UnixPath path, int amode) argument 483 exists(UnixPath path) argument 541 statvfs(UnixPath path, UnixFileStoreAttributes attrs) argument 557 pathconf(UnixPath path, int name) argument [all...] |
H A D | UnixPath.java | 51 private final byte[] path; field in class:UnixPath 59 // array of offsets of elements in path (created lazily) 62 UnixPath(UnixFileSystem fs, byte[] path) { argument 64 this.path = path; 116 // encodes the given path-string into a sequence of bytes 159 return path; 162 // use this path when making system/library calls 167 return resolve(getFileSystem().defaultDirectory(), path); 170 return path; [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/event/ |
H A D | MenuKeyEvent.java | 52 private MenuElement path[]; field in class:MenuKeyEvent 68 * @param p an array of MenuElement objects specifying a path 76 path = p; 81 * Returns the path to the menu item referenced by this event. 83 * @return an array of MenuElement objects representing the path value 86 return path;
|
/openjdk9/jdk/src/java.instrument/unix/native/libinstrument/ |
H A D | FileSystemSupport_md.c | 46 char* basePath(const char* path) { argument 47 char* last = strrchr(path, slash); 49 return (char*)path; 51 int len = last - path; 54 memcpy(str, path, len); 61 int isAbsolute(const char* path) { argument 62 return (path[0] == slash) ? 1 : 0; 148 char* fromURIPath(const char* path) { argument 149 int len = strlen(path); 150 if (len > 1 && path[le [all...] |
/openjdk9/jdk/test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/ |
H A D | IOExceptionIfEncodedURLTest.java | 27 @summary REGRESSION: AppletViewer throws IOException when path is encoded URL 55 String path = ParseUtil.fileToEncodedURL(new File(System.getProperty("user.dir"))).getPath(); 57 System.err.println("url="+url+" -> path="+path+",filename="+filename); 59 if (!path.endsWith("/") && !filename.startsWith("/")) {
|
/openjdk9/langtools/test/tools/javac/file/ |
H A D | T8143268.java | 60 void check(String path) { argument 61 if (!new File(path).exists()) { 62 throw new Error("file not found: " + path);
|
/openjdk9/jdk/src/java.base/share/classes/java/net/ |
H A D | URLStreamHandler.java | 131 String path = u.getPath(); 236 // If the authority is defined then the path is defined by the 239 path = ""; 246 // Parse the file path if any 249 path = spec.substring(start, limit); 250 } else if (path != null && path.length() > 0) { 252 int ind = path.lastIndexOf('/'); 256 path = path 537 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument [all...] |
/openjdk9/jdk/src/java.base/macosx/classes/sun/nio/fs/ |
H A D | MacOSXNativeDispatcher.java | 40 static native char[] normalizepath(char[] path, int form); argument
|
/openjdk9/jdk/src/java.base/windows/classes/jdk/internal/loader/ |
H A D | FileURLMapper.java | 49 * @return the platform specific path corresponding to the URL, and in particular 65 String path = url.getFile().replace('/', '\\'); 66 file = ParseUtil.decode(path); 71 String path = getPath(); 72 File f = new File (path);
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/tree/ |
H A D | TreeSelectionModel.java | 49 * path (<code>SINGLE_TREE_SELECTION</code>) a number of 76 * should result in only one path being selected: 82 * The lead TreePath is the last path that was added (or set). The lead 91 /** Selection can only contain one path at a time. */ 128 * Sets the selection to path. If this represents a change, then 129 * the TreeSelectionListeners are notified. If <code>path</code> is 132 * @param path new path to select 134 void setSelectionPath(TreePath path); argument 137 * Sets the selection to path 152 addSelectionPath(TreePath path) argument 171 removeSelectionPath(TreePath path) argument 215 isPathSelected(TreePath path) argument [all...] |
/openjdk9/jdk/src/jdk.management.agent/unix/native/libmanagement_agent/ |
H A D | FileSystemImpl.c | 61 const char *path = JNU_GetStringPlatformChars(env, str, &isCopy); local 62 if (path != NULL) { 64 if (stat64(path, &sb) == 0) { 70 JNU_ReleaseStringPlatformChars(env, str, path);
|
/openjdk9/jdk/test/java/nio/file/spi/m/p/ |
H A D | Main.java | 56 Path path = file.toPath(); 57 if (path.getFileSystem() != fs) 58 throw new RuntimeException("'path' not in default file system"); 59 if (!path.equals(foo)) 60 throw new RuntimeException(path + " not equal to " + foo);
|
/openjdk9/jdk/test/java/net/URL/ |
H A D | B4148751.java | 39 final static String path = "/some file.html"; field in class:B4148751 67 if (!uri.getPath().equals (path)) { 69 path); 74 URI uri1 = new URI (scheme, auth, path);
|
/openjdk9/langtools/test/tools/javac/processing/errors/EnsureMirroredTypeException/ |
H A D | Source.java | 12 @Processor.A(a=some.path.to.SomeUnknownClass$Inner.class)
|
/openjdk9/nashorn/samples/ |
H A D | find_max_lines.js | 40 var path = Paths.get(file); variable 53 var obj = Files.find(path, Integer.MAX_VALUE, 55 map(function(p) ({ path : p, lines: lines(p) })). 58 // print path and lines of the max line file 59 print(obj.path, obj.lines);
|
/openjdk9/jdk/test/java/nio/file/Files/ |
H A D | CustomOptions.java | 60 public SeekableByteChannel newByteChannel(Path path, argument 69 return super.newByteChannel(path, options, attrs); 84 Path path = fs.getPath(dir.resolve("foo").toString()); 85 Files.createFile(path); 88 Files.newInputStream(path, CustomOption.IGNORE).close(); 94 Files.newInputStream(path, new OpenOption[] { null }).close(); 100 Files.newInputStream(path, StandardOpenOption.WRITE).close(); 104 Files.newInputStream(path, StandardOpenOption.APPEND).close();
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/ |
H A D | base.js | 64 preVisitDirectory: function(path, attrs) { 65 var name = path.toString(); 78 postVisitDirectory: function(path, attrs) { 92 var path = parts; 93 var cls = path.pop(); 95 path.push(cls); 97 if (path[0] !== "javafx" || /\$\d+$/.test(cls)) { 101 JFX_CLASSES[module].push(path);
|
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/ |
H A D | JMenuOperator.java | 450 * @param path a menu path. 451 * @param delim a path delimiter. 456 public JMenuItem pushMenu(String path, String delim, StringComparator comparator) { argument 457 output.printLine("Pushing " + path + " menu in \n " + toStringSource()); 458 output.printGolden("Pushing " + path + " menu in \n " + toStringSource()); 459 return pushMenu(parseString(path, delim), comparator); 465 * @param path a menu path. 470 public JMenuItem pushMenu(String path, StringComparato argument 490 pushMenu(String path, String delim, boolean ce, boolean ccs) argument 502 pushMenuNoBlock(String path, String delim, StringComparator comparator) argument 515 pushMenuNoBlock(String path, StringComparator comparator) argument 534 pushMenuNoBlock(String path, String delim, boolean ce, boolean ccs) argument 547 pushMenu(String path, String delim) argument 560 pushMenu(String path) argument 572 pushMenuNoBlock(String path, String delim) argument 583 pushMenuNoBlock(String path) argument 601 showMenuItems(String[] path, StringComparator comparator) argument 613 showMenuItems(String[] path) argument 626 showMenuItems(String path, String delim, StringComparator comparator) argument 639 showMenuItems(String path, String delim) argument 652 showMenuItems(String path, StringComparator comparator) argument 665 showMenuItems(String path) argument 694 showMenuItem(String[] path, StringComparator comparator) argument 718 showMenuItem(String[] path) argument 732 showMenuItem(String path, String delim, StringComparator comparator) argument 745 showMenuItem(String path, String delim) argument 758 showMenuItem(String path, StringComparator comparator) argument 771 showMenuItem(String path) argument [all...] |
/openjdk9/jdk/src/java.base/share/classes/jdk/internal/jrtfs/ |
H A D | JrtFileSystem.java | 133 for (String path : more) { 134 if (path.length() > 0) { 138 sb.append(path); 202 return (Path path) -> pattern.matcher(path.toString()).matches(); 205 JrtPath resolveLink(JrtPath path) throws IOException { argument 206 Node node = checkNode(path); 211 return path; 214 JrtFileAttributes getFileAttributes(JrtPath path, LinkOption... options) argument 216 Node node = checkNode(path); 229 iteratorOf(JrtPath path, DirectoryStream.Filter<? super Path> filter) argument 252 getFileContent(JrtPath path) argument 334 newFileChannel(JrtPath path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 341 newInputStream(JrtPath path) argument 345 newByteChannel(JrtPath path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 406 getFileStore(JrtPath path) argument 424 isLink(JrtPath path) argument 428 exists(JrtPath path) argument 437 isDirectory(JrtPath path, boolean resolveLinks) argument 445 toRealPath(JrtPath path, LinkOption... options) argument 455 lookup(String path) argument 463 lookupSymbolic(String path) argument 487 checkNode(JrtPath path) argument [all...] |