/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | TextLayout.java | 1102 * The first path in the array is the strong caret; the second element, 1751 private static GeneralPath pathToShape(double[] path, boolean close, LayoutPathImpl lp) { argument 1752 GeneralPath result = new GeneralPath(GeneralPath.WIND_EVEN_ODD, path.length); 1753 result.moveTo((float)path[0], (float)path[1]); 1754 for (int i = 2; i < path.length; i += 2) { 1755 result.lineTo((float)path[i], (float)path[i+1]); 1943 // A utility to return a path enclosing the given path [all...] |
/openjdk7/hotspot/src/os/windows/launcher/ |
H A D | java_md.c | 48 static jboolean GetPublicJREHome(char *path, jint pathsize); 51 static jboolean GetJREPath(char *path, jint pathsize); 204 * all we need to do here is to return correct path names. See also 241 * assumed to be present in the "JRE path" directory. If it is not found 242 * there (or "JRE path" fails to resolve), skip the explicit load and let 248 printf("CRT path is %s\n", crtpath); 344 * Find path to JRE based on .exe's location or registry settings. 347 GetJREPath(char *path, jint pathsize) argument 352 if (GetApplicationHome(path, pathsize)) { 354 sprintf(javadll, "%s\\bin\\" JAVA_DLL, path); 909 char *path; local 1081 char path[MAXPATHLEN + 1]; local [all...] |
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | perfMemory_windows.cpp | 90 assert(destfile[0] != '\0', "invalid Perfdata file path"); 163 // construct the path name to user specific tmp directory 203 // check if the given path is considered a secure directory for 205 // and is considered a secure location. Returns false if the path 208 static bool is_directory_secure(const char* path) { argument 212 fa = GetFileAttributes(path); 219 // unexpected error, declare the path insecure 222 " lasterror = %d\n", path, lasterror); 230 // so declare the path insecure. This may be too conservative, 235 warning("%s is a reparse point\n", path); 489 char* path = NEW_C_HEAP_ARRAY(char, nbytes, mtInternal); local 543 is_filesystem_secure(const char* path) argument [all...] |
/openjdk7/jdk/src/macosx/bin/ |
H A D | java_md_macosx.c | 525 /* exec child can do error checking on the existence of the path */ 606 * Find path to JRE based on .exe's location or registry settings. 609 GetJREPath(char *path, jint pathsize, const char * arch, jboolean speculative) argument 613 if (GetApplicationHome(path, pathsize)) { 615 JLI_Snprintf(libjava, sizeof(libjava), "%s/lib/" JAVA_DLL, path); 621 JLI_Snprintf(libjava, sizeof(libjava), "%s/jre/lib/" JAVA_DLL, path); 623 JLI_StrCat(path, "/jre"); 624 JLI_TraceLauncher("JRE path is %s\n", path); 633 char *realPathToSelf = realpath(selfInfo.dli_fname, path); [all...] |
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | UNIXProcess_md.c | 248 splitPath(JNIEnv *env, const char *path) argument 253 int count = countOccurrences(path, ':') + 1; 257 for (p = path, i = 0; i < count; i++, p = q + 1) { 613 * searching the rest of the search path. If no other
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | UnixNativeDispatcher.c | 131 static int fstatat64_wrapper(int dfd, const char *path, argument 137 return syscall(__NR_fstatat64, dfd, path, statbuf, flag); 143 static int fstatat64_wrapper(int dfd, const char *path, argument 149 return syscall(__NR_newfstatat, dfd, path, statbuf, flag); 292 const char* path = (const char*)jlong_to_ptr(pathAddress); local 296 fp = fopen(path, mode); 325 const char* path = (const char*)jlong_to_ptr(pathAddress); local 327 RESTARTABLE(open64(path, (int)oflags, (mode_t)mode), fd); 339 const char* path = (const char*)jlong_to_ptr(pathAddress); local 346 RESTARTABLE((*my_openat64_func)(dfd, path, (in 409 const char* path = (const char*)jlong_to_ptr(pathAddress); local 425 const char* path = (const char*)jlong_to_ptr(pathAddress); local 456 const char* path = (const char*)jlong_to_ptr(pathAddress); local 475 const char* path = (const char*)jlong_to_ptr(pathAddress); local 501 const char* path = (const char*)jlong_to_ptr(pathAddress); local 513 const char* path = (const char*)jlong_to_ptr(pathAddress); local 538 const char* path = (const char*)jlong_to_ptr(pathAddress); local 584 const char* path = (const char*)jlong_to_ptr(pathAddress); local 657 const char* path = (const char*)jlong_to_ptr(pathAddress); local 669 const char* path = (const char*)jlong_to_ptr(pathAddress); local 696 const char* path = (const char*)jlong_to_ptr(pathAddress); local 708 const char* path = (const char*)jlong_to_ptr(pathAddress); local 771 const char* path = (const char*)jlong_to_ptr(pathAddress); local 798 const char* path = (const char*)jlong_to_ptr(pathAddress); local 818 const char* path = (const char*)jlong_to_ptr(pathAddress); local 832 const char* path = (const char*)jlong_to_ptr(pathAddress); local 851 const char* path = (const char*)jlong_to_ptr(pathAddress); local 878 const char* path = (const char*)jlong_to_ptr(pathAddress); local [all...] |
/openjdk7/jdk/test/java/awt/Graphics2D/RenderClipTest/ |
H A D | RenderClipTest.java | 129 "[-cubic] [-quad] [-poly] [-path]"); 152 System.err.println(" -path Test GeneralPath shapes"); 197 } else if (arg.equals("-path")) { 261 "-cubic, -quad, -poly, or -path"); 1030 private GeneralPath path; field in class:RenderClipTest.Path 1033 this.path = new GeneralPath(); 1037 this.path = gp; 1041 path.reset(); 1042 path.moveTo(randFltCoord(), randFltCoord()); 1046 path [all...] |
/openjdk7/jdk/test/java/lang/ProcessBuilder/ |
H A D | Basic.java | 115 private static String absolutifyPath(String path) { argument 117 for (String file : path.split(File.pathSeparator)) { 554 System.getProperty("java.class.path");
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | ZipFileIndex.java | 232 * Returns the ZipFileIndexEntry for a path, if there is one. 234 synchronized Entry getZipIndexEntry(RelativePath path) { argument 237 DirectoryEntry de = directories.get(path.dirname()); 238 String lookFor = path.basename(); 249 public synchronized com.sun.tools.javac.util.List<String> getFiles(RelativeDirectory path) { argument 253 DirectoryEntry de = directories.get(path); 266 public synchronized List<String> getDirectories(RelativeDirectory path) { argument 270 DirectoryEntry de = directories.get(path); 299 * Tests if a specific path exists in the zip. This method will return true 302 * @param path 305 contains(RelativePath path) argument 315 isDirectory(RelativePath path) argument 326 getLastModified(RelativeFile path) argument 333 length(RelativeFile path) argument 351 read(RelativeFile path) argument 365 read(RelativeFile path, byte[] buffer) argument 1050 getRelativeDirectory(String path) argument 1080 Entry(RelativePath path) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/ftp/impl/ |
H A D | FtpClient.java | 270 // by a -> and a path 1142 * @param remoteDirectory path of the directory to CD to. 1679 * @param path the pathname of the directory to list, or <code>null</code> 1686 public InputStream list(String path) throws sun.net.ftp.FtpProtocolException, IOException { argument 1688 s = openDataConnection(path == null ? "LIST" : "LIST " + path); 1696 * Issues a NLST path command to server to get the specified directory 1704 * @param path a <code>String</code> containing the pathname of the 1710 public InputStream nameList(String path) throws sun.net.ftp.FtpProtocolException, IOException { argument 1712 s = openDataConnection("NLST " + path); 1732 getSize(String path) argument 1769 getLastModified(String path) argument 1879 listFiles(String path) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixNativeDispatcher.java | 38 // returns a NativeBuffer containing the given path 39 private static NativeBuffer copyToNativeBuffer(UnixPath path) { argument 40 byte[] cstr = path.getByteArrayForSysCalls(); 46 // buffer already contains the path 47 if (buffer.owner() == path) 51 buffer.setOwner(path); 66 * int open(const char* path, int oflag, mode_t mode) 68 static int open(UnixPath path, int flags, int mode) throws UnixException { argument 69 NativeBuffer buffer = copyToNativeBuffer(path); 80 * int openat(int dfd, const char* path, in 82 openat(int dfd, byte[] path, int flags, int mode) argument 138 unlink(UnixPath path) argument 151 unlinkat(int dfd, byte[] path, int flag) argument 165 mknod(UnixPath path, int mode, long dev) argument 211 mkdir(UnixPath path, int mode) argument 224 rmdir(UnixPath path) argument 239 readlink(UnixPath path) argument 254 realpath(UnixPath path) argument 283 stat(UnixPath path, UnixFileAttributes attrs) argument 297 lstat(UnixPath path, UnixFileAttributes attrs) argument 316 fstatat(int dfd, byte[] path, int flag, UnixFileAttributes attrs) argument 332 chown(UnixPath path, int uid, int gid) argument 346 lchown(UnixPath path, int uid, int gid) argument 365 chmod(UnixPath path, int mode) argument 384 utimes(UnixPath path, long times0, long times1) argument 405 opendir(UnixPath path) argument 446 access(UnixPath path, int amode) argument 503 statvfs(UnixPath path, UnixFileStoreAttributes attrs) argument 519 pathconf(UnixPath path, int name) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/ |
H A D | XPath.java | 93 /** Returns a representation of the first location path for this XPath. */ 234 // unless this is the first step in this location path, 265 // '.' is the first token of a location path. 308 // save location path 363 // location path information 366 * A location path representation for an XPath expression. 386 /** Creates a location path from a series of steps. */ 392 protected LocationPath(LocationPath path) { argument 393 steps = new Step[path.steps.length]; 395 steps[i] = (Step)path [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultStyledDocument.java | 1408 path = new Stack<ElemChanges>(); 1460 ElemChanges ec = path.peek(); 1466 while (path.size() > 1) { 1491 // pop the remaining path 1492 while (path.size() != 0) { 1532 // push the path 1542 // Build a copy of the original path. 1543 insertPath = new ElemChanges[path.size()]; 1544 path.copyInto(insertPath); 1573 // pop the remaining path 2469 transient Stack<ElemChanges> path; field in class:DefaultStyledDocument.ElementBuffer [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | SunFontManager.java | 153 * Also want to "fast path" dialog so there's minimal overhead. 204 * JRE's own font directory but including any path specified using the 208 * once any extra debugging path has been appended. 212 /* discoveredAllFonts is set to true when all fonts on the font path are 427 /* Create the font configuration and get any font path 439 /* In prior releases the debugging font path replaced 442 * and placed at the head of the path but as an 445 * the font path by starting with append: or prepend by 459 * as except for the JRE dir the path is replaced and it 485 logger.info("Extra font path 3379 registerFontDir(String path) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | URI.java | 105 * [<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/hotspot/src/share/vm/classfile/ |
H A D | classLoader.cpp | 201 // construct full path name 202 char path[JVM_MAXPATHLEN]; local 203 if (jio_snprintf(path, sizeof(path), "%s%s%s", _dir, os::file_separator(), name) == -1) { 208 if (os::stat(path, &st) == 0) { 210 int file_handle = os::open(path, 0, 0); 287 LazyClassPathEntry::LazyClassPathEntry(char* path, struct stat st) : ClassPathEntry() { argument 288 _path = strdup(path); 443 assert(_first_entry == NULL, "should not setup bootstrap class search path twice"); 446 tty->print_cr("[Bootstrap loader class path 457 char* path = NEW_C_HEAP_ARRAY(char, end-start+1, mtClass); local 468 create_class_path_entry(char *path, struct stat st, ClassPathEntry **new_entry, bool lazy) argument 522 create_class_path_zip_entry(const char *path) argument 575 update_class_path_entry_list(const char *path, bool check_for_duplicates) argument 607 char path[JVM_MAXPATHLEN]; local [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | parse2.cpp | 124 // the uncommon_trap path will always be taken. 612 // Throw away the pre-allocated path for each unique successor. 709 // Negative path; negate/and/negate 804 // just this path instead of the shared counts. 815 else { // Compute probability of true path 895 // if a path is never taken, its controlling comparison is 898 // on the untaken path. To be conservative, and to allow 985 // the path may be cold again. Make sure it doesn't look untaken 1067 // the path may be cold again. Make sure it doesn't look untaken 1089 // path (a 1175 adjust_map_after_if(BoolTest::mask btest, Node* c, float prob, Block* path, Block* other_path) argument [all...] |
/openjdk7/hotspot/src/os/posix/launcher/ |
H A D | java_md.c | 177 static jboolean GetJREPath(char *path, jint pathsize, char * arch, jboolean speculative); 238 char* newpath = NULL; /* path on new LD_LIBRARY_PATH */ 344 /* exec child can do error checking on the existence of the path */ 382 * The vm uses LD_LIBRARY_PATH to set the java.library.path system 442 * linker does apply more scrutiny to the path.) The launcher uses 458 * linker does apply more scrutiny to the path.) The launcher uses 483 /* remove the name of the .so from the JVM path */ 507 * Check to make sure that the prefix of the current path is the 561 * If the data model is being changed, the path to the 624 * all we need to do here is to return correct path name 699 GetJREPath(char *path, jint pathsize, char * arch, jboolean speculative) argument 915 char *path; local 1556 CheckSanity(char *path, char *dir) argument 1645 char *path; local [all...] |
/openjdk7/hotspot/src/share/tools/launcher/ |
H A D | java.c | 333 /* Override class path if -jar flag was specified */ 884 sprintf(def, "-Djava.class.path=%s", s); 1157 ReportErrorMessage2("%s requires class path specification", 1537 * -Denv.class.path=<envcp> 1539 * -Djava.class.path=<appcp> 1562 /* 40 for -Denv.class.path= */ 1564 sprintf(envcp, "-Denv.class.path=%s", s); 1580 size = 40; /* 40: "-Djava.class.path=" */ 1586 strcpy(appcp, "-Djava.class.path="); 1592 appcp[strlen(appcp)-1] = '\0'; /* remove trailing path separato 1789 char path[MAXPATHLEN+32]; local [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | heapDumper.cpp | 400 DumpWriter(const char* path); 434 DumpWriter::DumpWriter(const char* path) { argument 448 _fd = os::create_binary_file(path, false); // don't replace existing file 1853 // dump the heap to given path. 1854 int HeapDumper::dump(const char* path) { argument 1855 assert(path != NULL && strlen(path) > 0, "path missing"); 1859 tty->print_cr("Dumping heap to %s ...", path); 1864 DumpWriter writer(path); [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | fontpath.c | 66 // XXXDARWIN: Hard-code the path to Apple's fontconfig, as it is 67 // not included in the dyld search path by default, and 10.4 255 /* there is a slash at the end of every solaris X11 font path name */ 317 /* printf ( "The path to be appended is %s\n", onePath ); */ 345 /* This isn't ever going to be perfect: the font path may contain 412 * a single path consisting of unique font directories. 444 currLen = numDirs; /* only compare against previous path dirs */ 461 currLen = numDirs; /* only compare against previous path dirs */ 507 * a set of "known" locations and with the X11 font path, if running in 522 char **fcdirs = NULL, **x11dirs = NULL, **knowndirs = NULL, *path local [all...] |
/openjdk7/jdk/src/windows/bin/ |
H A D | java_md.c | 48 static jboolean GetPublicJREHome(char *path, jint pathsize); 51 static jboolean GetJREPath(char *path, jint pathsize); 152 * Returns the arch path, to get the current arch use the 261 * assumed to be present in the "JRE path" directory. If it is not found 262 * there (or "JRE path" fails to resolve), skip the explicit load and let 284 JLI_TraceLauncher("CRT path is %s\n", crtpath); 301 * Find path to JRE based on .exe's location or registry settings. 304 GetJREPath(char *path, jint pathsize) argument 309 if (GetApplicationHome(path, pathsize)) { 311 JLI_Snprintf(javadll, sizeof(javadll), "%s\\bin\\" JAVA_DLL, path); 746 char *path; local 916 char path[MAXPATHLEN + 1]; local [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/shell/ |
H A D | Win32ShellFolder2.java | 222 String path = getFileSystemPath(csidl); 223 return path == null 225 : path; 283 Win32ShellFolder2(Win32ShellFolder2 parent, long pIShellFolder, long relativePIDL, String path) { argument 284 super(parent, (path != null) ? path : "ShellFolder: "); 486 // Short-circuit circuitous delegation path 567 // Return the path to the underlying file system object 596 // Return whether the path is a network root. 598 private static boolean isNetworkRoot(String path) { argument 881 getExecutableType(String path) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsNativeDispatcher.java | 50 static long CreateFile(String path, argument 58 NativeBuffer buffer = asNativeBuffer(path); 70 static long CreateFile(String path, argument 77 return CreateFile(path, dwDesiredAccess, dwShareMode, 0L, 100 static void DeleteFile(String path) throws WindowsException { argument 101 NativeBuffer buffer = asNativeBuffer(path); 117 static void CreateDirectory(String path, long lpSecurityAttributes) throws WindowsException { argument 118 NativeBuffer buffer = asNativeBuffer(path); 133 static void RemoveDirectory(String path) throws WindowsException { argument 134 NativeBuffer buffer = asNativeBuffer(path); 170 FindFirstFile(String path) argument 199 FindFirstFile(String path, long address) argument 229 FindFirstStream(String path) argument 330 GetFileAttributes(String path) argument 346 SetFileAttributes(String path, int dwFileAttributes) argument 366 GetFileAttributesEx(String path, long address) argument 465 GetDiskFreeSpaceEx(String path) argument 501 GetVolumePathName(String path) argument 541 GetFileSecurity(String path, int requestedInformation, long pSecurityDescriptor, int nLength) argument 566 SetFileSecurity(String path, int securityInformation, long pSecurityDescriptor) argument 930 GetFullPathName(String path) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/nio/fs/ |
H A D | WindowsNativeDispatcher.c | 1136 WCHAR path[MAX_PATH]; local 1145 len = (*GetFinalPathNameByHandle_func)(h, path, MAX_PATH, 0); 1148 rv = (*env)->NewString(env, (const jchar *)path, (jsize)len);
|