Searched refs:path (Results 1 - 25 of 594) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/instrument/
H A DPathCharsValidator.h28 * Validates that the given URI path component does not contain any
31 int validatePathChars(const char* path);
H A DFileSystemSupport.h29 * Return the local filesystem's path-separator character.
40 * Post-process the given URI path string if necessary. This is used on
41 * win32, e.g., to transform "/c:/foo" into "c:/foo". The path string
45 char* fromURIPath(const char* path);
48 * Return the basen path of the given pathname. If the string is already
49 * the base path then it is simply returned.
51 char* basePath(const char* path);
57 char* normalize(const char* path);
62 int isAbsolute(const char * path);
/openjdk7/jdk/src/windows/native/common/
H A Djdk_util_md.c44 char path[MAX_PATH]; local
47 if (GetSystemDirectory(path, sizeof(path)) != 0) {
48 strcat(path, "\\");
49 strcat(path, name);
50 handle = LoadLibrary(path);
54 if (GetWindowsDirectory(path, sizeof(path)) != 0) {
55 strcat(path, "\\");
56 strcat(path, nam
[all...]
/openjdk7/langtools/src/share/classes/com/sun/source/util/
H A DTreePathScanner.java32 * support for maintaining a path for the parent nodes.
46 public R scan(TreePath path, P p) { argument
47 this.path = path;
49 return path.getLeaf().accept(this, p);
51 this.path = null;
57 * The current path is updated for the duration of the scan.
64 TreePath prev = path;
65 path = new TreePath(path, tre
81 private TreePath path; field in class:TreePathScanner
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DTreeExpansionEvent.java32 * An event used to identify a single path in a tree. The source
56 protected TreePath path; field in class:TreeExpansionEvent
63 * @param path a TreePath object identifying the newly expanded
66 public TreeExpansionEvent(Object source, TreePath path) { argument
68 this.path = path;
72 * Returns the path to the value that has been expanded/collapsed.
74 public TreePath getPath() { return path; }
H A DTreeModelEvent.java55 protected TreePath path; field in class:TreeModelEvent
63 * removed, identifying the path to the parent of the modified items as
117 * @param path an array of Object identifying the path to the
128 public TreeModelEvent(Object source, Object[] path, int[] childIndices, argument
131 this(source, new TreePath(path), childIndices, children);
136 * removed, identifying the path to the parent of the modified items as
144 * @param path a TreePath object that identifies the path to the
153 public TreeModelEvent(Object source, TreePath path, in argument
184 TreeModelEvent(Object source, Object[] path) argument
206 TreeModelEvent(Object source, TreePath path) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DRelativePath.java34 * Used to represent a platform-neutral path within a platform-specific
48 path = p;
56 if (path.length() == 0)
58 return new File(directory, path.replace('/', File.separatorChar));
62 return path.compareTo(other.path);
69 return path.equals(((RelativePath) other).path);
74 return path.hashCode();
79 return "RelPath[" + path
86 protected final String path; field in class:RelativePath
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreePath.java33 * identify the path to a node in a tree. The elements of the array
36 * the array of parent directories and the name of the file. The path
43 * path are the objects returned from the {@code TreeModel}. When {@code JTree}
45 * path are {@code TreeNode}s. The following example illustrates extracting
64 * NotSerializableException} is thrown if any elements of the path are
88 /** Last path component. */
93 * identifies the path to a node.
95 * @param path an array of objects representing the path to a node
96 * @throws IllegalArgumentException if {@code path} i
100 TreePath(Object[] path) argument
161 TreePath(Object[] path, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DPathMatcher.java40 * Tells if given path matches this matcher's pattern.
42 * @param path
43 * the path to match
45 * @return {@code true} if, and only if, the path matches this
48 boolean matches(Path path); argument
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphOutlines.m29 AWTPathGetMoreSpaceIfNecessary(AWTPathRef path)
31 while ((path->fAllocatedSegmentTypeSpace - path->fNumberOfSegments) < 1) {
32 size_t growth = sizeof(jbyte)*path->fAllocatedSegmentTypeSpace*kStorageSizeChangeOnGetMoreFactor;
33 path->fSegmentType = (jbyte*) realloc(path->fSegmentType, growth);
34 path->fAllocatedSegmentTypeSpace *= kStorageSizeChangeOnGetMoreFactor;
37 while ((path->fAllocatedSegmentDataSpace - path->fNumberOfDataElements) < 7) {
38 size_t growth = sizeof(jfloat)*path
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DMacOSXFileSystem.java52 char[] normalizeNativePath(char[] path) { argument
53 for (char c : path) {
55 return normalizepath(path, kCFStringNormalizationFormD);
57 return path;
60 String normalizeJavaPath(String path) { argument
61 for (int i = 0; i < path.length(); i++) {
62 if (path.charAt(i) > 0x80)
63 return new String(normalizepath(path.toCharArray(),
66 return path;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSingleLeafTreeSelectionModel.java49 public void setSelectionPath(TreePath path) { argument
50 if(((TreeNode)(path.getLastPathComponent())).isLeaf()) {
51 super.setSelectionPath(path);
57 // Only look at first path, as all others will be
65 public void addSelectionPath(TreePath path) { argument
66 if(((TreeNode)(path.getLastPathComponent())).isLeaf()) {
67 super.setSelectionPath(path);
73 // Only look at first path, as all others will be
/openjdk7/jdk/src/share/classes/java/io/
H A DFileNotFoundException.java76 private FileNotFoundException(String path, String reason) { argument
77 super(path + ((reason == null)
/openjdk7/jdk/src/macosx/native/jobjc/
H A Drunjava27 java -ea -classpath "lib/junit-4.4.jar:build/JObjC.build/Debug/bin/core:build/JObjC.build/Debug/bin/generator:build/JObjC.build/Debug/bin/additions:build/JObjC.build/Debug/bin/test:build/JObjC.build/Debug/bin/generated" -Djava.library.path=build/Debug $@
/openjdk7/jdk/test/java/beans/Beans/
H A DTest4080522.java43 String[] path = {"a", "b"};
45 test(path);
62 Introspector.setBeanInfoSearchPath(path);
68 PropertyEditorManager.setEditorSearchPath(path);
76 test(path);
79 private static void test(String[] path) { argument
83 Introspector.setBeanInfoSearchPath(path);
84 PropertyEditorManager.setEditorSearchPath(path);
/openjdk7/jdk/test/java/io/File/
H A DGetCanonicalPath.java38 String path = new File("c:/").getCanonicalPath();
39 if (path.length() > 3)
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DLivenessPathList.java44 void add(LivenessPath path) { argument
45 list.add(path);
48 void remove(LivenessPath path) { argument
49 list.remove(path);
/openjdk7/jdk/make/tools/src/build/tools/jarreorder/
H A DJarReorder.java76 * Command path arguments are
197 // Read the input file a path at a time. # in column 1 is a comment.
199 String path = br.readLine();
200 if (path == null) {
204 path = path.trim();
205 if (path.length() == 0
206 || path.charAt(0) == '#') {
210 if (addClassSuffix && !path.endsWith(".class")) {
211 path
288 cleanFilePath(String path) argument
304 cleanDirPath(String path) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/probe/provider/
H A DPluginPoint.java40 String path; field in class:PluginPoint
44 path = lpath;
52 return path;
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DUtils.java34 static String convertPath(String path) { argument
37 return path;
40 char[] cs = path.toCharArray();
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsUriSupport.java43 * Returns URI to represent the given (absolute) path
45 private static URI toUri(String path, boolean isUnc, boolean addSlash) { argument
50 int slash = path.indexOf('\\', 2);
51 uriHost = path.substring(2, slash);
52 uriPath = path.substring(slash).replace('\\', '/');
66 uriPath = "/" + path.replace('\\', '/');
83 // octets so fallback to encoding the server name into the URI path
85 uriPath = "//" + path.replace('\\', '/');
98 static URI toUri(WindowsPath path) { argument
99 path
[all...]
H A DWindowsLinkSupport.java51 static String readLink(WindowsPath path) throws IOException { argument
54 handle = path.openForReadAttributeAccess(false); // don't follow links
56 x.rethrowAsIOException(path);
66 * Returns the final path (all symbolic links resolved) or null if this
90 * Returns the final path of a given path as a String. This should be used
98 // if not following links then don't need final path
102 // if file is not a sym link then don't need final path
110 // The file is a symbolic link so attempt to get the final path
134 // no parent so use parent of absolute path
346 resolveAllLinks(WindowsPath path) argument
411 stripPrefix(String path) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/management/
H A DFileSystemImpl.java41 String path = f.getAbsolutePath();
42 if (!isSecuritySupported0(path)) {
45 return isAccessUserOnly0(path);
52 static native boolean isSecuritySupported0(String path) throws IOException; argument
54 static native boolean isAccessUserOnly0(String path) throws IOException; argument
/openjdk7/jdk/src/solaris/classes/sun/misc/
H A DFileURLMapper.java46 String path; field in class:FileURLMapper
53 * @returns the platform specific path corresponding to the URL
58 if (path != null) {
59 return path;
63 path = url.getFile();
64 path = ParseUtil.decode (path);
66 return path;
/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...]

Completed in 2097 milliseconds

1234567891011>>