/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileAttributeView.java | 70 private final ZipPath path; field in class:ZipFileAttributeView 73 private ZipFileAttributeView(ZipPath path, boolean isZipView) { argument 74 this.path = path; 78 static <V extends FileAttributeView> V get(ZipPath path, Class<V> type) { argument 82 return (V)new ZipFileAttributeView(path, false); 84 return (V)new ZipFileAttributeView(path, true); 88 static ZipFileAttributeView get(ZipPath path, String type) { argument 92 return new ZipFileAttributeView(path, false); 94 return new ZipFileAttributeView(path, tru [all...] |
H A D | ZipDirectoryStream.java | 59 private final byte[] path; field in class:ZipDirectoryStream 69 this.path = zipPath.getResolvedPath(); 72 if (!zipfs.isDirectory(path)) 84 itr = zipfs.iteratorOf(path, filter);
|
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | StyleAssociation.java | 52 * Matcher used for testing if path matches that of pattern. 106 public synchronized boolean matches(CharSequence path) { argument 108 _matcher = _pattern.matcher(path); 111 _matcher.reset(path);
|
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | PropertyEditorManager.java | 39 * "Editor" to it and looks in a search-path of packages for a matching 112 * @param path Array of package names. 118 public static void setEditorSearchPath(String[] path) { argument 123 ThreadGroupContext.getContext().getPropertyEditorFinder().setPackages(path);
|
/openjdk7/jdk/test/java/net/URLClassLoader/ |
H A D | URLParsing.java | 38 String path = "jar:file:" 42 URL aURL = new URL(path);
|
/openjdk7/langtools/test/tools/javac/6257443/ |
H A D | T6257443.java | 69 public static URL find(String path) { argument 70 return T6257443.class.getClassLoader().getSystemResource(path);
|
/openjdk7/jdk/src/share/demo/jfc/SampleTree/ |
H A D | SampleTreeModel.java | 70 * Subclassed to message setString() to the changed path item. 73 public void valueForPathChanged(TreePath path, Object newValue) { argument 75 DefaultMutableTreeNode aNode = (DefaultMutableTreeNode) path.
|
/openjdk7/jdk/test/sun/misc/IoTrace/ |
H A D | IoTraceListener.java | 103 * @param path 104 * the path of the file 107 public Object fileReadBegin(String path); argument 123 * @param path 124 * the path of the file 127 public Object fileWriteBegin(String path); argument
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | IoTrace.java | 128 * @param path 129 * the path of the file 132 public static Object fileReadBegin(String path) { argument 151 * @param path 152 * the path of the file 155 public static Object fileWriteBegin(String path) { argument
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | canonicalize_md.c | 42 #undef DEBUG_PATH /* Define this to debug path code */ 155 In the canonicalized form no path element may have dots at its end. 169 if (*p && (*p != '\\')) // path element does not end with a dot 172 return 1; // path element does end with a dot - prohibited 188 if (*p && (*p != L'\\')) // path element does not end with a dot 191 return 1; // path element does end with a dot - prohibited 199 successfully after copying the rest of the original path to the result path. 234 char path[1024]; /* Working copy of path */ local 411 WCHAR *path; /* Working copy of path */ local 587 getPrefixed(const WCHAR* path, int pathlen) argument [all...] |
/openjdk7/jdk/src/solaris/classes/java/io/ |
H A D | UnixFileSystem.java | 42 new GetPropertyAction("path.separator")).charAt(0); 115 public String fromURIPath(String path) { argument 116 String p = path; 137 // The first cache handles repeated canonicalizations of the same path 141 // prefix cache is conservative and is not used for complex path names. 148 public String canonicalize(String path) throws IOException { argument 150 return canonicalize0(path); 152 String res = cache.get(path); 160 dir = parentOrNull(path); 164 // Hit only in prefix cache; full path i 193 canonicalize0(String path) argument 201 parentOrNull(String path) argument 255 createFileExclusively(String path) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixChannelFactory.java | 103 static FileChannel newFileChannel(int fd, String path, boolean reading, boolean writing) { argument 106 return FileChannelImpl.open(fdObj, path, reading, writing, null); 110 * Constructs a file channel by opening a file using a dfd/path pair 113 UnixPath path, 136 FileDescriptor fdObj = open(dfd, path, pathForPermissionCheck, flags, mode); 137 return FileChannelImpl.open(fdObj, path.toString(), 144 static FileChannel newFileChannel(UnixPath path, argument 149 return newFileChannel(-1, path, null, options, mode); 155 static AsynchronousFileChannel newAsynchronousFileChannel(UnixPath path, argument 173 FileDescriptor fdObj = open(-1, path, nul 112 newFileChannel(int dfd, UnixPath path, String pathForPermissionCheck, Set<? extends OpenOption> options, int mode) argument 181 open(int dfd, UnixPath path, String pathForPermissionCheck, Flags flags, int mode) argument [all...] |
H A D | LinuxFileStore.java | 60 UnixPath path = null; 63 path = new UnixPath(fs, rp); 69 UnixPath parent = path.getParent(); 79 path = parent; 85 byte[] dir = path.asByteArray(); 96 private boolean isExtendedAttributesEnabled(UnixPath path) { argument 98 int fd = path.openForAttributeAccess(false);
|
/openjdk7/jdk/src/share/classes/javax/swing/event/ |
H A D | MenuDragMouseEvent.java | 51 private MenuElement path[]; field in class:MenuDragMouseEvent 73 * @param p an array of MenuElement objects specifying a path 83 path = p; 110 * @param p an array of MenuElement objects specifying a path 123 path = p; 128 * Returns the path to the selected menu item. 130 * @return an array of MenuElement objects representing the path value 133 return path;
|
H A D | TreeSelectionEvent.java | 56 /** For each path identifies if that path is in fact new. */ 84 * path identifies the path that have been either added or 88 * @param path the path that has changed in the selection 89 * @param isNew whether or not the path is new to the selection, false 90 * means path was removed from the selection. 92 public TreeSelectionEvent(Object source, TreePath path, boolean isNew, argument 98 paths[0] = path; 158 isAddedPath(TreePath path) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | CookieManager.java | 212 String path = uri.getPath(); 213 if (path == null || path.isEmpty()) { 214 path = "/"; 217 // apply path-matches rule (RFC 2965 sec. 3.3.4) 220 if (pathMatches(path, cookie.getPath()) && 294 // If no path is specified, then by default 295 // the path is the directory of the page/doc 296 String path = uri.getPath(); 297 if (!path 393 pathMatches(String path, String pathToMatchWith) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | MacOSXNativeDispatcher.c | 38 jcharArray path, 47 char *chars = (char*)(*env)->GetPrimitiveArrayCritical(env, path, 0); 48 jsize len = (*env)->GetArrayLength(env, path); 50 (*env)->ReleasePrimitiveArrayCritical(env, path, chars, 0); 37 Java_sun_nio_fs_MacOSXNativeDispatcher_normalizepath(JNIEnv* env, jclass this, jcharArray path, jint form) argument
|
/openjdk7/jdk/test/java/io/File/ |
H A D | GetAbsolutePath.java | 36 private static void ck(String path, String ans) throws Exception { argument 37 File f = new File(path); 40 System.err.println(path + " ==> " + p); 42 throw new Exception(path + ": expected " + ans + ", got " + p); 72 /* Empty path */ 83 /* Empty path */
|
H A D | GetParent.java | 34 static void check(String path, String[] parents) throws Exception { argument 35 File f = new File(path); 37 System.err.print(path + ":"); 50 throw new Exception("Too many parents for " + path);
|
H A D | IsHidden.java | 37 private static void ck(String path, boolean ans) throws Exception { argument 38 File f = new File(path); 41 throw new Exception(path + ": expected " + ans + ", got " + x); 42 System.err.println(path + " ==> " + x);
|
/openjdk7/jdk/test/sun/management/windows/ |
H A D | revokeall.c | 174 static int isSecuritySupported(const char* path) { argument 186 root = strdup(path); 217 * Relative path so use current directory 263 static SECURITY_DESCRIPTOR* getFileSecurityDescriptor(const char* path) { argument 269 GetFileSecurity(path, info , 0, 0, &len); 278 if (!GetFileSecurity(path, info, sd, len, &len)) { 291 static int revokeAll(const char* path) { argument 304 sd = getFileSecurityDescriptor(path); 414 if (!SetFileSecurity(path, DACL_SECURITY_INFORMATION, sd)) { 429 char* path local 445 const char* path; local [all...] |
/openjdk7/jdk/test/sun/net/ftp/ |
H A D | B6427768.java | 56 public MyFileSystemHandler(String path) { argument 57 currentDir = path; 60 public boolean cd(String path) { argument 61 currentDir = path;
|
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/ |
H A D | LinuxVirtualMachine.java | 51 String path; field in class:LinuxVirtualMachine 72 path = findSocketFile(pid); 73 if (path == null) { 102 path = findSocketFile(pid); 104 } while (i <= retries && path == null); 105 if (path == null) { 117 checkPermissions(path); 124 connect(s, path); 135 if (this.path != null) { 136 this.path 323 checkPermissions(String path) argument 327 connect(int fd, String path) argument [all...] |
/openjdk7/jdk/test/java/nio/file/PathMatcher/ |
H A D | Basic.java | 52 static void assertMatch(String path, String pattern) { argument 53 match(path, pattern, true); 56 static void assertNotMatch(String path, String pattern) { argument 57 match(path, pattern, false); 60 static void assertBadPattern(String path, String pattern) { argument 71 static void assertRegExMatch(String path, String pattern) { argument 73 Path file = Paths.get(path);
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.java | 315 * Decodes the path as per the RFC-1738 specifications. 317 private void decodePath(String path) { argument 318 int i = path.indexOf(";type="); 320 String s1 = path.substring(i + 6, path.length()); 330 path = path.substring(0, i); 332 if (path != null && path.length() > 1 && 333 path 366 cd(String path) argument [all...] |