Searched defs:path (Results 226 - 250 of 363) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/windows/instrument/
H A DFileSystemSupport_md.c56 char* basePath(const char* path) { argument
57 char* pos = strchr(path, slash);
65 return (char*)path;
67 int len = (int)(last - path);
70 memcpy(str, path, len);
85 * the length of the prefix almost uniquely identifies the type of the path
94 static int normalizePrefix(const char* path, int len, char* sb, int* sbLen) { argument
97 while ((src < len) && isSlash(path[src])) src++;
99 && isLetter(c = path[src])
100 && path[sr
129 normalizePath(const char* path, int len, int off) argument
199 normalize(char* path) argument
278 prefixLength(const char* path) argument
298 isAbsolute(const char* path) argument
304 fromURIPath(const char* path) argument
[all...]
/openjdk7/jdk/src/windows/native/java/lang/
H A Djava_props_md.c172 WCHAR path[MAX_PATH+1]; local
181 path[0] = 0;
182 rc = RegQueryValueExW(key, L"Desktop", 0, &type, (LPBYTE)path, &size);
188 p = wcsrchr(path, L'\\');
193 return _wcsdup(path);
205 WCHAR path[MAX_PATH+1]; local
214 path[0] = 0;
215 SHGetPathFromIDListW(item_list, (LPWSTR)path);
218 p = wcsrchr(path, L'\\');
231 return _wcsdup(path);
347 WCHAR *path = _wgetenv(L"JAVA2D_FONTPATH"); local
[all...]
/openjdk7/jdk/test/demo/zipfs/
H A DPathOps.java30 * 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...]
/openjdk7/jdk/test/java/net/Authenticator/
H A DB4769350.java53 String authority, path; field in class:B4769350.Client
56 Client (String authority, String path, boolean allowerror) { argument
57 super("Thread-" + path);
59 this.path = path;
65 URI u = new URI ("http", authority, path, null, null);
108 String path = uri.getPath();
109 if (path.endsWith ("/t1a")) {
111 } else if (path.endsWith ("/t1b")) {
113 } else if (path
[all...]
/openjdk7/jdk/test/java/nio/file/Path/
H A DPathOps.java26 * @summary Unit test for java.nio.file.Path path operations
36 private Path path; field in class:PathOps
43 path = FileSystems.getDefault().getPath(first, more);
44 out.format("%s -> %s", first, path);
52 Path path() { method in class:PathOps
53 return path;
61 if (path == null) {
62 throw new InternalError("path is null");
86 check(path.getRoot(), expected);
93 check(path
[all...]
/openjdk7/langtools/make/tools/GenStubs/
H A DGenStubs.java74 * genstubs -s <outdir> -sourcepath <path> <classnames>
91 * path. This is likely necessary if a JDK 7 parser is required to read the
186 List<File> splitPath(String path) { argument
188 for (String p: path.split(File.pathSeparator)) {
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/
H A DClassUseWriter.java88 ClassUseMapper mapper, String path,
91 super(configuration, path, filename, relpath);
196 String path = DirectoryManager.getDirectoryPath(classdoc.
198 path += "class-use" + DirectoryManager.URL_FILE_SEPARATOR;
205 mapper, path, filename,
87 ClassUseWriter(ConfigurationImpl configuration, ClassUseMapper mapper, String path, String filename, String relpath, ClassDoc classdoc) argument
H A DSubWriterHolderWriter.java58 String path, String filename, String relpath)
60 super(configuration, path, filename, relpath);
57 SubWriterHolderWriter(ConfigurationImpl configuration, String path, String filename, String relpath) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacTaskImpl.java448 public TypeMirror getTypeMirror(Iterable<? extends Tree> path) { argument
451 for (Tree node : path)
H A DJavacTrees.java203 public Element getElement(TreePath path) { argument
204 JCTree tree = (JCTree) path.getLeaf();
207 for (TreePath p = path; p != null; p = p.getParentPath()) {
224 public TypeMirror getTypeMirror(TreePath path) { argument
225 Tree t = path.getLeaf();
229 public JavacScope getScope(TreePath path) { argument
230 return new JavacScope(getAttrContext(path));
233 public String getDocComment(TreePath path) { argument
234 CompilationUnitTree t = path.getCompilationUnit();
238 return cu.docComments.get(path
262 getAttrContext(TreePath path) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DPaths.java54 * into a boot class path, user class path, and source path (in
104 /** Whether to warn about non-existent path elements */
112 * rt.jar as found on the default bootclass path. If the user specified a
123 Path path = pathsForLocation.get(location);
124 if (path == null)
129 void setPathForLocation(Location location, Iterable<? extends File> path) { argument
133 if (path == null) {
151 for (File f: path)
199 getPathEntries(String path) argument
212 getPathEntries(String path, File emptyPathDefault) argument
512 pathToURLs(String path) argument
[all...]
H A DZipArchive.java249 protected String inferBinaryName(Iterable<? extends File> path) { argument
H A DZipFileIndexArchive.java205 protected String inferBinaryName(Iterable<? extends File> path) { argument
208 String prefix = zfIndex.symbolFilePrefix.path;
248 return zfIndex.symbolFilePrefix.path + entry.getName();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DPathFileObject.java66 private Path path; field in class:PathFileObject
73 final Path path, final Path dir) {
74 return new PathFileObject(fileManager, path) {
77 return toBinaryName(dir.relativize(path));
87 final Path path) {
88 return new PathFileObject(fileManager, path) {
91 return toBinaryName(path);
98 * relative path to a sibling.
101 final Path path, final String relativePath) {
102 return new PathFileObject(fileManager, path) {
72 createDirectoryPathFileObject(JavacPathFileManager fileManager, final Path path, final Path dir) argument
86 createJarPathFileObject(JavacPathFileManager fileManager, final Path path) argument
100 createSiblingPathFileObject(JavacPathFileManager fileManager, final Path path, final String relativePath) argument
114 createSimplePathFileObject(JavacPathFileManager fileManager, final Path path) argument
137 PathFileObject(JavacPathFileManager fileManager, Path path) argument
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java91 zzmove, // <java Demo zzmove zfsrc zfdst path>
92 // move entry path/dir from zfsrc to zfdst
94 zzcopy, // <java Demo zzcopy zfsrc zfdst path>
95 // copy path from zipfile zfsrc to zipfile
98 attrs, // <java Demo attrs zipfile path>
99 // printout the attributes of entry path
101 attrsspace, // <java Demo attrsspace zipfile path>
102 // printout the storespace attrs of entry path
104 setmtime, // <java Demo setmtime zipfile "MM/dd/yy-HH:mm:ss" path...>
105 // set the lastModifiedTime of entry path
385 walk(Path path) argument
426 update(FileSystem fs, String path) argument
442 extract(FileSystem fs, String path) argument
461 z2zcopy(FileSystem src, FileSystem dst, String path) argument
486 z2zmove(FileSystem src, FileSystem dst, String path) argument
543 mkdirs(Path path) argument
557 rmdirs(Path path) argument
564 list(Path path, boolean verbose ) argument
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystemProvider.java91 private boolean ensureFile(Path path) { argument
94 Files.readAttributes(path, BasicFileAttributes.class);
107 Path path = uriToPath(uri);
110 if (ensureFile(path)) {
111 realPath = path.toRealPath();
117 zipfs = new ZipFileSystem(this, path, env);
119 String pname = path.toString();
131 public FileSystem newFileSystem(Path path, Map<String, ?> env) argument
134 if (path.getFileSystem() != FileSystems.getDefault()) {
137 ensureFile(path);
177 toZipPath(Path path) argument
186 checkAccess(Path path, AccessMode... modes) argument
198 createDirectory(Path path, FileAttribute<?>... attrs) argument
205 delete(Path path) argument
212 getFileAttributeView(Path path, Class<V> type, LinkOption... options) argument
218 getFileStore(Path path) argument
223 isHidden(Path path) argument
228 isSameFile(Path path, Path other) argument
240 newAsynchronousFileChannel(Path path, Set<? extends OpenOption> options, ExecutorService exec, FileAttribute<?>... attrs) argument
250 newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument
259 newDirectoryStream( Path path, Filter<? super Path> filter) argument
266 newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument
275 newInputStream(Path path, OpenOption... options) argument
282 newOutputStream(Path path, OpenOption... options) argument
290 readAttributes(Path path, Class<A> type, LinkOption... options) argument
300 readAttributes(Path path, String attribute, LinkOption... options) argument
312 setAttribute(Path path, String attribute, Object value, LinkOption... options) argument
[all...]
/openjdk7/jdk/src/share/instrument/
H A DPathCharsValidator.c38 * Validates that a URI path component does not contain any illegal characters
160 // All valid path characters
167 * Validates that the given URI path component does not contain any
170 int validatePathChars(const char* path) { argument
179 n = strlen(path);
181 int c = (int)(signed char)path[i];
189 int h1 = (int)(signed char)path[i+1];
190 int h2 = (int)(signed char)path[i+2];
/openjdk7/jdk/src/share/native/java/util/zip/
H A DZipFile.c87 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/test/javax/swing/JFileChooser/6698013/
H A Dbug6698013.java95 * A Virtual File. Contains a path and a directory flag that
103 private String path; field in class:VirtualFile
107 public VirtualFile(String path, boolean directory) { argument
108 super(path);
109 this.path = path;
114 int index = path.lastIndexOf('/');
120 return new VirtualFile(path.substring(0, index), true);
134 int index = path.lastIndexOf('/');
136 return index == -1 ? path
[all...]
/openjdk7/jdk/test/sun/management/windows/
H A Drevokeall.c174 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/src/share/classes/sun/misc/
H A DLauncher.java59 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...]
H A DURLClassPath.java57 * This class is used to maintain a search path of URLs for loading classes
78 /* The original search path of URLs. */
79 private ArrayList<URL> path = new ArrayList<URL>(); field in class:URLClassPath
84 /* The resulting search path of Loaders */
108 path.add(urls[i]);
137 * Appends the specified URL to the search path of directory and JAR
147 if (url == null || path.contains(url))
151 path.add(url);
156 * Returns the original search path of URLs.
160 return path
392 pathToURLs(String path) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/ftp/
H A DFtpURLConnection.java315 * 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...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DAuthenticationInfo.java101 return path;
160 //return ("{"+type+":"+authScheme+":"+protocol+":"+host+":"+port+":"+realm+":"+path+"}");
188 /** The shortest path from the URL we authenticated against. */
189 String path; field in class:AuthenticationInfo
199 this.path = null;
212 * Constructor used to limit the authorization to the path within
228 this.path = urlPath;
230 this.path = reducePath (urlPath);
236 * reduce the path to the root of where we think the
270 * In this case we do not use the path becaus
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/
H A DBatchEnvironment.java70 * Create a ClassPath object for rmic from a class path string.
79 * options for class path, boot class path, and extension directories.
96 Path path = new Path();
99 sysClassPathString = System.getProperty("sun.boot.class.path");
102 path.addFiles(sysClassPathString);
107 * everywhere except in the boot class path.
109 path.expandJarClassPaths(true);
115 path.addDirectories(extDirsString);
119 * In the application class path, a
142 BatchEnvironment(OutputStream out, ClassPath path, Main main) argument
237 private final String path; field in class:BatchEnvironment.Path.PathIterator
240 PathIterator(String path, String emptyPathDefault) argument
244 PathIterator(String path) argument
[all...]

Completed in 62 milliseconds

1234567891011>>