/openjdk9/jdk/src/java.base/aix/classes/sun/nio/fs/ |
H A D | AixFileStore.java | 58 UnixPath path = null; 61 path = new UnixPath(fs, rp); 67 UnixPath parent = path.getParent(); 77 path = parent; 82 byte[] dir = path.asByteArray(); 93 private boolean isExtendedAttributesEnabled(UnixPath path) { argument
|
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/ |
H A D | StripDebugPlugin.java | 44 this((path) -> false); 67 String path = resource.path(); 68 if (path.endsWith(".class")) { 69 if (path.endsWith("module-info.class")) { 79 } else if (predicate.test(res.path())) {
|
/openjdk9/jdk/src/jdk.httpserver/share/classes/sun/net/httpserver/ |
H A D | HttpsServerImpl.java | 81 public HttpContextImpl createContext (String path, HttpHandler handler) { argument 82 return server.createContext (path, handler); 85 public HttpContextImpl createContext (String path) { argument 86 return server.createContext (path); 89 public void removeContext (String path) throws IllegalArgumentException { argument 90 server.removeContext (path);
|
H A D | HttpServerImpl.java | 73 public HttpContextImpl createContext (String path, HttpHandler handler) { argument 74 return server.createContext (path, handler); 77 public HttpContextImpl createContext (String path) { argument 78 return server.createContext (path); 81 public void removeContext (String path) throws IllegalArgumentException { argument 82 server.removeContext (path);
|
/openjdk9/nashorn/test/script/trusted/ |
H A D | JDK-util.js | 53 var path = System.getenv("PATH") 54 var st = new java.util.StringTokenizer(path, File.pathSeparator) 67 function cygpath(path,mode) { 69 var newpath = path 70 if(path.startsWith("/cygdrive/")){ 71 var str = path.substring(10)
|
/openjdk9/jdk/src/java.base/share/classes/java/io/ |
H A D | File.java | 138 * Path} that uses the abstract path represented by a {@code File} object to 164 private final String path; field in class:File 167 * Enum type that indicates the status of a file path. 172 * The flag indicating whether the file path is invalid. 177 * Check if the file has an invalid path. Currently, the inspection of 178 * a file path is very limited, and it only covers Nul character check. 179 * Returning true means the path is definitely invalid/garbage. But 180 * returning false does not guarantee that the path is valid. 182 * @return true if the file path is invalid. 186 status = (this.path 647 slashify(String path, boolean isDirectory) argument [all...] |
/openjdk9/jdk/test/jdk/nio/zipfs/ |
H A D | Demo.java | 75 zzmove, // <java Demo zzmove zfsrc zfdst path> 76 // move entry path/dir from zfsrc to zfdst 78 zzcopy, // <java Demo zzcopy zfsrc zfdst path> 79 // copy path from zipfile zfsrc to zipfile 82 attrs, // <java Demo attrs zipfile path> 83 // printout the attributes of entry path 85 attrsspace, // <java Demo attrsspace zipfile path> 86 // printout the storespace attrs of entry path 88 setmtime, // <java Demo setmtime zipfile "MM/dd/yy-HH:mm:ss" path...> 89 // set the lastModifiedTime of entry path 369 walk(Path path) argument 410 update(FileSystem fs, String path) argument 426 extract(FileSystem fs, String path) argument 445 z2zcopy(FileSystem src, FileSystem dst, String path) argument 470 z2zmove(FileSystem src, FileSystem dst, String path) argument 527 mkdirs(Path path) argument 541 rmdirs(Path path) argument 548 list(Path path, boolean verbose ) argument [all...] |
/openjdk9/jdk/src/java.base/share/classes/jdk/internal/jrtfs/ |
H A D | JrtPath.java | 61 private final String path; field in class:JrtPath 64 JrtPath(JrtFileSystem jrtfs, String path) { argument 66 this.path = normalize(path); 70 JrtPath(JrtFileSystem jrtfs, String path, boolean normalized) { argument 72 this.path = normalized ? path : normalize(path); 77 return path; 91 if (path 370 checkPath(Path path) argument 430 normalize(String path) argument 452 normalize(String path, int off) argument [all...] |
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ |
H A D | ClassFileReader.java | 59 * ClassFileReader reads ClassFile(s) of a given path that can be 64 * Returns a ClassFileReader instance of a given path. 66 public static ClassFileReader newInstance(Path path) throws IOException { argument 67 return newInstance(path, null); 71 * Returns a ClassFileReader instance of a given path. 73 public static ClassFileReader newInstance(Path path, Runtime.Version version) throws IOException { argument 74 if (Files.notExists(path)) { 75 throw new FileNotFoundException(path.toString()); 78 if (Files.isDirectory(path)) { 79 return new DirectoryReader(path); 92 newInstance(FileSystem fs, Path path) argument 96 protected final Path path; field in class:ClassFileReader 101 ClassFileReader(Path path) argument 220 DirectoryReader(Path path) argument 223 DirectoryReader(FileSystem fs, Path path) argument 305 JarFileReader(Path path, Runtime.Version version) argument 309 JarFileReader(Path path, JarFile jf, Runtime.Version version) argument [all...] |
H A D | Archive.java | 57 private final Path path; field in class:Archive 68 this.path = location != null ? Paths.get(location) : null; 74 this.path = p; 75 this.filename = path.getFileName().toString(); 132 return path != null ? path.toString() : filename; 137 return Objects.hash(this.filename, this.path); 144 if (path == other.path || isSameLocation(this, other)) 155 public Path path() { method in class:Archive [all...] |
/openjdk9/jdk/src/java.desktop/unix/native/libjsound/ |
H A D | PLATFORM_API_SolarisOS_Utils.c | 55 /* returns TRUE if the path exists at all */ 56 int addAudioDevice(char* path, AudioDevicePath* adPath, int* count) { argument 64 if (stat(path, &statBuf) == 0) { 78 strncpy(adPath[*count].path, path, MAX_NAME_LENGTH); 79 adPath[*count].path[MAX_NAME_LENGTH - 1] = 0; 81 TRACE1("Added audio device %s\n", path); 132 ret = getAudioDeviceDescription(globalADPaths[index].path, adDesc, getNames); 137 int getAudioDeviceDescription(char* path, AudioDeviceDescription* adDesc, int getNames) { argument 144 strncpy(adDesc->path, pat [all...] |
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ |
H A D | LivenessAnalysis.java | 60 // Returns true if a new path was completed, otherwise false 98 LivenessPath path = new LivenessPath(); 99 path.push(new LivenessPathElement(target, null)); 100 list.add(path); 106 LivenessPath path = null; 111 path = tmp; 117 if (path == null) { 121 // Try to complete this path 123 // Remove the path from the list of reported ones in 125 list.remove(path); [all...] |
/openjdk9/jdk/src/java.base/windows/classes/sun/net/www/protocol/file/ |
H A D | Handler.java | 78 String path; 82 path = ParseUtil.decode(file); 83 path = path.replace('/', '\\'); 84 path = path.replace('|', ':'); 89 return createFileURLConnection(url, new File(path)); 93 * attempt to treat this as a UNC path. See 4180841 95 path = "\\\\" + host + path; [all...] |
/openjdk9/jdk/test/java/nio/file/Files/ |
H A D | SetLastModifiedTime.java | 62 void test(Path path) throws Exception { argument 63 FileTime now = Files.getLastModifiedTime(path); 66 Path result = Files.setLastModifiedTime(path, zero); 67 assertTrue(result == path); 68 assertEquals(Files.getLastModifiedTime(path), zero); 70 result = Files.setLastModifiedTime(path, now); 71 assertTrue(result == path); 72 assertEquals(Files.getLastModifiedTime(path), now); 99 Path path = Paths.get("foo"); 108 Files.setLastModifiedTime(path, nul [all...] |
/openjdk9/jdk/test/tools/jlink/ |
H A D | ImageFilePoolTest.java | 79 String path = outFile.path().replaceAll(SUFFIX + "$", ""); 80 Optional<ResourcePoolEntry> inFile = input.findEntry(path); 82 throw new AssertionError("Unknown resource: " + path); 98 return newInMemoryImageFile(file.path() + SUFFIX, 99 file.type(), file.path()); 102 return newInMemoryImageFile(file.path(), 103 file.type(), file.path()); 146 private static ResourcePoolEntry newInMemoryImageFile(String path, argument 148 return ResourcePoolEntryFactory.create(path, typ [all...] |
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/source/util/ |
H A D | DocTreePath.java | 35 * A path of tree nodes, typically used to represent the sequence of ancestor 42 * Returns a documentation tree path for a tree node within a compilation unit, 44 * @param treePath the path for the node with which the doc comment is associated 47 * @return a path identifying the target within the tree 54 * Returns a documentation tree path for a tree node within a subtree 56 * @param path a path identifying a node within a doc comment tree 58 * @return a path identifying the target node 60 public static DocTreePath getPath(DocTreePath path, DocTree target) { argument 61 Objects.requireNonNull(path); //nul [all...] |
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/ |
H A D | BatchEnvironment.java | 71 * Create a ClassPath object for rmic from a class path string. 80 * options for class path and boot class path. 96 Path path = new Path(); 99 sysClassPathString = System.getProperty("sun.boot.class.path"); 102 path.addFiles(sysClassPathString); 107 * everywhere except in the boot class path. 109 path.expandJarClassPaths(true); 112 * In the application class path, an empty element means 115 path 135 BatchEnvironment(OutputStream out, ClassPath path, Main main) argument 230 private final String path; field in class:BatchEnvironment.Path.PathIterator 233 PathIterator(String path, String emptyPathDefault) argument 237 PathIterator(String path) argument [all...] |
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/ |
H A D | JTreeOperator.java | 75 * ComponentOperator.WaitStateTimeout - time to wait for path to be expanded, 394 * Expands path. 396 * @param path a path to be expanded. 399 public void doExpandPath(TreePath path) { argument 400 if (path != null) { 401 output.printLine("Expanding \"" + path.getPathComponent(path.getPathCount() - 1).toString() 403 output.printGolden("Expanding \"" + path.getPathComponent(path 433 doMakeVisible(TreePath path) argument 501 getChildCount(TreePath path) argument 517 getChildPath(TreePath path, int index) argument 533 getChildPaths(TreePath path) argument 915 findPath(String path, String indexes, String delim, StringComparator comparator) argument 942 findPath(String path, String indexes, String delim, boolean ce, boolean ccs) argument 958 findPath(String path, String indexes, String delim) argument 974 findPath(String path, String delim, StringComparator comparator) argument 988 findPath(String path, StringComparator comparator) argument 1008 findPath(String path, String delim, boolean ce, boolean ccs) argument 1022 findPath(String path, String delim) argument 1035 findPath(String path) argument 1046 doCollapsePath(TreePath path) argument 1079 selectPath(final TreePath path) argument 1139 getPointToClick(TreePath path) argument 1178 clickOnPath(TreePath path, int clickCount, int mouseButton, int modifiers) argument 1204 clickOnPath(TreePath path, int clickCount, int mouseButton) argument 1215 clickOnPath(TreePath path, int clickCount) argument 1225 clickOnPath(TreePath path) argument 1285 callPopupOnPath(TreePath path, int mouseButton) argument 1301 callPopupOnPath(TreePath path) argument 1310 scrollToPath(TreePath path) argument 1355 clickForEdit(TreePath path) argument 1369 getRenderedComponent(TreePath path, boolean isSelected, boolean isExpanded, boolean cellHasFocus) argument 1392 getRenderedComponent(TreePath path) argument 1409 changePathText(TreePath path, String newNodeText) argument 1420 changePathObject(TreePath path, Object newValue) argument 1431 waitExpanded(final TreePath path) argument 1489 waitCollapsed(final TreePath path) argument 1547 waitVisible(final TreePath path) argument 1615 waitSelected(final TreePath path) argument 2972 findPathPrimitive(TreePath path, TreePathChooser chooser, Waiter<Object[], Object[]> loadedWaiter) argument 2996 addChildrenToDump(Hashtable<String, Object> table, String title, Object node, TreePath path) argument 3009 pathToString(String[] path) argument 3041 NoSuchPathException(String[] path) argument 3059 NoSuchPathException(TreePath path) argument 3076 checkPath(TreePath path, int indexInParent) argument 3086 hasAsParent(TreePath path, int indexInParent) argument 3121 checkPath(TreePath path, int indexInParent) argument 3127 hasAsParent(TreePath path, int indexInParent) argument [all...] |
/openjdk9/hotspot/src/share/vm/classfile/ |
H A D | sharedPathsMiscInfo.hpp | 39 // + The class path elements specified during dumping but did not exist -- 62 void add_path(const char* path, int type); 69 virtual bool check(jint type, const char* path); 102 // The path must not exist at run-time 103 void add_nonexist_path(const char* path) { argument 104 add_path(path, NON_EXIST); 107 // The path must exist, and must contain exactly <num_entries> files/dirs 108 void add_boot_classpath(const char* path) { argument 109 add_path(path, BOOT); 144 virtual void print_path(int type, const char* path); [all...] |
/openjdk9/hotspot/src/os/solaris/dtrace/ |
H A D | jvm_dtrace.c | 118 static int file_open(const char* path, int flag) { argument 120 RESTARTABLE(open(path, flag), ret); 142 static int check_permission(const char* path) { argument 148 * Check that the path is owned by the effective uid/gid of this 154 res = stat64(path, &sb); 156 print_debug("stat failed for %s\n", path); 162 print_debug("well-known file %s is not secure\n", path); 171 static void fill_attach_file_name(char* path, int len, pid_t pid) { argument 172 memset(path, 0, len); 173 sprintf(path, ATTACH_FILE_PATTER 180 char path[PATH_MAX + 1]; local 202 char path[PATH_MAX + 1]; local 217 char path[PATH_MAX + 1]; local [all...] |
/openjdk9/hotspot/src/os/bsd/dtrace/ |
H A D | jvm_dtrace.c | 118 static int file_open(const char* path, int flag) { argument 120 RESTARTABLE(open(path, flag), ret); 142 static int check_permission(const char* path) { argument 148 * Check that the path is owned by the effective uid/gid of this 154 res = stat64(path, &sb); 156 print_debug("stat failed for %s\n", path); 162 print_debug("well-known file %s is not secure\n", path); 171 static void fill_attach_file_name(char* path, int len, pid_t pid) { argument 172 memset(path, 0, len); 173 sprintf(path, ATTACH_FILE_PATTER 180 char path[PATH_MAX + 1]; local 202 char path[PATH_MAX + 1]; local 217 char path[PATH_MAX + 1]; local [all...] |
/openjdk9/jdk/src/java.rmi/share/classes/com/sun/rmi/rmid/ |
H A D | ExecPermission.java | 66 * Creates a new ExecPermission object with the specified path. 67 * <i>path</i> is the pathname of a file or directory. 82 * @param path the pathname of the file/directory. 84 public ExecPermission(String path) { argument 85 super(path); 86 init(path); 90 * Creates a new ExecPermission object with the specified path. 91 * <i>path</i> is the pathname of a file or directory. 106 * @param path the pathname of the file/directory. 109 public ExecPermission(String path, Strin argument 212 init(String path) argument [all...] |
/openjdk9/jdk/test/java/awt/print/PrinterJob/ |
H A D | LandscapeStackOverflow.java | 80 Path2D.Double path = new Path2D.Double(); 81 path.moveTo( -scalex * 72, -scaley * 72 ); 82 path.lineTo( -scalex * 72, scaley * 72 ); 83 path.lineTo( scalex * 72, scaley * 72 ); 84 path.lineTo( scalex * 72, -scaley * 72 ); 85 path.closePath(); 87 g2d.draw( path );
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | MenuSelectionManager.java | 94 * @param path an array of <code>MenuElement</code> objects specifying 95 * the selected path 97 public void setSelectedPath(MenuElement[] path) { argument 102 if(path == null) { 103 path = new MenuElement[0]; 108 System.out.print("New: "); printMenuElementArray(path); 111 for(i=0,c=path.length;i<c;i++) { 112 if (i < currentSelectionCount && selection.elementAt(i) == path[i]) 124 for(i = firstDifference, c = path.length ; i < c ; i++) { 125 if (path[ 340 printMenuElementArray(MenuElement path[]) argument 344 printMenuElementArray(MenuElement path[], boolean dumpStack) argument [all...] |
/openjdk9/jdk/src/java.prefs/macosx/classes/java/util/prefs/ |
H A D | MacOSXPreferencesFile.java | 364 boolean addNode(String path) argument 368 return addNode(path, appName, user, host); 372 void removeNode(String path) argument 376 removeNode(path, appName, user, host); 380 boolean addChildToNode(String path, String child) argument 384 return addChildToNode(path, child+"/", appName, user, host); 388 void removeChildFromNode(String path, String child) argument 392 removeChildFromNode(path, child+"/", appName, user, host); 398 void addKeyToNode(String path, String key, String value) argument 402 addKeyToNode(path, ke 406 removeKeyFromNode(String path, String key) argument 414 getKeyFromNode(String path, String key) argument 423 getChildrenForNode(String path) argument 430 getKeysForNode(String path) argument 450 addNode(String path, String name, long user, long host) argument 452 removeNode(String path, String name, long user, long host) argument 454 addChildToNode(String path, String child, String name, long user, long host) argument 457 removeChildFromNode(String path, String child, String name, long user, long host) argument 460 addKeyToNode(String path, String key, String value, String name, long user, long host) argument 463 removeKeyFromNode(String path, String key, String name, long user, long host) argument 466 getKeyFromNode(String path, String key, String name, long user, long host) argument 469 getChildrenForNode(String path, String name, long user, long host) argument 471 getKeysForNode(String path, String name, long user, long host) argument [all...] |