Searched defs:path (Results 251 - 275 of 363) sorted by relevance

<<1112131415

/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DLoaderHandler.java110 * table mapping codebase URL path and context class loader pairs
129 * java.rmi.server.codebase property as the URL path.
227 * Get the codebase URL path for the class loader, if it supports
287 * path. The parent classloader of the returned classloader is the
358 * codebase URL path in the current execution context.
400 * Get or create the RMI class loader for this codebase URL path
415 * to access all of the URLs in the codebase path, wrap the
560 * Get or create the RMI class loader for this codebase URL path
575 * to access all of the URLs in the codebase path, wrap the
757 private static URL[] pathToURLs(String path) argument
[all...]
/openjdk7/jdk/src/solaris/classes/java/io/
H A DUnixFileSystem.java42 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/awt/
H A DX11FontManager.java53 * to font file path like
65 * xlfdMap is a map from a platform path like
81 * add it to the X font server path, since although the files may
84 * heap space. If the optimal path is taken, such that all fonts in
94 * This is the set of font directories needed to be on the X font path
122 * the only code path that accesses this map.
126 /* Array of directories to be added to the X11 font path.
173 /* If a path is assigned in the font configuration file,
176 * which must be added to the X11 font path to support
285 protected void registerFontDir(String path) { argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileAttributes.java61 static UnixFileAttributes get(UnixPath path, boolean followLinks) argument
66 UnixNativeDispatcher.stat(path, attrs);
68 UnixNativeDispatcher.lstat(path, attrs);
81 static UnixFileAttributes get(int dfd, UnixPath path, boolean followLinks) argument
86 UnixNativeDispatcher.fstatat(dfd, path.asByteArray(), flag, attrs);
H A DUnixFileSystem.java266 String path;
268 path = first;
279 path = sb.toString();
281 return new UnixPath(this, path);
309 public boolean matches(Path path) {
310 return pattern.matcher(path.toString()).matches();
342 // Override if the platform has different path match requrement, such as
349 // for native file path. For example on MacOSX, the native path is stored
351 char[] normalizeNativePath(char[] path) { argument
358 normalizeJavaPath(String path) argument
[all...]
H A DUnixFileSystemProvider.java358 abstract FileStore getFileStore(UnixPath path) throws IOException; argument
H A DUnixPath.java53 private final byte[] path; field in class:UnixPath
61 // array of offsets of elements in path (created lazily)
64 UnixPath(UnixFileSystem fs, byte[] path) { argument
66 this.path = path;
118 // encodes the given path-string into a sequence of bytes
161 return path;
164 // use this path when making system/library calls
169 return resolve(getFileSystem().defaultDirectory(), path);
172 return path;
[all...]
/openjdk7/langtools/test/tools/javac/diags/
H A DFileManager.java109 public void setLocation(Location location, Iterable<? extends File> path) throws IOException { argument
110 fileManager.setLocation(location, path);
/openjdk7/langtools/test/tools/javac/processing/
H A DT6920317.java50 // Used to describe properties of files to be put on command line, source path, class path
57 * other path of type OLD, in which case, this file must be newer than the other one. */
73 // Run tests for all combinations of files on command line, source path and class path.
106 // source path containing package-info
110 // class path containing package-info
115 // source path containing package-info which is newer than the one in cp-old
120 // class path containing package-info which is newer than the one in sp-old
160 String testClassPath = System.getProperty("test.class.path", testClasse
277 writeFile(String path, String body) argument
291 writeFile(String path, String body, File ref) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJMenuBar.java388 public void processMouseEvent(MouseEvent event,MenuElement path[],MenuSelectionManager manager) { argument
396 public void processKeyEvent(KeyEvent e,MenuElement path[],MenuSelectionManager manager) { argument
H A DJMenuItem.java424 * @param path the <code>MenuElement</code> path array
427 public void processMouseEvent(MouseEvent e,MenuElement path[],MenuSelectionManager manager) { argument
434 path, manager));
447 * @param path the <code>MenuElement</code> path array
450 public void processKeyEvent(KeyEvent e,MenuElement path[],MenuSelectionManager manager) { argument
458 path, manager);
667 * path that changed, false if this menu is part of the
668 * a menu path tha
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicMenuUI.java218 private static void appendPath(MenuElement[] path, MenuElement elem) { argument
219 MenuElement newPath[] = new MenuElement[path.length+1];
220 System.arraycopy(path, 0, newPath, 0, path.length);
221 newPath[path.length] = elem;
278 MenuElement path[] = defaultManager.getSelectedPath();
279 if(path.length > 0 && path[path.length-1] == menu) {
280 appendPath(path, men
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeSelectionModel.java79 /** Provides a row for a given path. */
91 /** Last path that was added. */
93 /** Index of the lead path in selection. */
174 * Sets the selection to path. If this represents a change, then
175 * the TreeSelectionListeners are notified. If <code>path</code> is
178 * @param path new path to select
180 public void setSelectionPath(TreePath path) { argument
181 if(path == null)
186 newPaths[0] = path;
304 addSelectionPath(TreePath path) argument
427 removeSelectionPath(TreePath path) argument
545 isPathSelected(TreePath path) argument
1221 protected TreePath path; field in class:PathPlaceHolder
1223 PathPlaceHolder(TreePath path, boolean isNew) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/dc/
H A DDuctusRenderingEngine.java43 import sun.dc.path.PathConsumer;
44 import sun.dc.path.PathException;
45 import sun.dc.path.FastPathProducer;
172 * Feed a path from a PathIterator to a Ductus PathConsumer.
251 * and Infinity values. Skipping next path segment in case of
269 * and Infinity values. Ignoring current path segment in case
290 * and Infinity values. Ignoring current path segment in case
319 * and Infinity values. Ignoring current path segment in case
503 * and Infinity values. Skipping next path segment in case
523 * NaN and Infinity values. Ignoring current path segmen
772 Path2D.Float path; field in class:DuctusRenderingEngine.FillAdapter
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DRandomAccessFile.java66 /* The path of the referenced file */
67 private final String path; field in class:RandomAccessFile
175 * also called with the path argument to see if write access to the file is
236 throw new FileNotFoundException("Invalid file path");
240 this.path = name;
278 channel = FileChannelImpl.open(fd, path, true, rw, this);
327 Object traceContext = IoTrace.fileReadBegin(path);
347 Object traceContext = IoTrace.fileReadBegin(path);
497 Object traceContext = IoTrace.fileWriteBegin(path);
517 Object traceContext = IoTrace.fileWriteBegin(path);
[all...]
/openjdk7/jdk/src/share/classes/java/util/prefs/
H A DAbstractPreferences.java130 * Our absolute path name.
762 * that the node has not been removed. If <tt>path</tt> is <tt>""</tt>,
763 * this node is returned; if <tt>path</tt> is <tt>"/"</tt>, this node's
764 * root is returned. If the first character in <tt>path</tt> is
765 * not <tt>'/'</tt>, the implementation breaks <tt>path</tt> into
766 * tokens and recursively traverses the path from this node to the
767 * named node, "consuming" a name and a slash from <tt>path</tt> at
784 * <p> If the first character of <tt>path</tt> is <tt>'/'</tt>
785 * (indicating an absolute path name) this preference node's
786 * lock is dropped prior to breaking <tt>path</t
802 node(String path) argument
821 node(StringTokenizer path) argument
865 nodeExists(String path) argument
887 nodeExists(StringTokenizer path) 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/jdk/src/share/classes/com/sun/tools/script/shell/
H A DMain.java490 * Utility method for converting a search path string to an array
493 * @param path the search path string
496 private static URL[] pathToURLs(String path) { argument
497 String[] components = path.split(File.pathSeparator);
/openjdk7/hotspot/src/os/bsd/dtrace/
H A Djvm_dtrace.c118 static int file_open(const char* path, int flag) { argument
120 RESTARTABLE(open(path, flag), ret);
144 static int check_permission(const char* path) { argument
150 * Check that the path is owned by the effective uid/gid of this
156 res = stat64(path, &sb);
158 print_debug("stat failed for %s\n", path);
164 print_debug("well-known file %s is not secure\n", path);
173 static void fill_attach_file_name(char* path, int len, pid_t pid) { argument
174 memset(path, 0, len);
175 sprintf(path, ATTACH_FILE_PATTER
182 char path[PATH_MAX + 1]; local
204 char path[PATH_MAX + 1]; local
219 char path[PATH_MAX + 1]; local
[all...]
/openjdk7/hotspot/src/os/bsd/vm/
H A DattachListener_bsd.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:BsdAttachListener
164 ::unlink(BsdAttachListener::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);
215 res = ::rename(initial_path, path);
487 char path[PATH_MAX + 1]; local
[all...]
H A DperfMemory_bsd.cpp94 assert(destfile[0] != '\0', "invalid PerfData file path");
159 // construct the path name to user specific tmp directory
200 // check if the given path is considered a secure directory for
202 // and is considered a secure location. Returns false if the path
205 static bool is_directory_secure(const char* path) { argument
209 RESTARTABLE(::lstat(path, &statbuf), result);
214 // the path exists, now check it's mode
216 // the path represents a link or some non-directory file type,
447 // this method removes the file specified by the given path
449 static void remove_file(const char* path) { argument
476 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); local
[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...]
H A DperfMemory_linux.cpp94 assert(destfile[0] != '\0', "invalid PerfData file path");
159 // construct the path name to user specific tmp directory
200 // check if the given path is considered a secure directory for
202 // and is considered a secure location. Returns false if the path
205 static bool is_directory_secure(const char* path) { argument
209 RESTARTABLE(::lstat(path, &statbuf), result);
214 // the path exists, now check it's mode
216 // the path represents a link or some non-directory file type,
447 // this method removes the file specified by the given path
449 static void remove_file(const char* path) { argument
476 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); local
[all...]
/openjdk7/hotspot/src/os/solaris/dtrace/
H A Djvm_dtrace.c118 static int file_open(const char* path, int flag) { argument
120 RESTARTABLE(open(path, flag), ret);
144 static int check_permission(const char* path) { argument
150 * Check that the path is owned by the effective uid/gid of this
156 res = stat64(path, &sb);
158 print_debug("stat failed for %s\n", path);
164 print_debug("well-known file %s is not secure\n", path);
173 static void fill_attach_file_name(char* path, int len, pid_t pid) { argument
174 memset(path, 0, len);
175 sprintf(path, ATTACH_FILE_PATTER
182 char path[PATH_MAX + 1]; local
204 char path[PATH_MAX + 1]; local
219 char path[PATH_MAX + 1]; local
[all...]
/openjdk7/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp96 assert(destfile[0] != '\0', "invalid PerfData file path");
161 // construct the path name to user specific tmp directory
202 // check if the given path is considered a secure directory for
204 // and is considered a secure location. Returns false if the path
207 static bool is_directory_secure(const char* path) { argument
211 RESTARTABLE(::lstat(path, &statbuf), result);
216 // the path exists, now check it's mode
218 // the path represents a link or some non-directory file type,
484 // this method removes the file specified by the given path
486 static void remove_file(const char* path) { argument
513 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); local
[all...]

Completed in 74 milliseconds

<<1112131415