Searched defs:path (Results 276 - 300 of 363) sorted by relevance

<<1112131415

/openjdk7/jdk/src/solaris/native/java/util/
H A DTimeZone_md.c81 * Returns a path name created from the given 'dir' and 'name' under
87 char *path; local
89 path = (char *) malloc(strlen(dir) + strlen(name) + 2);
90 if (path == NULL) {
93 return strcat(strcat(strcpy(path, dir), "/"), name);
/openjdk7/jdk/src/windows/classes/java/io/
H A DWin32FileSystem.java43 new GetPropertyAction("path.separator")).charAt(0);
74 the length of the prefix almost uniquely identifies the type of the path
84 private int normalizePrefix(String path, int len, StringBuffer sb) { argument
86 while ((src < len) && isSlash(path.charAt(src))) src++;
89 && isLetter(c = path.charAt(src))
90 && path.charAt(src + 1) == ':') {
93 specifiers (e.g., "file://c:/path"). As a side effect,
94 "/c:/path" can be used as an alternative to "c:/path". */
101 && isSlash(path
117 normalize(String path, int len, int off) argument
181 normalize(String path) argument
200 prefixLength(String path) argument
266 fromURIPath(String path) argument
317 getDrive(String path) argument
373 canonicalize(String path) argument
431 canonicalize0(String path) argument
452 parentOrNull(String path) argument
512 createFileExclusively(String path) argument
544 access(String path) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileAttributes.java298 static WindowsFileAttributes get(WindowsPath path, boolean followLinks) argument
309 GetFileAttributesEx(path.getPathForWin32Calls(), address);
327 String search = path.getPathForWin32Calls();
352 long handle = path.openForReadAttributeAccess(followLinks);
H A DWindowsPath.java46 // The maximum path that does not require long path prefix. On Windows
47 // the maximum path is 260 minus 1 (NUL) but for directories it is 260
52 // Maximum extended-length path
58 // path type
62 // normalized path
63 private final String path; field in class:WindowsPath
65 // the path to use in Win32 calls. This differs from path for relative
66 // paths and has a long path prefi
79 WindowsPath(WindowsFileSystem fs, WindowsPathType type, String root, String path) argument
93 parse(WindowsFileSystem fs, String path) argument
101 createFromNormalizedPath(WindowsFileSystem fs, String path, BasicFileAttributes attrs) argument
128 createFromNormalizedPath(WindowsFileSystem fs, String path) argument
143 WindowsPathWithAttributes(WindowsFileSystem fs, WindowsPathType type, String root, String path, BasicFileAttributes attrs) argument
285 addPrefixIfNeeded(String path) argument
371 toWindowsPath(Path path) argument
[all...]
/openjdk7/jdk/src/windows/native/java/io/
H A DWin32FileSystem_md.c53 jfieldID path; member in struct:__anon1061
61 ids.path = (*env)->GetFieldID(env, fileClass,
62 "path", "Ljava/lang/String;");
69 extern int canonicalize(char *path, const char *out, int len);
78 WITH_PLATFORM_STRING(env, pathname, path) {
80 if (canonicalize(JVM_NativePath((char *)path),
86 } END_PLATFORM_STRING(env, path);
117 /* Check whether or not the file name in "path" is a Windows reserved
119 returned result from GetFullPathName. If the file name in the path
123 BOOL isReservedDeviceName(const char* path) { argument
300 removeFileOrDirectory(const char *path) argument
[all...]
/openjdk7/jdk/src/windows/native/java/lang/
H A DProcessImpl_md.c321 * function doesn't handle long path names and other issues.
340 Java_java_lang_ProcessImpl_openForAtomicAppend(JNIEnv *env, jclass ignored, jstring path) argument
347 WCHAR *pathbuf = getPath(env, path);
353 pathbuf, /* Wide char path name */
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/
H A DConfiguration.java62 * The path to the builder XML input file.
67 * The default path to the builder XML.
72 * The path to Taglets
429 sourcepath = System.getProperty("env.class.path") == null ? "" :
430 System.getProperty("env.class.path");
506 * @param path Path under consideration.
507 * @return String Properly constructed path string.
509 String addTrailingFileSep(String path) { argument
513 while ((indexDblfs = path.indexOf(dblfs)) >= 0) {
514 path
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/
H A DTagletManager.java200 * @param tagletPath the path to the class representing the custom tag.
206 String cpString = null; // make sure env.class.path defaults to dot
209 cpString = appendPath(System.getProperty("env.class.path"), cpString);
210 cpString = appendPath(System.getProperty("java.class.path"), cpString);
249 * Utility method for converting a search path string to an array
252 * @param path the search path string
255 private static URL[] pathToURLs(String path) { argument
256 StringTokenizer st = new StringTokenizer(path, File.pathSeparator);
/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/src/share/classes/com/sun/tools/javac/tree/
H A DTreeInfo.java519 public static Env<AttrContext> scopeFor(List<JCTree> path) { argument
527 List<JCTree> path;
528 Result(List<JCTree> path) {
529 this.path = path;
533 List<JCTree> path = List.nil();
536 path = path.prepend(tree);
538 throw new Result(path);
540 path
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipPath.java62 private final byte[] path; field in class:ZipPath
66 ZipPath(ZipFileSystem zfs, byte[] path) { argument
67 this(zfs, path, false);
70 ZipPath(ZipFileSystem zfs, byte[] path, boolean normalized) argument
74 this.path = path;
76 this.path = normalize(path);
82 return new ZipPath(zfs, new byte[]{path[0]});
93 if (count == 1 && path[
374 checkPath(Path path) argument
437 normalize(byte[] path) argument
455 normalize(byte[] path, int off) 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/src/share/native/java/util/zip/zlib-1.2.3/
H A Dgzio.c89 char *path; /* path name for debugging only */ member in struct:gz_stream
100 local gzFile gz_open OF((const char *path, const char *mode, int fd));
111 or path name (if fd == -1).
117 local gzFile gz_open (path, mode, fd)
118 const char *path;
130 if (!path || !mode) return Z_NULL;
151 s->path = (char*)ALLOC(strlen(path)+1);
152 if (s->path
[all...]
/openjdk7/jdk/src/share/demo/applets/Fractal/
H A DCLSFractal.java202 void render(Graphics g, String path) { argument
240 for (int pos = 0; pos < path.length(); pos++) {
241 switch (path.charAt(pos)) {
426 private synchronized void setPath(StringBuffer path) { argument
427 currentPath = 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/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/solaris/demo/jvmti/hprof/
H A Dhprof_md.c277 md_get_prelude_path(char *path, int path_len, char *filename) argument
298 /* Use dladdr() to get the full path to libhprof.so, which we use to find
306 /* Full path to library name, need to move up one directory to 'lib' */
320 (void)snprintf(path, path_len, "%s/%s", libdir, filename);
388 /* check for NULL path */
418 /* Construct path to library */
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicMenuItemUI.java743 void printMenuElementArray(MenuElement path[], boolean dumpStack) { argument
746 for(i=0,j=path.length; i<j ;i++){
749 MenuElement me = path[i];
809 * such as clearing the selected path and messaging the
903 MenuElement path[] = manager.getSelectedPath();
904 if (path.length > 1 && path[path.length-1] == menuItem) {
905 MenuElement newPath[] = new MenuElement[path.length-1];
907 for(i=0,c=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/java/awt/geom/
H A DPath2D.java37 * shape which represents an arbitrary geometric path.
38 * It can fully represent any path which can be iterated by the
48 * basic construction and management of a geometric path and
58 * deals primarily with a trajectory formed by path segments
63 * of the types of segments that make up a path and the winding rules
65 * the path.
73 * a path.
82 * path.
125 * store the path segment types
145 * The {@code Float} class defines a geometric path wit
2574 Path2D path; field in class:Path2D.Iterator
2578 Iterator(Path2D path) argument
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DIntrospector.java67 * path.
71 * look in each package in the BeanInfo search path for an OurButtonBeanInfo
72 * class. With the default search path, this would mean looking for
304 * this method is undefined if parameter path
310 * @param path Array of package names.
317 public static void setBeanInfoSearchPath(String[] path) { argument
322 ThreadGroupContext.getContext().getBeanInfoFinder().setPackages(path);
432 * the BeanInfo search path is prepended to the class and searched.
/openjdk7/jdk/src/share/classes/java/io/
H A DFile.java139 * Path} that uses the abstract path represented by a {@code File} object to
165 private String path; field in class:File
168 * Enum type that indicates the status of a file path.
173 * The flag indicating whether the file path is invalid.
178 * Check if the file has an invalid path. Currently, the inspection of
179 * a file path is very limited, and it only covers Nul character check.
180 * Returning true means the path is definitely invalid/garbage. But
181 * returning false does not guarantee that the path is valid.
183 * @return true if the file path is invalid.
187 status = (this.path
647 slashify(String path, boolean isDirectory) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DHttpCookie.java79 private String path; // Path=VALUE ... URLs that see the cookie field in class:HttpCookie
491 * Specifies a path for the cookie
496 * A cookie's path must include the servlet that set the cookie,
501 * information on setting path names for cookies.
504 * @param uri a <code>String</code> specifying a path
512 path = uri;
519 * Returns the path on the server
524 * @return a <code>String</code> specifying a path that contains
532 return path;
825 * and have same path (cas
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFiles.java64 private static FileSystemProvider provider(Path path) { argument
65 return path.getFileSystem().provider();
85 * @param path
86 * the path to the file to open
103 public static InputStream newInputStream(Path path, OpenOption... options) argument
106 return provider(path).newInputStream(path, options);
130 * Path path = ...
134 * OutputStream out = Files.newOutputStream(path);
137 * out = Files.newOutputStream(path, APPEN
167 newOutputStream(Path path, OpenOption... options) argument
310 newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument
356 newByteChannel(Path path, OpenOption... options) argument
581 createFile(Path path, FileAttribute<?>... attrs) argument
1076 delete(Path path) argument
1115 deleteIfExists(Path path) argument
1410 getFileStore(Path path) argument
1453 isSameFile(Path path, Path path2) argument
1480 isHidden(Path path) argument
1563 probeContentType(Path path) argument
1620 getFileAttributeView(Path path, Class<V> type, LinkOption... options) argument
1679 readAttributes(Path path, Class<A> type, LinkOption... options) argument
1748 setAttribute(Path path, String attribute, Object value, LinkOption... options) argument
1809 getAttribute(Path path, String attribute, LinkOption... options) argument
1907 readAttributes(Path path, String attributes, LinkOption... options) argument
1947 getPosixFilePermissions(Path path, LinkOption... options) argument
1982 setPosixFilePermissions(Path path, Set<PosixFilePermission> perms) argument
2019 getOwner(Path path, LinkOption... options) argument
2063 setOwner(Path path, UserPrincipal owner) argument
2092 isSymbolicLink(Path path) argument
2131 isDirectory(Path path, LinkOption... options) argument
2168 isRegularFile(Path path, LinkOption... options) argument
2204 getLastModifiedTime(Path path, LinkOption... options) argument
2243 setLastModifiedTime(Path path, FileTime time) argument
2272 size(Path path) argument
2323 exists(Path path, LinkOption... options) argument
2372 notExists(Path path, LinkOption... options) argument
2394 isAccessible(Path path, AccessMode... modes) argument
2430 isReadable(Path path) argument
2461 isWritable(Path path) argument
2496 isExecutable(Path path) argument
2671 newBufferedReader(Path path, Charset cs) argument
2715 newBufferedWriter(Path path, Charset cs, OpenOption... options) argument
2956 readAllBytes(Path path) argument
3005 readAllLines(Path path, Charset cs) argument
3061 write(Path path, byte[] bytes, OpenOption... options) argument
3119 write(Path path, Iterable<? extends CharSequence> lines, Charset cs, OpenOption... options) argument
[all...]
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.inline.hpp119 inline int os::readdir_buf_size(const char *path) argument
132 inline char* os::native_path(char *path) { argument
133 return path;

Completed in 730 milliseconds

<<1112131415