Searched defs:path (Results 301 - 325 of 363) sorted by relevance

<<1112131415

/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.inline.hpp123 inline int os::readdir_buf_size(const char *path) argument
136 inline char* os::native_path(char *path) { argument
137 return path;
/openjdk7/hotspot/src/os/solaris/vm/
H A DattachListener_solaris.cpp68 // the path to which we attach the door file descriptor
75 static void set_door_path(char* path) { argument
76 if (path == NULL) {
79 strncpy(_door_path, path, PATH_MAX);
361 char* path = SolarisAttachListener::door_path(); local
362 ::fdetach(path);
363 ::unlink(path);
/openjdk7/hotspot/src/share/tools/ProjectCreator/
H A DBuildConfig.java105 public boolean matchesIgnoredPath(String path) { argument
109 if (path.contains(pathPart)) {
116 public boolean matchesHidePath(String path) { argument
120 if (path.contains(Util.normalize(pathPart))) {
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTreeUI.java148 final TreePath path = getPathForRow(tree, i);
150 if (path != null && path.getPathCount() == 2) {
159 protected void paintVerticalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final TreePath path) { argument
161 super.paintVerticalPartOfLeg(g, clipBounds, insets, path);
165 protected void paintHorizontalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument
167 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
185 protected void paintExpandControl(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument
186 final Object value = path.getLastPathComponent();
194 final State state = getState(path);
262 getState(final TreePath path) argument
275 handleExpandControlClick(final TreePath path, final int mouseX, final int mouseY) argument
331 TreeArrowMouseInputHandler(final TreePath path) argument
464 getRowForPath(final TreePath path) argument
471 getPathArrowBounds(final TreePath path) argument
[all...]
/openjdk7/jdk/src/windows/demo/jvmti/hprof/
H A Dhprof_md.c245 md_get_prelude_path(char *path, int path_len, char *filename) argument
261 (void)md_snprintf(path, path_len, "%s\\lib\\%s", libdir, filename);
380 /* check for NULL path */
399 /* Build a machine dependent library name out of a path and file name. */
/openjdk7/jdk/src/windows/native/java/io/
H A DWinNTFileSystem_md.c49 jfieldID path; member in struct:__anon1062
64 ids.path =
65 (*env)->GetFieldID(env, fileClass, "path", "Ljava/lang/String;");
79 extern int wcanonicalize(const WCHAR *path, WCHAR *out, int len);
83 * Retrieves the fully resolved (final) path for the given path or NULL
86 static WCHAR* getFinalPath(const WCHAR *path) argument
92 /* Need Windows Vista or newer to get the final path */
96 h = CreateFileW(path,
108 * Allocate a buffer for the resolved path
178 getFileInformation(const WCHAR *path, BY_HANDLE_FILE_INFORMATION *finfo) argument
204 getFinalAttributesIfReparsePoint(WCHAR *path, DWORD a) argument
220 getFinalAttributes(WCHAR *path) argument
332 isReservedDeviceNameW(WCHAR* path) argument
537 Java_java_io_WinNTFileSystem_createFileExclusively(JNIEnv *env, jclass cls, jstring path) argument
578 removeFileOrDirectory(const jchar *path) argument
[all...]
H A Dio_util_md.c62 jstring path = NULL; local
64 path = (*env)->GetObjectField(env, file, id);
66 return pathToNTPath(env, path, JNI_FALSE);
90 path. This piece of code needs to be revisited if chdir
128 "path" is a relative path, it is "the length of the current dir" + "the
129 length of the path", if it's "absolute" already, it's the same as
130 pathlen which is the length of "path".
132 WCHAR* prefixAbpath(const WCHAR* path, int pathlen, int abpathlen) { argument
142 if (_wfullpath(abpath, path, abpathle
162 pathToNTPath(JNIEnv *env, jstring path, jboolean throwFNFE) argument
226 winFileHandleOpen(JNIEnv *env, jstring path, int flags) argument
285 fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags) argument
[all...]
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java137 public boolean matches(Path path) {
138 return matcher.matches(unwrap(path));
366 private Path wrap(Path path) { argument
367 return (path != null) ? new PassThroughPath(fs, path) : null;
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DUtil.java239 * @param path The relative path to the directory to be copied.
244 String path, String dir, boolean overwrite) {
245 if (checkCopyDocFilesErrors(configuration, path, dir)) {
249 File srcdir = new File(path + dir);
277 copyDocFiles(configuration, path, dir +
294 * @param path The relative path to the directory to be copied.
298 String path, String dirName) {
301 //The destination path an
243 copyDocFiles(Configuration configuration, String path, String dir, boolean overwrite) argument
297 checkCopyDocFilesErrors(Configuration configuration, String path, String dirName) argument
645 genWriter(Configuration configuration, String path, String filename, String docencoding) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
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/langtools/src/share/classes/com/sun/tools/javah/
H A DJavahTask.java519 private List<File> pathToFiles(String path) { argument
521 for (String f: path.split(File.pathSeparator)) {
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DPolicyFile.java705 pe.add(new PropertyPermission("path.separator",
1789 String path = null;
1814 path = u.getFile().replace('/', File.separatorChar);
1815 path = ParseUtil.decode(path);
1820 if (path != null) {
1823 path = canonPath(path);
1824 csUrl = ParseUtil.fileToEncodedURL(new File(path));
1850 // Wrapper to return a canonical path tha
1852 canonPath(String path) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/javac/
H A DBatchEnvironment.java52 * The path we use for finding source files.
57 * The path we use for finding class (binary) files.
119 * with an old-style class path.
121 public BatchEnvironment(ClassPath path) { argument
122 this(System.out, path);
125 ClassPath path) {
126 this(out, path, (ErrorConsumer) null);
129 ClassPath path,
131 this(out, path, path, errorConsume
124 BatchEnvironment(OutputStream out, ClassPath path) argument
128 BatchEnvironment(OutputStream out, ClassPath path, ErrorConsumer errorConsumer) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DJConsole.java1024 * Utility method for converting a search path string to an array
1027 * @param path the search path string
1030 private static URL[] pathToURLs(String path) throws MalformedURLException { argument
1031 String[] names = path.split(File.pathSeparator);
/openjdk7/jdk/src/share/classes/sun/net/ftp/
H A DFtpClient.java310 * @param remoteDirectory path of the directory to CD to.
702 * @param path the pathname of the directory to list, or {@code null}
710 public abstract InputStream list(String path) throws FtpProtocolException, IOException; argument
713 * Issues a {@code NLST path} command to server to get the specified directory
721 * @param path a {@code String} containing the pathname of the
727 public abstract InputStream nameList(String path) throws FtpProtocolException, IOException; argument
730 * Issues the {@code SIZE [path]} command to the server to get the size of a
735 * @param path a {@code String} containing the pathname of the
743 public abstract long getSize(String path) throws FtpProtocolException, IOException; argument
746 * Issues the {@code MDTM [path]} comman
758 getLastModified(String path) argument
794 listFiles(String path) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DServerImpl.java212 public synchronized HttpContextImpl createContext (String path, HttpHandler handler) { argument
213 if (handler == null || path == null) {
214 throw new NullPointerException ("null handler, or path parameter");
216 HttpContextImpl context = new HttpContextImpl (protocol, path, handler, this);
218 logger.config ("context created: " + path);
222 public synchronized HttpContextImpl createContext (String path) { argument
223 if (path == null) {
224 throw new NullPointerException ("null path parameter");
226 HttpContextImpl context = new HttpContextImpl (protocol, path, null, this);
228 logger.config ("context created: " + path);
232 removeContext(String path) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DFileChannelImpl.java60 // The path of the referenced file (null if the parent stream is created with a file descriptor)
61 private final String path; field in class:FileChannelImpl
69 private FileChannelImpl(FileDescriptor fd, String path, boolean readable, argument
77 this.path = path;
82 public static FileChannel open(FileDescriptor fd, String path, argument
86 return new FileChannelImpl(fd, path, readable, writable, false, parent);
90 public static FileChannel open(FileDescriptor fd, String path, argument
94 return new FileChannelImpl(fd, path, readable, writable, append, parent);
142 Object traceContext = IoTrace.fileReadBegin(path);
[all...]
/openjdk7/jdk/src/solaris/bin/
H A Djava_md_solinux.c90 * desired data model path, regardless if data models matched or not. The
92 * LD_LIBRARY_PATH path available, for the runtime linker.
103 * a. if the LD_LIBRARY_PATH's first component is the the path to the desired
222 JvmExists(const char *path) { argument
225 JLI_Snprintf(tmp, PATH_MAX, "%s/%s", path, JVM_DLL);
239 char *path; local
243 /* fastest path */
260 * we have a suspicious path component, check if it contains a libjvm.so
263 for (path = JLI_StrTok(envpath, ":"); path !
783 GetJREPath(char *path, jint pathsize, const char * arch, jboolean speculative) argument
[all...]
/openjdk7/hotspot/agent/src/os/win32/windbg/
H A Dsawindbg.cpp316 jstring path; local
319 path = (jstring) env->GetStaticObjectField(clazz, imagePath_ID);
320 buf = env->GetStringUTFChars(path, &isCopy);
322 AutoJavaString imagePath(env, path, buf);
324 path = (jstring) env->GetStaticObjectField(clazz, symbolPath_ID);
325 buf = env->GetStringUTFChars(path, &isCopy);
327 AutoJavaString symbolPath(env, path, buf);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJPopupMenu.java779 // set selection path before popping up!
798 // 4694797: When popup menu is made invisible, selected path
1360 public void processMouseEvent(MouseEvent event,MenuElement path[],MenuSelectionManager manager) {} argument
1371 * @param path the <code>MenuElement</code> path array
1374 public void processKeyEvent(KeyEvent e, MenuElement path[], argument
1379 path, manager);
/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/plaf/synth/
H A DImagePainter.java50 private URL path; field in class:ImagePainter
77 Insets sourceInsets, Insets destinationInsets, URL path,
91 this.path = path;
120 image = new ImageIcon(path, null).getImage();
76 ImagePainter(boolean tiles, boolean paintCenter, Insets sourceInsets, Insets destinationInsets, URL path, boolean center) argument
H A DSynthParser.java112 private static final String ATTRIBUTE_PATH = "path";
258 * Returns the path to a resource.
260 private URL getResource(String path) { argument
262 return _classResourceBase.getResource(path);
265 return new URL(_urlResourceBase, path);
862 String path = null;
886 path = attributes.getValue(i);
889 if (style == null || path == null || type == -1) {
894 _factory.addStyle(style, path, type);
896 throw new SAXException("bind: " + path
[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 DVariableHeightLayoutCache.java69 * there may be one cached node for each path to a modeled node.
173 * Marks the path <code>path</code> expanded state to
175 * @param path the <code>TreePath</code> of interest
176 * @param isExpanded true if the path should be expanded, otherwise false
178 public void setExpandedState(TreePath path, boolean isExpanded) { argument
179 if(path != null) {
181 ensurePathIsExpanded(path, true);
183 TreeStateNode node = getNodeForPath(path, false, true);
194 * Returns true if the path i
197 getExpandedState(TreePath path) argument
213 getBounds(TreePath path, Rectangle placeIn) argument
247 getRowForPath(TreePath path) argument
272 invalidatePathBounds(TreePath path) argument
344 getVisiblePathsFrom(TreePath path) argument
357 getVisibleChildCount(TreePath path) argument
381 isExpanded(TreePath path) argument
706 getMapping(TreePath path) argument
813 getNodeForPath(TreePath path, boolean onlyIfVisible, boolean shouldCreate) argument
1046 protected TreePath path; field in class:VariableHeightLayoutCache.TreeStateNode
[all...]

Completed in 1119 milliseconds

<<1112131415