/openjdk7/langtools/test/tools/javap/ |
H A D | T4459541.java | 85 String path = f.getPath(); 86 return new File(path.substring(0, path.length() - 5) + ".class");
|
H A D | T6622232.java | 69 String path = f.getPath(); 70 return new File(path.substring(0, path.length() - 5) + ".class");
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileSystem.java | 171 String path; 173 path = first; 184 path = sb.toString(); 186 return new ZipPath(this, getBytes(path)); 199 FileStore getFileStore(ZipPath path) { argument 200 return new ZipFileStore(path); 254 public boolean matches(Path path) { 255 return pattern.matcher(path.toString()).matches(); 310 ZipFileAttributes getFileAttributes(byte[] path) argument 317 e = getEntry0(path); 332 setTimes(byte[] path, FileTime mtime, FileTime atime, FileTime ctime) argument 356 exists(byte[] path) argument 368 isDirectory(byte[] path) argument 380 toZipPath(byte[] path) argument 389 iteratorOf(byte[] path, DirectoryStream.Filter<? super Path> filter) argument 493 newOutputStream(byte[] path, OpenOption... options) argument 538 newInputStream(byte[] path) argument 567 newByteChannel(byte[] path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 693 newFileChannel(byte[] path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 838 getTempPathForEntry(byte[] path) argument 851 removeTempPathForEntry(Path path) argument 858 checkParents(byte[] path) argument 872 getParent(byte[] path) argument 1089 createTempFileInSameDirectoryAs(Path path) argument 1308 getInode(byte[] path) argument 1323 getEntry0(byte[] path) argument 1332 deleteFile(byte[] path, boolean failIfNotExists) argument 2287 Path path; field in class:ZipFileSystem.ExChannelCloser 2290 ExChannelCloser(Path path, SeekableByteChannel ch, Set<InputStream> streams) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | LineBorder.java | 144 Path2D path = new Path2D.Float(Path2D.WIND_EVEN_ODD); 145 path.append(outer, false); 146 path.append(inner, false); 147 g2d.fill(path);
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | FileSystems.java | 57 * application class path or in the extension directory, the JAR file contains a 357 * @param path 358 * the path to the file 375 public static FileSystem newFileSystem(Path path, argument 379 if (path == null) 386 return provider.newFileSystem(path, env); 397 return provider.newFileSystem(path, env);
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | heapDumper.hpp | 75 int dump(const char* path);
|
/openjdk7/jdk/test/java/io/PrintStream/ |
H A D | FailingConstructors.java | 50 Path path = Files.createTempFile(fileName, null); 52 Files.write(path, FILE_CONTENTS.getBytes()); 53 test(true, path.toFile()); 55 Files.delete(path);
|
/openjdk7/jdk/test/java/net/URL/ |
H A D | URIToURLTest.java | 60 " url.path is " + url.getPath()); 90 String path = uri.getPath(); 91 boolean pathCheck = path == null? url.getPath() == null : 92 path.equals(url.getPath()); 94 throw new RuntimeException("uri.path is " + path + 95 " url.path is " +
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | BytesAndLines.java | 89 Path path = createTempFile("blah", null); 101 delete(path); 104 Path target = write(path, b1); 105 assertTrue(target==path, "Unexpected path"); 106 assertTrue(size(path) == b1.length, "Unexpected file size"); 109 write(path, b2, StandardOpenOption.APPEND); 110 assertTrue(size(path) == b1.length + b2.length, "Unexpected file size"); 113 byte[] read = readAllBytes(path); 127 deleteIfExists(path); [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/ |
H A D | SplitIndexWriter.java | 55 * Construct the SplitIndexWriter. Uses path to this file and relative path 58 * @param path Path to the file which is getting generated. 60 * @param relpath Relative path from this file to the current directory. 64 String path, String filename, 67 super(configuration, path, filename, relpath, indexbuilder); 83 String path = DirectoryManager.getPath("index-files"); 92 path, filename, relpath, 63 SplitIndexWriter(ConfigurationImpl configuration, String path, String filename, String relpath, IndexBuilder indexbuilder, int prev, int next) argument
|
/openjdk7/langtools/src/share/classes/javax/tools/ |
H A D | StandardJavaFileManager.java | 98 * {@linkplain java.net.URI#getPath() path component} which 124 * (the first half of the path depends on the current directory, 133 * (the path is not normalized) 214 * Associates the given path with the given location. Any 218 * @param path a list of files, if {@code null} use the default 219 * path for this location 222 * location and path does not contain exactly one element 223 * @throws IOException if location is an output location and path 226 void setLocation(Location location, Iterable<? extends File> path) argument 230 * Gets the path associate [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | ZipFile.c | 87 const char *path = JNU_GetStringPlatformChars(env, name, 0); local 96 if (path != 0) { 97 zip = ZIP_Get_From_Cache(path, &msg, lastModified); 107 zfd = JVM_Open(path, flag, 0); 113 zip = ZIP_Put_In_Cache0(path, zfd, &msg, lastModified, usemmap); 127 JNU_ReleaseStringPlatformChars(env, name, path); 161 char buf[MAXNAME+2], *path; local 165 path = malloc(ulen + 2); 166 if (path == 0) { 171 path [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | PolicyUtil.java | 50 * Fast path reading from file urls in order to avoid calling 58 String path = url.getFile().replace('/', File.separatorChar); 59 path = ParseUtil.decode(path); 60 return new FileInputStream(path);
|
/openjdk7/jdk/test/javax/swing/JTree/8004298/ |
H A D | bug8004298.java | 111 public Rectangle getPathBounds(JTree tree, TreePath path) { argument 114 if (path != null && path.toString().contains("football")) { 118 return super.getPathBounds(tree, path);
|
/openjdk7/jdk/src/solaris/bin/ |
H A D | java_md.h | 58 static jboolean GetJREPath(char *path, jint pathsize, const char * arch,
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | URL.java | 58 * the URL is called the <i>path</i> component. 173 * defined as <code>path[?query]</code> 190 * The path part of this URL. 192 private transient String path; field in class:URL 278 * to exist on the search path :- 399 path = parts.getPath(); 403 this.file = path + "?" + query; 405 this.file = path; 441 * <scheme>://<authority><path>?<query>#<fragment> 443 * The reference is parsed into the scheme, authority, path, quer 700 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument 1310 String path, query, ref; field in class:Parts [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTreeUI.java | 166 /** Row correspondin to lead path. */ 516 * last item in path will be drawn into. Will return null if 517 * any component in path is currently valid. 519 public Rectangle getPathBounds(JTree tree, TreePath path) { argument 521 return getPathBounds(path, tree.getInsets(), new Rectangle()); 526 private Rectangle getPathBounds(TreePath path, Insets insets, argument 528 bounds = treeState.getBounds(path, bounds); 542 * Returns the path for passed in row. If row is not visible 550 * Returns the row that the last item identified in path is visible 551 * at. Will return -1 if any of the elements in path ar 554 getRowForPath(JTree tree, TreePath path) argument 616 startEditingAtPath(JTree tree, TreePath path) argument 1346 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 1402 paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) argument 1477 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 1516 paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 1547 shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument 1692 updateExpandedDescendants(TreePath path) argument 1911 pathWasExpanded(TreePath path) argument 1920 pathWasCollapsed(TreePath path) argument 2103 startEditingOnRelease(TreePath path, MouseEvent event, MouseEvent releaseEvent) argument 2119 startEditing(TreePath path, MouseEvent event) argument 2231 checkForClickInExpandControl(TreePath path, int mouseX, int mouseY) argument 2243 isLocationInExpandControl(TreePath path, int mouseX, int mouseY) argument 2274 handleExpandControlClick(TreePath path, int mouseX, int mouseY) argument 2285 toggleExpandState(TreePath path) argument 2348 selectPathForEvent(TreePath path, MouseEvent event) argument 2518 repaintPath(TreePath path) argument 3249 getDisplayString(TreePath path, boolean selected, boolean leaf) argument 3507 isActualPath(TreePath path, int x, int y) argument [all...] |
H A D | BasicMenuUI.java | 218 private static void appendPath(MenuElement[] path, MenuElement elem) { argument 219 MenuElement newPath[] = new MenuElement[path.length+1]; 220 System.arraycopy(path, 0, newPath, 0, path.length); 221 newPath[path.length] = elem; 278 MenuElement path[] = defaultManager.getSelectedPath(); 279 if(path.length > 0 && path[path.length-1] == menu) { 280 appendPath(path, men [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | UnixNativeDispatcher.c | 131 static int fstatat64_wrapper(int dfd, const char *path, argument 137 return syscall(__NR_fstatat64, dfd, path, statbuf, flag); 143 static int fstatat64_wrapper(int dfd, const char *path, argument 149 return syscall(__NR_newfstatat, dfd, path, statbuf, flag); 292 const char* path = (const char*)jlong_to_ptr(pathAddress); local 296 fp = fopen(path, mode); 325 const char* path = (const char*)jlong_to_ptr(pathAddress); local 327 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd); 339 const char* path = (const char*)jlong_to_ptr(pathAddress); local 346 RESTARTABLE((*my_openat64_func)(dfd, path, (in 409 const char* path = (const char*)jlong_to_ptr(pathAddress); local 425 const char* path = (const char*)jlong_to_ptr(pathAddress); local 456 const char* path = (const char*)jlong_to_ptr(pathAddress); local 475 const char* path = (const char*)jlong_to_ptr(pathAddress); local 501 const char* path = (const char*)jlong_to_ptr(pathAddress); local 513 const char* path = (const char*)jlong_to_ptr(pathAddress); local 538 const char* path = (const char*)jlong_to_ptr(pathAddress); local 584 const char* path = (const char*)jlong_to_ptr(pathAddress); local 657 const char* path = (const char*)jlong_to_ptr(pathAddress); local 669 const char* path = (const char*)jlong_to_ptr(pathAddress); local 696 const char* path = (const char*)jlong_to_ptr(pathAddress); local 708 const char* path = (const char*)jlong_to_ptr(pathAddress); local 771 const char* path = (const char*)jlong_to_ptr(pathAddress); local 798 const char* path = (const char*)jlong_to_ptr(pathAddress); local 818 const char* path = (const char*)jlong_to_ptr(pathAddress); local 832 const char* path = (const char*)jlong_to_ptr(pathAddress); local 851 const char* path = (const char*)jlong_to_ptr(pathAddress); local 878 const char* path = (const char*)jlong_to_ptr(pathAddress); local [all...] |
/openjdk7/hotspot/src/os/windows/launcher/ |
H A D | java_md.c | 48 static jboolean GetPublicJREHome(char *path, jint pathsize); 51 static jboolean GetJREPath(char *path, jint pathsize); 204 * all we need to do here is to return correct path names. See also 241 * assumed to be present in the "JRE path" directory. If it is not found 242 * there (or "JRE path" fails to resolve), skip the explicit load and let 248 printf("CRT path is %s\n", crtpath); 344 * Find path to JRE based on .exe's location or registry settings. 347 GetJREPath(char *path, jint pathsize) argument 352 if (GetApplicationHome(path, pathsize)) { 354 sprintf(javadll, "%s\\bin\\" JAVA_DLL, path); 909 char *path; local 1081 char path[MAXPATHLEN + 1]; local [all...] |
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | io_util_md.c | 62 jstring path = NULL; local 64 path = (*env)->GetObjectField(env, file, id); 66 return pathToNTPath(env, path, JNI_FALSE); 90 path. This piece of code needs to be revisited if chdir 128 "path" is a relative path, it is "the length of the current dir" + "the 129 length of the path", if it's "absolute" already, it's the same as 130 pathlen which is the length of "path". 132 WCHAR* prefixAbpath(const WCHAR* path, int pathlen, int abpathlen) { argument 142 if (_wfullpath(abpath, path, abpathle 162 pathToNTPath(JNIEnv *env, jstring path, jboolean throwFNFE) argument 226 winFileHandleOpen(JNIEnv *env, jstring path, int flags) argument 285 fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags) argument [all...] |
H A D | FileOutputStream_md.c | 58 jstring path, jboolean append) { 59 fileOpen(env, this, path, fos_fd, 57 Java_java_io_FileOutputStream_open(JNIEnv *env, jobject this, jstring path, jboolean append) argument
|
/openjdk7/jdk/src/windows/classes/java/lang/ |
H A D | ProcessImpl.java | 66 String path = f.getPath(); 69 sm.checkWrite(path); 70 long handle = openForAtomicAppend(path); 203 // If the argument is an FS path, doubling of the tail [\] 266 private static String getExecutablePath(String path) argument 269 boolean pathIsQuoted = isQuoted(true, path, 272 // Win32 CreateProcess requires path to be normalized 274 ? path.substring(1, path.length() - 1) 275 : path); 313 ProcessImpl(String cmd[], final String envblock, final String path, final long[] stdHandles, final boolean redirectErrorStream) argument 491 openForAtomicAppend(String path) argument [all...] |
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | FileOutputStream_md.c | 57 jstring path, jboolean append) { 58 fileOpen(env, this, path, fos_fd, 56 Java_java_io_FileOutputStream_open(JNIEnv *env, jobject this, jstring path, jboolean append) argument
|
/openjdk7/jdk/test/com/sun/corba/cachedSocket/ |
H A D | HelloServer.java | 80 NameComponent path[] = ncRef.to_name( name ); 81 ncRef.rebind(path, href);
|