/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | AbstractLayoutCache.java | 201 * The region is defined by the path closest to 267 public abstract boolean isExpanded(TreePath path); argument 270 * Returns a rectangle giving the bounds needed to draw path. 272 * @param path a <code>TreePath</code> specifying a node 277 public abstract Rectangle getBounds(TreePath path, Rectangle placeIn); argument 280 * Returns the path for passed in row. If row is not visible 289 * Returns the row that the last item identified in path is visible 290 * at. Will return -1 if any of the elements in path are not 293 * @param path the <code>TreePath</code> being queried 294 * @return the row where the last item in path i 297 getRowForPath(TreePath path) argument 324 getVisiblePathsFrom(TreePath path) argument 332 getVisibleChildCount(TreePath path) argument 341 setExpandedState(TreePath path, boolean isExpanded) argument 349 getExpandedState(TreePath path) argument 370 invalidatePathBounds(TreePath path) argument [all...] |
H A D | DefaultTreeModel.java | 216 * This sets the user object of the TreeNode identified by path 221 public void valueForPathChanged(TreePath path, Object newValue) { argument 222 MutableTreeNode aNode = (MutableTreeNode)path.getLastPathComponent(); 375 * @param aNode the TreeNode to get the path for 387 * @param aNode the TreeNode to get the path for 390 * @return an array of TreeNodes giving the path from the root to the 467 * @param path the path to the parent of the nodes that changed; use 472 protected void fireTreeNodesChanged(Object source, Object[] path, argument 484 e = new TreeModelEvent(source, path, 503 fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children) argument 534 fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children) argument 566 fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children) argument 596 fireTreeStructureChanged(Object source, TreePath path) argument [all...] |
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. */ 124 * Sets the selection to path. If this represents a change, then 125 * the TreeSelectionListeners are notified. If <code>path</code> is 128 * @param path new path to select 130 void setSelectionPath(TreePath path); argument 133 * Sets the selection to path 148 addSelectionPath(TreePath path) argument 167 removeSelectionPath(TreePath path) argument 202 isPathSelected(TreePath path) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/im/ |
H A D | InputMethodManager.java | 662 // create locale node relative path 730 String path = preferredIMNode + "/" + createLocalePath(preferredLocale); 733 writePreferredInputMethod(path, descriptor.getClass().getName()); 756 private void writePreferredInputMethod(String path, String descriptorName) { argument 758 Preferences node = userRoot.node(path);
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FilePermission.java | 139 // does path indicate a directory? (wildcard or recursive) 153 // canonicalized dir path. In the case of 212 String path = cpath; 214 // call getCanonicalPath with a path with wildcard character 217 path = path.substring(0, path.length()-1) + "-"; 218 path = new File(path).getCanonicalPath(); 219 return path 282 FilePermission(String path, String actions) argument 300 FilePermission(String path, int mask) argument [all...] |
H A D | FileSystem.java | 50 * Return the local filesystem's path-separator character. 58 public abstract String normalize(String path); argument 64 public abstract int prefixLength(String path); argument 81 * Post-process the given URI path string if necessary. This is used on 82 * win32, e.g., to transform "/c:/foo" into "c:/foo". The path string 86 public abstract String fromURIPath(String path); argument 102 public abstract String canonicalize(String path) throws IOException; argument
|
/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/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/hotspot/src/share/vm/memory/ |
H A D | filemap.cpp | 118 const char *path = cpe->name(); local 119 if (os::stat(path, &st) != 0) { 120 // If we can't access a jar file in the boot path, then we can't 122 fail_stop("Unable to open jar file %s.", path); 488 const char *path = cpe->name(); local 489 if (os::stat(path, &st) != 0) { 490 fail_continue("Unable to open jar file %s.", path);
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/ |
H A D | Canonicalizer11.java | 521 private static String removeDotSegments(String path) { argument 525 // 1. The input buffer is initialized with the now-appended path 528 String input = path; 563 // where "." is a complete path segment, then replace that prefix 569 // FIXME: what is complete path segment? 573 // where ".." is a complete path segment, then replace that prefix 576 // where ".." is a complete path segment, then append ".." or "/.." 603 // FIXME: what is complete path segment? 636 // 2E. move the first path segment (if any) in the input buffer 663 // "..", where ".." is a complete path segmen [all...] |
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | os_solaris.inline.hpp | 89 inline int os::readdir_buf_size(const char *path) { argument 90 int size = pathconf(path, _PC_NAME_MAX);
|
/openjdk7/hotspot/src/share/tools/launcher/ |
H A D | wildcard.c | 28 * The syntax for wildcards is a single asterisk. The class path 50 * process itself. Each element of the input class path containing a 54 * e.g., then the class path foo/"*" is expanded into 56 * of the system property java.class.path. 59 * the expanded class path is not specified and may vary from platform 63 * enumerated explicitly in the class path. 69 * Class-path wildcards are not honored in the Class-Path jar-manifest 72 * Class-path wildcards are honored not only by the Java launcher but 76 * Class-path wildcards are not honored in any other kind of path, an 301 char *path; local 320 FileList_split(const char *path, char sep) 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/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/ |
H A D | Framework.java | 54 public final String path; field in class:Framework 88 final String path; field in class:Framework.FrameworkDependency 92 super(getAttr(node, "path").replaceFirst("^.*/([^/]+)\\.framework$", "$1"), parent); 93 this.path = getAttr(node, "path"); 102 path = pathf.getParentFile().getParentFile().getCanonicalPath(); 106 binaries = findBinaries(path, name); 135 return f.path.equals(dep.path);
|
/openjdk7/jdk/src/share/bin/ |
H A D | wildcard.c | 29 * The syntax for wildcards is a single asterisk. The class path 51 * process itself. Each element of the input class path containing a 55 * e.g., then the class path foo/"*" is expanded into 57 * of the system property java.class.path. 60 * the expanded class path is not specified and may vary from platform 64 * enumerated explicitly in the class path. 70 * Class-path wildcards are not honored in the Class-Path jar-manifest 73 * Class-path wildcards are honored not only by the Java launcher but 77 * Class-path wildcards are not honored in any other kind of path, an 289 char *path; local 308 FileList_split(const char *path, char sep) argument [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | attachListener.cpp | 180 const char* path = op->arg(0); local 181 if (path == NULL || path[0] == '\0') {
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ |
H A D | Options.java | 74 public String classpath = System.getProperty("java.class.path"); 360 * Utility method for converting a search path string to an array 363 * @param path the search path string 366 public static URL[] pathToURLs(String path) { argument 367 StringTokenizer st = new StringTokenizer(path, File.pathSeparator);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/dispatch/ |
H A D | DispatchImpl.java | 327 final String path = (pathInfo != null) ? pathInfo : endpointURI.getPath(); 329 //final URI temp = new URI(null, null, path, query, fragment); 337 if (path != null) { 338 spec.append(path); 350 throw new WebServiceException(DispatchMessages.INVALID_URI_RESOLUTION(path)); 354 private static String checkPath(@Nullable String path) { argument 356 return (path == null || path.startsWith("/")) ? path : "/" + path; [all...] |
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | UnixFileSystem_md.c | 55 jfieldID path; member in struct:__anon952 64 ids.path = (*env)->GetFieldID(env, fileClass, 65 "path", "Ljava/lang/String;"); 70 extern int canonicalize(char *path, const char *out, int len); 78 WITH_PLATFORM_STRING(env, pathname, path) { 80 if (canonicalize(JVM_NativePath((char *)path), 90 } END_PLATFORM_STRING(env, path); 99 statMode(const char *path, int *mode) argument 102 if (stat64(path, &sb) == 0) { 116 WITH_FIELD_PLATFORM_STRING(env, file, ids.path, pat [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | LinuxNativeDispatcher.c | 157 const char* path = (const char*)jlong_to_ptr(pathAddress); local 161 fp = setmntent(path, mode);
|
/openjdk7/jdk/src/solaris/native/sun/tools/attach/ |
H A D | LinuxVirtualMachine.c | 151 (JNIEnv *env, jclass cls, jint fd, jstring path) 154 const char* p = GetStringPlatformChars(env, path, &isCopy); 167 JNU_ReleaseStringPlatformChars(env, path, p); 348 (JNIEnv *env, jclass cls, jstring path) 351 const char* p = GetStringPlatformChars(env, path, &isCopy); 358 * Check that the path is owned by the effective uid/gid of this 372 JNU_ReleaseStringPlatformChars(env, path, p); 150 Java_sun_tools_attach_LinuxVirtualMachine_connect(JNIEnv *env, jclass cls, jint fd, jstring path) argument 347 Java_sun_tools_attach_LinuxVirtualMachine_checkPermissions(JNIEnv *env, jclass cls, jstring path) argument
|
H A D | SolarisVirtualMachine.c | 53 (JNIEnv *env, jclass cls, jstring path) 56 const char* p = GetStringPlatformChars(env, path, &isCopy); 69 JNU_ReleaseStringPlatformChars(env, path, p); 93 (JNIEnv *env, jclass cls, jstring path) 96 const char* p = GetStringPlatformChars(env, path, &isCopy); 103 * Check that the path is owned by the effective uid/gid of this 117 JNU_ReleaseStringPlatformChars(env, path, p); 52 Java_sun_tools_attach_SolarisVirtualMachine_open(JNIEnv *env, jclass cls, jstring path) argument 92 Java_sun_tools_attach_SolarisVirtualMachine_checkPermissions(JNIEnv *env, jclass cls, jstring path) 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/windows/classes/sun/nio/fs/ |
H A D | WindowsFileSystemProvider.java | 96 public FileChannel newFileChannel(Path path, argument 101 if (path == null) 103 if (!(path instanceof WindowsPath)) 105 WindowsPath file = (WindowsPath)path; 124 public AsynchronousFileChannel newAsynchronousFileChannel(Path path, argument 130 if (path == null) 132 if (!(path instanceof WindowsPath)) 134 WindowsPath file = (WindowsPath)path;
|
H A D | WindowsWatchService.java | 66 WatchKey register(Path path, argument 72 return poller.register(path, events, modifiers);
|