Searched refs:path (Results 251 - 275 of 594) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/sun/security/util/
H A DPathList.java37 * A utility class for handle path list
42 * Utility method for appending path from pathFrom to pathTo.
44 * @param pathTo the target path
45 * @param pathSource the path to be appended to pathTo
46 * @return the resulting path
59 * Utility method for converting a search path string to an array
62 * @param path the search path string
65 public static URL[] pathToURLs(String path) { argument
66 StringTokenizer st = new StringTokenizer(path, Fil
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathValidator/OCSP/
H A DAIACheck.java61 CertPath path = cf.generateCertPath(list);
82 validator.validate(path, params);
83 throw new Exception("Successfully validated an invalid path");
/openjdk7/jdk/src/share/classes/sun/misc/
H A DVMSupport.java85 * path is not a JAR file or some other error occurs.
87 public static boolean isClassPathAttributePresent(String path) { argument
89 Manifest man = (new JarFile(path)).getManifest();
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisFileSystemProvider.java48 SolarisFileStore getFileStore(UnixPath path) throws IOException { argument
49 return new SolarisFileStore(path);
/openjdk7/langtools/test/tools/javac/
H A DT6668802.java54 File writeTestFile(String path, String contents) throws IOException { argument
55 File f = new File(path);
/openjdk7/langtools/test/tools/javadoc/6964914/
H A DTest.java45 void javadoc(String path, String expect) { argument
49 "-bootclasspath", System.getProperty("sun.boot.class.path"),
52 new File(testSrc, path).getPath()
/openjdk7/hotspot/src/share/tools/ProjectCreator/
H A DFileTreeCreatorVC10.java92 public FileVisitResult preVisitDirectory(Path path, BasicFileAttributes attrs) argument
95 // TODO remove attrs, if path is matched in this dir, then it is too in every subdir.
101 if (cfg.matchesIgnoredPath(path.toAbsolutePath().toString())) {
106 if (cfg.matchesHidePath(path.toAbsolutePath().toString())) {
113 String name = startDir.relativize(path.toAbsolutePath()).toString();
119 return super.preVisitDirectory(path, attrs);
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DGnomeFileTypeDetector.c58 typedef GFile* (*g_file_new_for_path_func)(const char* path);
133 char* path = (char*)jlong_to_ptr(pathAddress); local
138 gfile = (*g_file_new_for_path)(path);
190 char* path = (char*)jlong_to_ptr(pathAddress); local
191 const char* mime = (*gnome_vfs_mime_type_from_name)(path);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DJavacPathFileManager.java76 // Paths: com.sun.tools.javac.file.Paths -- legacy javac type for handling path options
100 * <p>To reduce confusion with Path objects, the locations such as "class path",
101 * "source path", etc, are generically referred to here as "search paths".
159 Iterable<? extends Path> path = getLocation(location);
160 if (path == null)
163 for (Path p: path) {
188 PathsForLocation path = pathsForLocation.get(location);
189 if (path == null && !pathsForLocation.containsKey(location)) {
191 path = pathsForLocation.get(location);
193 return path;
323 list(Path path, String packageName, final Set<Kind> kinds, boolean recurse, final ListBuffer<JavaFileObject> results) argument
529 isDirectory(Path path) argument
[all...]
/openjdk7/langtools/test/tools/javac/6508981/
H A DTestInferBinaryName.java82 getFileManager("sun.boot.class.path", USE_SYMBOL_FILE, DONT_USE_ZIP_FILE_INDEX);
90 getFileManager("sun.boot.class.path", IGNORE_SYMBOL_FILE, DONT_USE_ZIP_FILE_INDEX);
98 getFileManager("sun.boot.class.path", USE_SYMBOL_FILE, USE_ZIP_FILE_INDEX);
106 getFileManager("sun.boot.class.path", IGNORE_SYMBOL_FILE, USE_ZIP_FILE_INDEX);
148 List<File> path = getPath(System.getProperty(classpathProperty));
149 fm.setLocation(CLASS_PATH, path);
154 List<File> path = new ArrayList<File>();
157 path.add(new File(f));
159 //System.err.println("path: " + path);
[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/langtools/src/share/classes/com/sun/tools/javac/file/
H A DZipFileIndex.java232 * Returns the ZipFileIndexEntry for a path, if there is one.
234 synchronized Entry getZipIndexEntry(RelativePath path) { argument
237 DirectoryEntry de = directories.get(path.dirname());
238 String lookFor = path.basename();
249 public synchronized com.sun.tools.javac.util.List<String> getFiles(RelativeDirectory path) { argument
253 DirectoryEntry de = directories.get(path);
266 public synchronized List<String> getDirectories(RelativeDirectory path) { argument
270 DirectoryEntry de = directories.get(path);
299 * Tests if a specific path exists in the zip. This method will return true
302 * @param path
305 contains(RelativePath path) argument
315 isDirectory(RelativePath path) argument
326 getLastModified(RelativeFile path) argument
333 length(RelativeFile path) argument
351 read(RelativeFile path) argument
365 read(RelativeFile path, byte[] buffer) argument
1050 getRelativeDirectory(String path) argument
1080 Entry(RelativePath path) argument
[all...]
H A DJavacFileManager.java345 * container is a directory, a zip file, or a non-existant path.
390 /** Hack to make Windows case sensitive. Test whether given path
392 * Ignore file separators in both path and name.
398 String path;
400 path = f.getCanonicalPath();
404 char[] pcs = path.toCharArray();
405 char[] ncs = name.path.toCharArray();
612 Iterable<? extends File> path = getLocation(location);
613 if (path == null)
616 for (File f: path) {
813 setLocation(Location location, Iterable<? extends File> path) argument
830 getOutputDirectory(Iterable<? extends File> path) argument
[all...]
/openjdk7/hotspot/src/os/linux/vm/
H A DattachListener_linux.cpp63 // the path to which we bind the UNIX domain socket
70 static void set_path(char* path) { argument
71 if (path == NULL) {
74 strncpy(_path, path, UNIX_PATH_MAX);
96 static char* path() { return _path; } function in class:LinuxAttachListener
164 ::unlink(LinuxAttachListener::path());
173 char path[UNIX_PATH_MAX]; // socket file local
180 int n = snprintf(path, UNIX_PATH_MAX, "%s/.java_pid%d",
183 n = snprintf(initial_path, UNIX_PATH_MAX, "%s.tmp", path);
211 res = ::rename(initial_path, path);
[all...]
/openjdk7/hotspot/src/share/tools/launcher/
H A Dwildcard.c28 * 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/share/bin/
H A Dwildcard.c29 * 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/os/posix/launcher/
H A Djava_md.c177 static jboolean GetJREPath(char *path, jint pathsize, char * arch, jboolean speculative);
238 char* newpath = NULL; /* path on new LD_LIBRARY_PATH */
344 /* exec child can do error checking on the existence of the path */
382 * The vm uses LD_LIBRARY_PATH to set the java.library.path system
442 * linker does apply more scrutiny to the path.) The launcher uses
458 * linker does apply more scrutiny to the path.) The launcher uses
483 /* remove the name of the .so from the JVM path */
507 * Check to make sure that the prefix of the current path is the
561 * If the data model is being changed, the path to the
624 * all we need to do here is to return correct path name
699 GetJREPath(char *path, jint pathsize, char * arch, jboolean speculative) argument
915 char *path; local
1556 CheckSanity(char *path, char *dir) argument
1645 char *path; local
[all...]
/openjdk7/jdk/src/macosx/native/sun/font/
H A DAWTStrike.m214 AWTPathRef path = NULL;
240 path = AWTPathCreate(CGSizeMake(xPos, yPos));
241 AWT_FONT_CLEANUP_CHECK(path);
246 AWTGetGlyphOutline(&glyph, (NSFont *)font, &advance, &tx, 0, 1, &path);
249 pointCoords = (*env)->NewFloatArray(env, path->fNumberOfDataElements);
252 (*env)->SetFloatArrayRegion(env, pointCoords, 0, path->fNumberOfDataElements, (jfloat*)path->fSegmentData);
254 // Copy the pointTypes to the general path
255 pointTypes = (*env)->NewByteArray(env, path->fNumberOfSegments);
258 (*env)->SetByteArrayRegion(env, pointTypes, 0, path
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DFilePermission.java139 // 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...]
/openjdk7/jdk/src/windows/classes/sun/awt/shell/
H A DWin32ShellFolderManager2.java165 String path = Win32ShellFolder2.getFileSystemPath(RECENT);
166 if (path != null) {
167 recent = createShellFolder(getDesktop(), new File(path));
194 String path = Win32ShellFolder2.getFileSystemPath(PERSONAL);
195 if (path != null) {
197 personal = desktop.getChildByPath(path);
199 personal = createShellFolder(getDesktop(), new File(path));
305 // A path
380 String path = AccessController.doPrivileged(new PrivilegedAction<String>() {
386 return (path
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTreeUI.java338 TreePath path;
346 path = (TreePath)paintingEnumerator.nextElement();
347 if (path != null) {
348 isLeaf = treeModel.isLeaf(path.getLastPathComponent());
353 isExpanded = treeState.getExpandedState(path);
354 hasBeenExpanded = tree.hasBeenExpanded(path);
356 bounds = getPathBounds(tree, path);
360 paintBounds, insets, bounds, rowBounds, path,
385 path = (TreePath)paintingEnumerator.nextElement();
386 if (path !
478 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
505 paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) argument
523 paintRow(TreeCellRenderer renderer, DefaultTreeCellRenderer dtcr, SynthContext treeContext, SynthContext cellContext, Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, Rectangle rowBounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
592 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/
H A DCNCtx.java479 * @param path the NameComponent[] object.
485 java.lang.Object callResolve(NameComponent[] path) argument
488 org.omg.CORBA.Object obj = _nc.resolve(path);
494 makeFullName(path));
502 throw ExceptionMapper.mapException(e, this, path);
538 NameComponent[] path = CNNameParser.nameToCosName(name);
541 java.lang.Object answer = callResolve(path);
634 NameComponent[] path = CNNameParser.nameToCosName(name);
637 callBindOrRebind(path, name, obj, false);
693 NameComponent[] path
724 callUnbind(NameComponent[] path) argument
976 callBindNewContext(NameComponent[] path) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassPath.java79 * Search for classes in given path.
87 SecuritySupport.getSystemProperty("path.separator"));
90 String path = tok.nextToken();
92 if(!path.equals("")) {
93 File file = new File(path);
98 vec.add(new Dir(path));
121 /** @return used class path string
139 private static final void getPathComponents(String path, ArrayList list) { argument
140 if(path != null) {
141 StringTokenizer tok = new StringTokenizer(path, Fil
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/
H A DUtils.java58 * @param pruneRegex Don't recurse down a path that matches this regex. May be null.
67 void search(final File path) throws IOException{
68 if(prunePattern != null && prunePattern.matcher(path.getAbsolutePath()).matches()) return;
69 String cpath = path.getCanonicalPath();
71 if(matchPattern.matcher(path.getAbsolutePath()).matches())
72 found.add(path);
73 if(path.isDirectory())
74 for(File sub : path.listFiles())
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/
H A DFramework.java54 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);

Completed in 90 milliseconds

<<11121314151617181920>>