Searched refs:path (Results 126 - 150 of 594) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsRootPaneUI.java87 MenuElement[] path = msm.getSelectedPath();
88 if (path.length > 0 && ! (path[0] instanceof ComboPopup)) {
92 } else if(path.length > 0) { // We are in ComboBox
143 MenuElement[] path = new MenuElement[2];
144 path[0] = mbar;
145 path[1] = menu;
146 msm.setSelectedPath(path);
182 MenuElement[] path = msm.getSelectedPath();
183 if (path
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicPopupMenuUI.java316 MenuElement path[] = e.getPath();
369 MenuElement newPath[] = new MenuElement[path.length+1];
370 System.arraycopy(path, 0, newPath, 0, path.length);
371 newPath[path.length] = newItem;
442 MenuElement path[] = msm.getSelectedPath();
444 if(path.length > 0) {
445 lastElement = path[path.length-1];
447 MenuElement newPath[] = new MenuElement[path
1031 getActivePopup(MenuElement[] path) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTree.java109 * NOTE: This example obtains both the path and row, but you only need to
185 * particular path is expanded. This ONLY indicates whether a
186 * given path is expanded, and NOT if it is visible or not. That
287 * Lead selection path, may not be <code>null</code>.
292 * Anchor path.
327 private final TreePath path; field in class:JTree.DropLocation
330 private DropLocation(Point p, TreePath path, int index) { argument
332 this.path = path;
338 * with respect to the path returne
1512 isPathEditable(TreePath path) argument
1630 setSelectionPath(TreePath path) argument
1737 addSelectionPath(TreePath path) argument
1911 isPathSelected(TreePath path) argument
1979 hasBeenExpanded(TreePath path) argument
1990 isExpanded(TreePath path) argument
2037 isCollapsed(TreePath path) argument
2057 makeVisible(TreePath path) argument
2074 isVisible(TreePath path) argument
2099 getPathBounds(TreePath path) argument
2128 scrollPathToVisible(TreePath path) argument
2183 getRowForPath(TreePath path) argument
2198 expandPath(TreePath path) argument
2228 collapsePath(TreePath path) argument
2386 startEditingAtPath(TreePath path) argument
2608 removeSelectionPath(TreePath path) argument
2750 fireTreeExpanded(TreePath path) argument
2781 fireTreeCollapsed(TreePath path) argument
2812 fireTreeWillExpand(TreePath path) argument
2838 fireTreeWillCollapse(TreePath path) argument
3183 getModelIndexsForPath(TreePath path) argument
3533 setExpandedState(TreePath path, boolean state) argument
3705 removeDescendantSelectedPaths(TreePath path, boolean includePath) argument
3720 getDescendantSelectedPaths(TreePath path, boolean includePath) argument
4523 private TreePath path = null; field in class:JTree.AccessibleJTree.AccessibleJTreeNode
[all...]
/openjdk7/langtools/make/tools/CompileProperties/
H A DCompilePropertiesTask.java64 for (String path: s.getIncludedFiles()) {
65 if (path.endsWith(".properties")) {
67 path.substring(0, path.length() - ".properties".length()) +
69 File srcFile = new File(srcDir, path);
/openjdk7/jdk/src/solaris/bin/
H A Djava_md_common.c74 * Find a command in a directory, returning the path.
91 * Find a path for the executable
97 char *path; local
102 /* absolute path? */
107 /* relative path? */
113 /* from search path? */
114 path = getenv("PATH");
115 if (!path || !*path) path
182 CheckSanity(char *path, char *dir) argument
271 char *path; local
[all...]
/openjdk7/jdk/src/windows/native/sun/management/
H A DFileSystemImpl.c44 static jboolean isSecuritySupported(JNIEnv* env, const char* path) { argument
57 root = strdup(path);
123 static SECURITY_DESCRIPTOR* getFileSecurityDescriptor(JNIEnv* env, const char* path) { argument
129 GetFileSecurityA(path, info , 0, 0, &len);
138 if (!(*GetFileSecurityA)(path, info, sd, len, &len)) {
257 const char* path; local
259 path = JNU_GetStringPlatformChars(env, str, &isCopy);
260 if (path != NULL) {
261 res = isSecuritySupported(env, path);
263 JNU_ReleaseStringPlatformChars(env, str, path);
283 const char* path; local
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURI.java105 * [<i>scheme</i><tt><b>:</b></tt>][<tt><b>//</b></tt><i>authority</i>][<i>path</i>][<tt><b>?</b></tt><i>query</i>][<tt><b>#</b></tt><i>fragment</i>]
126 * <p> The path component of a hierarchical URI is itself said to be absolute
128 * relative. The path of a hierarchical URI that is either absolute or
133 * <blockquote><table summary="Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment">
141 * <tr><td>path</td><td><tt>String</tt></td></tr>
157 * has a path (though it may be empty) and a scheme-specific-part (which at
158 * least contains the path), and may have any of the other components. If the
169 * and <tt>".."</tt> segments from the path component of a hierarchical URI.
178 * the path of the original is resolved against the path o
497 private transient String path; // null ==> opaque field in class:URI
671 URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) argument
744 URI(String scheme, String authority, String path, String query, String fragment) argument
778 URI(String scheme, String host, String path, String fragment) argument
1798 checkPath(String s, String scheme, String path) argument
1859 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
1907 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
2159 needsNormalization(String path) argument
2216 split(char[] path, int[] segs) argument
2265 join(char[] path, int[] segs) argument
2308 removeDots(char[] path, int[] segs) argument
2365 maybeAddLeadingDot(char[] path, int[] segs) argument
[all...]
/openjdk7/jdk/src/macosx/native/java/util/
H A DMacOSXPreferencesFile.m51 because the CF keys identifying the node span the entire absolute path
253 // Create a string that consists of path minus its last component.
254 // path must end with '/'
255 // The result will end in '/' (unless path itself is '/')
256 static CFStringRef copyParentOf(CFStringRef path)
263 searchRange = CFRangeMake(0, CFStringGetLength(path) - 1);
264 found = CFStringFindWithOptions(path, CFSTR("/"), searchRange,
268 return CFStringCreateWithSubstring(NULL, path, parentRange);
272 // Create a string that consists of path's last component.
273 // path mus
[all...]
/openjdk7/jdk/test/demo/zipfs/
H A DZipFSTester.java64 Path path = fs.getPath(pname);
65 if (!Files.exists(path))
66 throw new RuntimeException("path existence check failed!");
67 while ((path = path.getParent()) != null) {
68 if (!Files.exists(path))
90 // newFileSystem(path...) should not throw exception
231 for (String path : list) {
233 z2zcopy(fs1, fs2, path, 0);
246 for (String path
340 newZipFileSystem(Path path, Map<String, ?> env) argument
354 list(Path path, List<String> files, List<String> dirs ) argument
368 z2zcopy(FileSystem src, FileSystem dst, String path, int method) argument
408 z2zmove(FileSystem src, FileSystem dst, String path) argument
432 walk(Path path) argument
474 mkdirs(Path path) argument
486 rmdirs(Path path) argument
651 channel(FileSystem fs, Path path) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DDefaultSynthStyleFactory.java81 String path, int type) throws PatternSyntaxException {
82 if (path == null) {
83 // Make an empty path match all.
84 path = ".*";
88 path, style, type));
92 path.toLowerCase(), style, type));
151 String path;
154 path = cName;
157 path = idName;
160 if (sa.matches(path)
80 addStyle(DefaultSynthStyle style, String path, int type) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DCompositeStrike.java169 GeneralPath path = strike.getGlyphOutline(glyphCode & SLOTMASK, x, y);
170 if (path == null) {
173 return path;
185 GeneralPath path = null;
203 if (path == null) {
204 path = gp;
206 path.append(gp, false);
209 if (path == null) {
212 return path;
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/
H A DFileLocator.java63 static final String classPath = pp.getProperty ("java.class.path", ".");
64 static final String pathSeparator = pp.getProperty ("path.separator", ";");
92 String path = "";
103 try {path = st.nextToken ();}
105 int pLen = path.length ();
106 String pathLast4 = pLen > 3 ? path.substring (pLen - 4) : "";
112 result = locateInZipFile (path, classFileName, true, true);
124 try {cf = new File (path + File.separator + pathNameForm);
149 new FileInputStream (cf)), path + File.separator + pathNameForm,
164 * may be qualified with a partial path nam
[all...]
/openjdk7/jdk/test/sun/security/tools/jarsigner/
H A DTimestampCheck.java66 int path = 0;
68 path = Integer.parseInt(
71 byte[] output = sign(input, path);
87 * @param path different cases to simulate, impl on URL path
99 byte[] sign(byte[] input, int path) throws Exception { argument
126 if (path == 6) alias = "tsbad1";
127 if (path == 7) alias = "tsbad2";
128 if (path == 8) alias = "tsbad3";
133 statusStrings.putUTF8String("Status for " + path);
281 jarsigner(String cmd, int path, boolean expected) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DSALauncherLoader.java41 * "java.class.path". Because, this class loader loads SA debugger classes
44 * "sa.library.path" System property. This way updated/latest SA native library
51 * the System property "sa.library.path".
66 String salibpath = System.getProperty("sa.library.path");
120 final String s = System.getProperty("java.class.path");
121 final File[] path = (s == null) ? new File[0] : getClassPath(s);
123 return pathToURLs(path);
126 private static URL[] pathToURLs(File[] path) { argument
127 URL[] urls = new URL[path.length];
128 for (int i = 0; i < path
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifMenuUI.java123 MenuElement path[] = getPath();
124 if (path.length > 0) {
125 MenuElement newPath[] = new MenuElement[path.length+1];
126 System.arraycopy(path,0,newPath,0,path.length);
127 newPath[path.length] = menu.getPopupMenu();
/openjdk7/jdk/src/macosx/native/com/apple/eio/
H A DCFileManager.m131 char path[PATH_MAX];
132 if (FSRefMakePath(&foundRef, (UInt8 *)path, sizeof(path)) == noErr) {
133 NSString *filenameString = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:path length:strlen(path)];
179 NSString *path = [[NSBundle mainBundle] pathForResource:resourceName
183 filename = JNFNormalizedJavaStringForPath(env, path);
221 NSString *path = JNFNormalizedNSStringForPath(env, url);
225 source:[path stringByDeletingLastPathComponent]
227 files:[NSArray arrayWithObject:[path lastPathComponen
[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...]
/openjdk7/jdk/src/share/instrument/
H A DInvocationAdapter.c139 * file is then added to the system class path, and if the Boot-Class-Path
141 * to create boot class path segments to append to the boot class path.
286 #define AGENT_ERROR_NOTONCP ((jint)101) /* Unable to add JAR file to system class path */
346 * Add the jarfile to the system class path
349 fprintf(stderr, "Unable to add %s to system class path "
513 * This function splits the attribute value into a list of path segments.
547 /* URI path decoding - ported from src/share/classes/java/net/URI.java */
568 * If the path does not require decoding the the original path i
713 char* path; local
[all...]
/openjdk7/jdk/test/sun/misc/IoTrace/
H A DIoTraceBase.java33 private String path; field in class:IoTraceBase
48 path = null;
53 path = p;
65 path = p;
124 if (!path.equals(f.getPath())) {
125 throw new Exception("Incorrect path: " + path + ". Expected: "
/openjdk7/jdk/make/sun/dcpr/
H A DMakefile39 sun/dc/path/FastPathProducer.java \
40 sun/dc/path/PathConsumer.java \
41 sun/dc/path/PathError.java \
42 sun/dc/path/PathException.java \
77 vpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)/path
88 -I$(CLOSED_SRC)/share/native/$(PKGDIR)/path \
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DParseUtil.java55 // path component of a URI.
57 // These characters are reserved in the path segment as described in
88 * Constructs an encoded version of the specified path string suitable
91 * A path separator is replaced by a forward slash. The string is UTF8
93 * 0x7F or those defined in RFC2396 as reserved or excluded in the path
96 public static String encodePath(String path) { argument
97 return encodePath(path, true);
100 * flag indicates whether path uses platform dependent
101 * File.separatorChar or not. True indicates path uses platform
104 public static String encodePath(String path, boolea argument
310 createURI(String scheme, String authority, String path, String query, String fragment) argument
323 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
345 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
529 checkPath(String s, String scheme, String path) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DFixedHeightLayoutCache.java70 * Used for getting path/row information.
146 public void invalidatePathBounds(TreePath path) { argument
163 public boolean isExpanded(TreePath path) { argument
164 if(path != null) {
165 FHTreeStateNode lastNode = getNodeForPath(path, true, false);
173 * Returns a rectangle giving the bounds needed to draw path.
175 * @param path a TreePath specifying a node
179 public Rectangle getBounds(TreePath path, Rectangle placeIn) { argument
180 if(path == null)
183 FHTreeStateNode node = getNodeForPath(path, tru
221 getRowForPath(TreePath path) argument
260 getVisibleChildCount(TreePath path) argument
273 getVisiblePathsFrom(TreePath path) argument
297 setExpandedState(TreePath path, boolean isExpanded) argument
322 getExpandedState(TreePath path) argument
594 getMapping(TreePath path) argument
682 getNodeForPath(TreePath path, boolean onlyIfVisible, boolean shouldCreate) argument
759 protected TreePath path; field in class:FixedHeightLayoutCache.FHTreeStateNode
[all...]
H A DAbstractLayoutCache.java201 * 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...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java146 * transform this to scheme://hostname:port. If a path
160 * optional path and fragment components. we assume that
172 * by a path part, fragment part, or both a path and fragment
209 * @param path the {@link URI#getPath} component of a URI.
219 public HostIdentifier(String scheme, String authority, String path, argument
222 uri = new URI(scheme, authority, path, query, fragment);
286 String path = vmid.getPath();
287 if ((path != null) && (path
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaMenuUI.java99 final MenuElement path[] = e.getPath();
109 appendPath(path, menu.getPopupMenu());
111 manager.setSelectedPath(path);
126 static void appendPath(final MenuElement[] path, final MenuElement elem) { argument
127 final MenuElement newPath[] = new MenuElement[path.length + 1];
128 System.arraycopy(path, 0, newPath, 0, path.length);
129 newPath[path.length] = elem;
136 * path for the MenuSelectionManager and handles the case

Completed in 75 milliseconds

1234567891011>>