/openjdk7/jdk/test/demo/zipfs/ |
H A D | PathOps.java | 30 * Tests path operations for zip provider. 39 private Path path; field in class:PathOps 46 path = fs.getPath(s); 47 out.format("%s -> %s", s, path); 55 Path path() { method in class:PathOps 56 return path; 64 if (path == null) { 65 throw new InternalError("path is null"); 89 check(path.getRoot(), expected); 96 check(path [all...] |
H A D | ZFSTests.java | 44 Path path = Paths.get(DIRWITHSPACE, "file.zip"); 47 URI uri = URI.create("jar:" + path.toUri()); 52 Files.deleteIfExists(path);
|
/openjdk7/jdk/src/share/classes/com/sun/rmi/rmid/ |
H A D | ExecPermission.java | 67 * Creates a new ExecPermission object with the specified path. 68 * <i>path</i> is the pathname of a file or directory. 83 * @param path the pathname of the file/directory. 85 public ExecPermission(String path) { argument 86 super(path); 87 init(path); 91 * Creates a new ExecPermission object with the specified path. 92 * <i>path</i> is the pathname of a file or directory. 107 * @param path the pathname of the file/directory. 110 public ExecPermission(String path, Strin argument 213 init(String path) argument [all...] |
/openjdk7/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); 144 static int check_permission(const char* path) { argument 150 * Check that the path is owned by the effective uid/gid of this 156 res = stat64(path, &sb); 158 print_debug("stat failed for %s\n", path); 164 print_debug("well-known file %s is not secure\n", path); 173 static void fill_attach_file_name(char* path, int len, pid_t pid) { argument 174 memset(path, 0, len); 175 sprintf(path, ATTACH_FILE_PATTER 182 char path[PATH_MAX + 1]; local 204 char path[PATH_MAX + 1]; local 219 char path[PATH_MAX + 1]; local [all...] |
/openjdk7/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); 144 static int check_permission(const char* path) { argument 150 * Check that the path is owned by the effective uid/gid of this 156 res = stat64(path, &sb); 158 print_debug("stat failed for %s\n", path); 164 print_debug("well-known file %s is not secure\n", path); 173 static void fill_attach_file_name(char* path, int len, pid_t pid) { argument 174 memset(path, 0, len); 175 sprintf(path, ATTACH_FILE_PATTER 182 char path[PATH_MAX + 1]; local 204 char path[PATH_MAX + 1]; local 219 char path[PATH_MAX + 1]; local [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | MenuSelectionManager.java | 85 * @param path an array of <code>MenuElement</code> objects specifying 86 * the selected path 88 public void setSelectedPath(MenuElement[] path) { argument 93 if(path == null) { 94 path = new MenuElement[0]; 99 System.out.print("New: "); printMenuElementArray(path); 102 for(i=0,c=path.length;i<c;i++) { 103 if (i < currentSelectionCount && selection.elementAt(i) == path[i]) 115 for(i = firstDifference, c = path.length ; i < c ; i++) { 116 if (path[ 330 printMenuElementArray(MenuElement path[]) argument 334 printMenuElementArray(MenuElement path[], boolean dumpStack) argument [all...] |
/openjdk7/jdk/src/macosx/classes/java/util/prefs/ |
H A D | MacOSXPreferencesFile.java | 351 boolean addNode(String path) argument 355 return addNode(path, appName, user, host); 359 void removeNode(String path) argument 363 removeNode(path, appName, user, host); 367 boolean addChildToNode(String path, String child) argument 371 return addChildToNode(path, child+"/", appName, user, host); 375 void removeChildFromNode(String path, String child) argument 379 removeChildFromNode(path, child+"/", appName, user, host); 385 void addKeyToNode(String path, String key, String value) argument 389 addKeyToNode(path, ke 393 removeKeyFromNode(String path, String key) argument 401 getKeyFromNode(String path, String key) argument 410 getChildrenForNode(String path) argument 417 getKeysForNode(String path) argument 437 addNode(String path, String name, long user, long host) argument 439 removeNode(String path, String name, long user, long host) argument 441 addChildToNode(String path, String child, String name, long user, long host) argument 444 removeChildFromNode(String path, String child, String name, long user, long host) argument 447 addKeyToNode(String path, String key, String value, String name, long user, long host) argument 450 removeKeyFromNode(String path, String key, String name, long user, long host) argument 453 getKeyFromNode(String path, String key, String name, long user, long host) argument 456 getChildrenForNode(String path, String name, long user, long host) argument 458 getKeysForNode(String path, String name, long user, long host) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsAclFileAttributeView.java | 80 static NativeBuffer getFileSecurity(String path, int request) argument 86 size = GetFileSecurity(path, request, 0L, 0); 88 x.rethrowAsIOException(path); 96 int newSize = GetFileSecurity(path, request, buffer.address(), size); 107 x.rethrowAsIOException(path); 120 String path = WindowsLinkSupport.getFinalPath(file, followLinks); 121 NativeBuffer buffer = getFileSecurity(path, OWNER_SECURITY_INFORMATION); 144 String path = WindowsLinkSupport.getFinalPath(file, followLinks); 148 NativeBuffer buffer = getFileSecurity(path, DACL_SECURITY_INFORMATION); 171 String path [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | DirectoryManager.java | 34 * Handle the directory creations and the path string generations. 47 * The file separator string, "/", used in the formation of the URL path. 58 * Given a PackageDoc, return its URL path string. 71 * Given a ClassDoc, return its URL path string. 97 * @return the platform-dependent directory path for the package 116 * @return the platform-dependent directory path for the package 138 * Given a package name (a string), return the path string, 145 * path string will be "com/sun/javadoc". 148 * @return the String URL path 167 * Given two package names as strings, return the relative path 245 getPathNoTrailingSlash(String path) argument 267 createDirectory(Configuration configuration, String path) argument [all...] |
H A D | Extern.java | 74 * Package name, found in the "package-list" file in the {@link path}. 79 * The URL or the directory path at which the package documentation will be 82 final String path; field in class:Extern.Item 85 * If given path is directory path then true else if it is a URL then false. 95 * @param path URL or Directory path from where the "package-list" 97 * @param relative True if path is URL, false if directory path. 99 Item(String packageName, String path, boolea argument 244 readFileComposeExternPackageList(String path, String pkgListPath) argument 275 readPackageList(InputStream input, String path, boolean relative) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/treetable/ |
H A D | AbstractTreeTableModel.java | 56 public void valueForPathChanged(TreePath path, Object newValue) {} argument 83 protected void fireTreeNodesChanged(Object source, Object[] path, argument 95 e = new TreeModelEvent(source, path, 109 protected void fireTreeNodesInserted(Object source, Object[] path, argument 121 e = new TreeModelEvent(source, path, 135 protected void fireTreeNodesRemoved(Object source, Object[] path, argument 147 e = new TreeModelEvent(source, path, 161 protected void fireTreeStructureChanged(Object source, Object[] path, argument 173 e = new TreeModelEvent(source, path,
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicCheckBoxMenuItemUI.java | 53 public void processMouseEvent(JMenuItem item,MouseEvent e,MenuElement path[],MenuSelectionManager manager) { argument 61 manager.setSelectedPath(path); 63 MenuElement newPath[] = new MenuElement[path.length-1]; 65 for(i=0,c=path.length-1;i<c;i++) 66 newPath[i] = path[i];
|
H A D | BasicRadioButtonMenuItemUI.java | 50 public void processMouseEvent(JMenuItem item,MouseEvent e,MenuElement path[],MenuSelectionManager manager) { argument 59 manager.setSelectedPath(path); 61 MenuElement newPath[] = new MenuElement[path.length-1]; 63 for(i=0,c=path.length-1;i<c;i++) 64 newPath[i] = path[i];
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | BasicPermission.java | 81 private transient String path; field in class:BasicPermission 107 path = ""; 109 path = name.substring(0, len - 1); 114 path = "exitVM."; 117 path = name; 184 return that.path.startsWith(path); 186 // make sure ap.path is longer so a.b.* doesn't imply a.b 187 return (that.path.length() > this.path [all...] |
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/ |
H A D | SkipSiblings.java | 38 // check if this path's directory has been skipped 39 static void check(Path path) { argument 40 if (skipped.contains(path.getParent())) 41 throw new RuntimeException(path + " should not have been visited"); 44 // indicates if the siblings of this path should be skipped 45 static boolean skip(Path path) { argument 46 Path parent = path.getParent();
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | JarFileSystemProvider.java | 84 String path = uri.getFragment(); 85 if (path == null) { 89 path = uristr.substring(off + 2); 91 if (path != null) 92 return fs.getPath(path); 95 + " does not contain path fragment ex. jar:///c:/foo.zip!/BAR");
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | BsdFileStore.java | 56 UnixPath path = null; 59 path = new UnixPath(fs, rp); 65 UnixPath parent = path.getParent(); 75 path = parent; 80 byte[] dir = path.asByteArray();
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Launcher.java | 59 System.getProperty("sun.boot.class.path"); 256 * The class loader used for loading from java.class.path. 268 final String s = System.getProperty("java.class.path"); 269 final File[] path = (s == null) ? new File[0] : getClassPath(s); 282 (s == null) ? new URL[0] : pathToURLs(path); 322 * This class loader supports dynamic additions to the class path 327 private void appendToClassPathForInstrumentation(String path) { argument 330 // addURL is a no-op if path already contains the URL 331 super.addURL( getFileURL(new File(path)) ); 336 * mentioned in the class path 396 pathToURLs(File[] path) argument 495 private File path[]; field in class:PathPermissions 500 PathPermissions(File path[]) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/spi/ |
H A D | FileSystemProvider.java | 239 * path component is {@code "/"} and the authority, query and fragment components 278 * given URI has a non-empty path component, and undefined query, and 316 * @param path 317 * The path to the file 337 public FileSystem newFileSystem(Path path, Map<String,?> env) argument 353 * @param path 354 * the path to the file to open 371 public InputStream newInputStream(Path path, OpenOption... options) argument 380 return Channels.newInputStream(Files.newByteChannel(path)); 393 * @param path 414 newOutputStream(Path path, OpenOption... options) argument 467 newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 515 newAsynchronousFileChannel(Path path, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs) argument 561 newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 705 delete(Path path) argument 733 deleteIfExists(Path path) argument 859 isSameFile(Path path, Path path2) argument 881 isHidden(Path path) argument 902 getFileStore(Path path) argument 977 checkAccess(Path path, AccessMode... modes) argument 996 getFileAttributeView(Path path, Class<V> type, LinkOption... options) argument 1023 readAttributes(Path path, Class<A> type, LinkOption... options) argument 1054 readAttributes(Path path, String attributes, LinkOption... options) argument 1090 setAttribute(Path path, String attribute, Object value, LinkOption... options) argument [all...] |
/openjdk7/langtools/test/tools/javac/Paths/ |
H A D | Diagnostics.sh | 29 # @summary Test for proper diagnostics during path manipulation operations 91 # No warnings unless -Xlint:path is used 99 Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path -cp ".${PS}classes" Main.java 100 Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-Xbootclasspath/p:classes" Main.java 102 Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-endorseddirs" "classes" Main.java 104 Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-Xbootclasspath:classes${PS}${BCP}" Main.java 109 No Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-J-Djava.endorsed.dirs=classes" Main.java 110 No Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-J-Djava.ext.dirs=classes" Main.java 111 No Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path "-J-Xbootclasspath/p:classes" Main.java 112 No Warning "$javac" ${TESTTOOLVMOPTS} -Xlint:path " [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | TreeUI.java | 42 * last item in path will be drawn into. Will return null if 43 * any component in path is currently valid. 45 public abstract Rectangle getPathBounds(JTree tree, TreePath path); argument 48 * Returns the path for passed in row. If row is not visible 54 * Returns the row that the last item identified in path is visible 55 * at. Will return -1 if any of the elements in path are not 58 public abstract int getRowForPath(JTree tree, TreePath path); argument 66 * Returns the path to the node that is closest to x,y. If 68 * it'll always return a valid path. If you need to test if the 70 * the returned path an 99 startEditingAtPath(JTree tree, TreePath path) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTreeUI.java | 148 final TreePath path = getPathForRow(tree, i); 150 if (path != null && path.getPathCount() == 2) { 159 protected void paintVerticalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final TreePath path) { argument 161 super.paintVerticalPartOfLeg(g, clipBounds, insets, path); 165 protected void paintHorizontalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 167 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 185 protected void paintExpandControl(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 186 final Object value = path.getLastPathComponent(); 194 final State state = getState(path); 262 getState(final TreePath path) argument 275 handleExpandControlClick(final TreePath path, final int mouseX, final int mouseY) argument 331 TreeArrowMouseInputHandler(final TreePath path) argument 464 getRowForPath(final TreePath path) argument 471 getPathArrowBounds(final TreePath path) argument [all...] |
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_SolarisOS_Utils.h | 64 char path[MAX_NAME_LENGTH]; member in struct:tag_AudioDevicePath 71 char path[MAX_NAME_LENGTH+1]; member in struct:tag_AudioDeviceDescription 89 * fills adDesc from the audio device given in path 91 * if getNames is 0, only path and pathctl are filled 93 int getAudioDeviceDescription(char* path, AudioDeviceDescription* adDesc, int getNames);
|
/openjdk7/jdk/test/java/net/URL/ |
H A D | RestoreURL.java | 48 String path = restoredUrl.getPath(); 51 if ((path == null) || !path.equals(origUrl.getPath())) { 52 throw new Exception("path not restored");
|
/openjdk7/jdk/test/sun/tools/native2ascii/ |
H A D | NativeErrors.java | 127 * Search for path to native2ascii 130 String path = System.getProperty("java.home") + File.separator + 133 path = path + ".exe"; 135 File f = new File(path); 137 System.out.println("Cannot find native2ascii at "+path); 138 path = System.getProperty("java.home") + File.separator + ".." + 141 path = path + ".exe"; 143 f = new File(path); [all...] |