/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FileFilter.java | 41 * Tests whether or not the specified abstract pathname should be 42 * included in a pathname list. 44 * @param pathname The abstract pathname to be tested 45 * @return <code>true</code> if and only if <code>pathname</code> 48 boolean accept(File pathname); argument
|
H A D | FileSystem.java | 55 * Convert the given pathname string to normal form. If the string is 61 * Compute the length of this pathname string's prefix. The pathname 67 * Resolve the child pathname string against the parent. 74 * Return the parent pathname string to be used when the parent-directory 76 * pathname. 92 * Tell whether or not the given abstract pathname is absolute. 97 * Resolve the given abstract pathname into absolute form. Invoked by the 115 * by the given abstract pathname, or zero if it does not exist or some 126 * pathname ma 161 createFileExclusively(String pathname) argument [all...] |
H A D | File.java | 43 * <p> User interfaces and operating systems use system-dependent <em>pathname 46 * <em>abstract pathname</em> has two components: 51 * directory, or <code>"\\\\"</code> for a Microsoft Windows UNC pathname, and 55 * The first name in an abstract pathname may be a directory name or, in the 57 * in an abstract pathname denotes a directory; the last name may denote 58 * either a directory or a file. The <em>empty</em> abstract pathname has no 61 * <p> The conversion of a pathname string to or from an abstract pathname is 62 * inherently system-dependent. When an abstract pathname is converted into a 63 * pathname strin 249 File(String pathname, int prefixLength) argument 275 File(String pathname) argument 2054 compareTo(File pathname) argument [all...] |
/openjdk7/jdk/src/windows/back/ |
H A D | linker_md.c | 46 char *pathname = (char *)pname; local 47 while (strlen(pathname) > 0) { 48 char *p = strchr(pathname, *path_sep); 50 p = pathname + strlen(pathname); 53 if (p == pathname) { 57 (void)_snprintf(buffer, buflen, "%.*s%s.dll", (p - pathname), 58 pathname, fname); 60 (void)_snprintf(buffer, buflen, "%.*s\\%s.dll", (p - pathname), 61 pathname, fnam [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/helpers/ |
H A D | FileURL.java | 69 * @param pathname The path name component for which to construct a URL. 73 * @throws MalformedURLException if the pathname can't be turned into 76 public static URL makeURL(String pathname) throws MalformedURLException { argument 77 /*if (pathname.startsWith("/")) { 78 return new URL("file://" + pathname); 85 return new URL("file:///" + userdir + pathname); 87 return new URL("file:///" + userdir + "/" + pathname); 90 File file = new File(pathname);
|
/openjdk7/jdk/src/solaris/back/ |
H A D | linker_md.c | 62 char *pathname = (char *)pname; local 63 while (strlen(pathname) > 0) { 64 char *p = strchr(pathname, *path_sep); 66 p = pathname + strlen(pathname); 69 if (p == pathname) { 72 (void)snprintf(buffer, buflen, "%.*s/lib%s." LIB_SUFFIX, (p - pathname), 73 pathname, fname); 78 pathname = p + 1;
|
/openjdk7/jdk/src/solaris/instrument/ |
H A D | FileSystemSupport_md.c | 67 /* A normal Unix pathname contains no duplicate slashes and does not end 70 /* Normalize the given pathname, whose length is len, starting at the given 72 static char* normalizePath(const char* pathname, int len, int off) { argument 77 if (len == 0) return (char*)pathname; 79 while ((n > 0) && (pathname[n - 1] == slash)) n--; 82 sb = (char*)malloc(strlen(pathname)+1); 86 memcpy(sb, pathname, off); 92 char c = pathname[i]; 100 /* Check that the given pathname is normal. If not, invoke the real 101 normalizer on the part of the pathname tha 103 normalize(const char* pathname) argument [all...] |
/openjdk7/langtools/test/tools/javac/unit/ |
H A D | T6198196.java | 37 static void test(String pathname, String filename, boolean result) { argument 39 fo = fm.getJavaFileObjectsFromStrings(Arrays.asList(pathname)).iterator().next(); 41 throw new AssertionError("endsWith(" + pathname + ", " 43 System.out.format("OK: endsWith(%s, %s) = %s%n", pathname, filename, result);
|
/openjdk7/jdk/src/solaris/classes/java/io/ |
H A D | UnixFileSystem.java | 58 /* A normal Unix pathname contains no duplicate slashes and does not end 61 /* Normalize the given pathname, whose length is len, starting at the given 63 private String normalize(String pathname, int len, int off) { argument 64 if (len == 0) return pathname; 66 while ((n > 0) && (pathname.charAt(n - 1) == '/')) n--; 68 StringBuffer sb = new StringBuffer(pathname.length()); 69 if (off > 0) sb.append(pathname.substring(0, off)); 72 char c = pathname.charAt(i); 80 /* Check that the given pathname is normal. If not, invoke the real 81 normalizer on the part of the pathname tha 83 normalize(String pathname) argument 96 prefixLength(String pathname) argument [all...] |
/openjdk7/hotspot/agent/test/jdi/ |
H A D | runjdb.sh | 36 Usage: runjdb.sh corefile -jdk jdk-pathname -sa sa-pathname 37 sa-pathname is the path of a JDI-SA build dir. 88 echo "Error: -jdk jdk-pathname is required" 92 echo "Error: -sa sa-pathname is required"
|
H A D | multivm.sh | 31 Usage: multivm.sh <jdk-pathname> <pid1> <pid2>
|
H A D | serialvm.sh | 31 Usage: serialvm.sh <jdk-pathname> <pid1> <pid2>
|
H A D | runsa.sh | 36 Usage: runsa.sh [-jdk <jdk-pathname>] [-jdb] [ -jdbx ] [ -d64 ] [ -remote ] [ pid | corefile | debugserver ] 109 error "--Error: runsa.sh: Must specify -jdk <jdk-pathname>." 166 #operand is pathname of .class file, eg ./jj.class.
|
/openjdk7/jdk/src/windows/demo/jvmti/hprof/ |
H A D | hprof_md.c | 374 char *pathname = (char *)pname; local 375 while (strlen(pathname) > 0) { 376 char *p = strchr(pathname, ';'); 378 p = pathname + strlen(pathname); 381 if (p == pathname) { 385 (void)_snprintf(buffer, buflen, "%.*s%s.dll", (p - pathname), 386 pathname, fname); 388 (void)_snprintf(buffer, buflen, "%.*s\\%s.dll", (p - pathname), 389 pathname, fnam [all...] |
/openjdk7/jdk/src/solaris/demo/jvmti/hprof/ |
H A D | hprof_md.c | 382 char *pathname = (char *)pname; local 383 while (strlen(pathname) > 0) { 384 char *p = strchr(pathname, ':'); 386 p = pathname + strlen(pathname); 389 if (p == pathname) { 393 (p - pathname), pathname, fname); 398 pathname = p + 1;
|
/openjdk7/jdk/src/solaris/native/java/util/ |
H A D | TimeZone_md.c | 82 * UNIX. This function allocates memory for the pathname calling 110 char *pathname = NULL; local 156 pathname = getPathName(dir, dp->d_name); 157 if (pathname == NULL) { 160 if (stat(pathname, &statbuf) == -1) { 165 tz = findZoneinfoFile(buf, size, pathname); 174 if ((fd = open(pathname, O_RDONLY)) == -1) { 182 tz = getZoneName(pathname); 193 free((void *) pathname); 194 pathname [all...] |
/openjdk7/jdk/test/sun/reflect/CallerSensitive/ |
H A D | ClassFileReader.java | 85 String pathname = name.replace('.', File.separatorChar) + ".class"; 86 if (baseFileName.equals(pathname) || 87 baseFileName.equals(pathname.substring(0, i) + "$" + 88 pathname.substring(i+1, pathname.length()))) { 160 String pathname = name.replace('.', File.separatorChar) + ".class"; 161 Path p = path.resolve(pathname); 163 p = path.resolve(pathname.substring(0, i) + "$" + 164 pathname.substring(i+1, pathname [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/apt/ |
H A D | FilerImpl.java | 205 String pathname = nameToPath(name, ".java"); 207 pathname); 216 String pathname = nameToPath(name, ".class"); 218 pathname); 254 * pathname. Suffix is ".java" or ".class" or "". 270 * pathname relative to that location, and its encoding. 272 private PrintWriter getPrintWriter(Location loc, String pathname, argument 274 File file = new File(locations.get(loc), pathname); 295 * and its pathname relative to that location. 297 private OutputStream getOutputStream(Location loc, String pathname, Strin argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.java | 97 String pathname; field in class:FtpURLConnection 344 pathname = path.substring(0, i); 347 pathname = null; 350 pathname = path.substring(0, path.length() - 1); 353 if (pathname != null) { 354 fullpath = pathname + "/" + (filename != null ? filename : ""); 415 cd(pathname); 427 cd(pathname); 531 if (pathname != null) { 532 cd(pathname); [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/script/shell/ |
H A D | init.js | 360 * @param pathname file path to be converted 363 function pathToFile(pathname) { 364 var tmp = pathname; 369 return new File(curDir, pathname); 442 * @param pathname input path name 445 function dirname(pathname) { 448 var i = pathname.replace('/', File.separatorChar ).lastIndexOf( 451 dirName = pathname.substring(0, i); 466 * Creates the directory named by given pathname, including 479 * @param pathname nam [all...] |
/openjdk7/jdk/src/share/classes/com/sun/naming/internal/ |
H A D | VersionHelper12.java | 147 String pathname = javahome + java.io.File.separator + 149 return new java.io.FileInputStream(pathname);
|
/openjdk7/jdk/test/tools/pack200/ |
H A D | Utils.java | 157 public boolean accept(File pathname) { 158 String name = pathname.getName(); 168 public boolean accept(File pathname) { 169 if (pathname.isDirectory()) { 177 public boolean accept(File pathname) { 178 if (pathname.isFile()) {
|
/openjdk7/jdk/src/share/classes/sun/awt/shell/ |
H A D | ShellFolder.java | 51 ShellFolder(ShellFolder parent, String pathname) { argument 52 super((pathname != null) ? pathname : "ShellFolder");
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | UnixFileSystem_md.c | 74 jstring pathname) 78 WITH_PLATFORM_STRING(env, pathname, path) { 82 JNU_ThrowIOExceptionWithLastError(env, "Bad pathname"); 239 jstring pathname) 243 WITH_PLATFORM_STRING(env, pathname, path) { 73 Java_java_io_UnixFileSystem_canonicalize0(JNIEnv *env, jobject this, jstring pathname) argument 238 Java_java_io_UnixFileSystem_createFileExclusively(JNIEnv *env, jclass cls, jstring pathname) argument
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | Win32FileSystem_md.c | 74 jstring pathname) 78 WITH_PLATFORM_STRING(env, pathname, path) { 82 JNU_ThrowIOExceptionWithLastError(env, "Bad pathname"); 104 JNU_ThrowIOExceptionWithLastError(env, "Bad pathname"); 265 jstring pathname) 270 WITH_PLATFORM_STRING(env, pathname, path) { 73 Java_java_io_Win32FileSystem_canonicalize0(JNIEnv *env, jobject this, jstring pathname) argument 264 Java_java_io_Win32FileSystem_createFileExclusively(JNIEnv *env, jclass cls, jstring pathname) argument
|