/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | Util.java | 240 * @param dir The original directory name to copy from. 244 String path, String dir, boolean overwrite) { 245 if (checkCopyDocFilesErrors(configuration, path, dir)) { 249 File srcdir = new File(path + dir); 254 String dest = destname + dir; 277 copyDocFiles(configuration, path, dir + 243 copyDocFiles(Configuration configuration, String path, String dir, boolean overwrite) argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | JavacFileManager.java | 712 for (File dir: path) { 713 Archive a = archives.get(dir); 715 if (fsInfo.isDirectory(dir)) { 716 File f = name.getFile(dir); 722 a = openArchive(dir); 769 File dir; 772 dir = getClassOutDir(); 781 dir = (getSourceOutDir() != null ? getSourceOutDir() : getClassOutDir()); 784 dir = null; 786 dir 846 getOutputLocation(File dir, OptionName defaultOptionName) argument [all...] |
H A D | ZipFileIndex.java | 303 * @return True if the path is a file or dir, false otherwise. 533 // There is a variable-length field after the dir offset record. We need to do consequential search. 667 // For each dir create also a file 939 // Write the dir name bytes 948 // Write the number of files in the dir 955 // Write the offset of the file's data in the dir 1067 RelativeDirectory dir; field in class:ZipFileIndex.Entry 1085 this.dir = directory; 1090 return new RelativeFile(dir, name).getPath(); 1127 RelativeDirectory otherD = other.dir; [all...] |
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jquant1.c | 631 int dir; /* 1 for left-to-right, -1 for right-to-left */ local 632 int dirnc; /* dir * nc */ 651 dir = -1; 656 dir = 1; 676 cur = RIGHT_SHIFT(cur + errorptr[dir] + 8, 4); 707 output_ptr += dir; /* advance output ptr to next column */ 708 errorptr += dir; /* advance errorptr to current column */
|
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | LayoutEngine.cpp | 269 le_int32 i, dir = 1, out = 0, outCharCount = count; local 314 dir = -1; 317 for (i = 0; i < count; i += 1, out += dir) { 351 for (i = 0; i < outCharCount; i += 1, out += dir) {
|
/openjdk7/jdk/src/share/classes/sun/tools/jar/ |
H A D | Main.java | 137 File dir = file.getParentFile(); 138 if (dir == null) 139 dir = new File("."); 140 return File.createTempFile("jartmp", null, dir); 389 String dir = args[++i]; 390 dir = (dir.endsWith(File.separator) ? 391 dir : (dir + File.separator)); 392 dir 429 expand(File dir, String[] files, boolean isUpdate) argument [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | ImageTests.java | 608 public DrawImageScale(String dir, float scale) { argument 609 super(imgtestroot, "drawimagescale"+dir,
|
/openjdk7/jdk/src/solaris/classes/java/util/prefs/ |
H A D | FileSystemPreferences.java | 107 // Attempt to create root dir if it does not yet exist. 169 // Attempt to create root dir if it does not yet exist. 261 private final File dir; field in class:FileSystemPreferences 486 dir = (user ? userRootDir: systemRootDir); 487 prefsFile = new File(dir, "prefs.xml"); 488 tmpFile = new File(dir, "prefs.tmp"); 499 dir = new File(parent.dir, dirName(name)); 500 prefsFile = new File(dir, "prefs.xml"); 501 tmpFile = new File(dir, "pref [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XFileDialogPeer.java | 54 String dir; field in class:XFileDialogPeer 71 // Holds value of the system property 'user.dir' 147 // Shouldn't save 'user.dir' to 'savedDir' 152 return System.getProperty("user.dir"); 199 // After showing we should display 'user.dir' as current directory 372 setFilterEntry(dir,f); 392 savedDir = this.dir; 438 dir = null; 444 * set the entry of the new dir with f 471 this.dir 506 getDirList(String dir) argument 705 setDirectory(String dir) argument 906 accept(File dir, String fileName) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | SolarisWatchService.java | 110 WatchKey register(Path dir, argument 116 return poller.register(dir, events, modifiers); 144 UnixPath dir, 149 super(dir, watcher); 281 UnixPath dir = (UnixPath)obj; 286 attrs = UnixFileAttributes.get(dir, true); 288 return x.asIOException(dir); 291 return new NotDirectoryException(dir.getPathForExceptionMessage()); 306 object = registerImpl(dir, (FILE_MODIFIED | FILE_ATTRIB)); 308 return x.asIOException(dir); 143 SolarisWatchKey(SolarisWatchService watcher, UnixPath dir, UnixFileKey fileKey, long object, Set<? extends WatchEvent.Kind<?>> events) argument 543 registerChildren(UnixPath dir, SolarisWatchKey parent, boolean sendEvents) argument 640 registerImpl(UnixPath dir, int events) argument [all...] |
H A D | UnixNativeDispatcher.java | 424 static native void closedir(long dir) throws UnixException; argument 431 static native byte[] readdir(long dir) throws UnixException; argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JFileChooser.java | 555 * @param dir the current directory to point to 558 public void setCurrentDirectory(File dir) { argument 561 if (dir != null && !dir.exists()) { 562 dir = currentDirectory; 564 if (dir == null) { 565 dir = getFileSystemView().getDefaultDirectory(); 569 if (this.currentDirectory.equals(dir)) { 575 while (!isTraversable(dir) && prev != dir) { [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicScrollBarUI.java | 1404 public ScrollListener(int dir, boolean block) { argument 1405 direction = dir; 1544 private void scroll(JScrollBar scrollBar, int dir, boolean block) { argument 1546 if (dir == NEGATIVE_SCROLL || dir == POSITIVE_SCROLL) { 1552 if (dir == NEGATIVE_SCROLL) { 1560 if (dir == NEGATIVE_SCROLL) { 1569 else if (dir == BasicScrollBarUI.MIN_SCROLL) { 1572 else if (dir == BasicScrollBarUI.MAX_SCROLL) {
|
H A D | BasicFileChooserUI.java | 826 File dir = getDirectory(); 827 if (dir != null) { 830 dir = ShellFolder.getNormalizedFile(dir); 834 changeDirectory(dir); 843 File dir = chooser.getCurrentDirectory(); 889 children = fs.getFiles(dir, false); 911 selectedFile = fs.getChild(dir, filename); 1146 private void changeDirectory(File dir) { argument 1149 if (dir ! [all...] |
H A D | BasicSliderUI.java | 1349 protected void scrollDueToClickInTrack( int dir ) { 1350 scrollByBlock( dir ); 1822 public ScrollListener(int dir, boolean block) { argument 1823 direction = dir; 1902 int dir; field in class:BasicSliderUI.ActionScroller 1906 public ActionScroller( JSlider slider, int dir, boolean block) { argument 1907 this.dir = dir; 1913 SHARED_ACTION.scroll(slider, BasicSliderUI.this, dir, block); 1935 int dir; field in class:BasicSliderUI.SharedActionScroller 1938 SharedActionScroller(int dir, boolean block) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CFileDialog.java | 155 public void setDirectory(String dir) { argument
|
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | UNIXProcess_md.c | 595 const char * dir = *dirs; local 596 int dirlen = strlen(dir); 601 memcpy(expanded_file, dir, dirlen); 833 jbyteArray dir, 874 if (dir != NULL) { 875 if ((c->pdir = getBytes(env, dir)) == NULL) goto Catch; 942 releaseBytes(env, dir, c->pdir); 828 Java_java_lang_UNIXProcess_forkAndExec(JNIEnv *env, jobject process, jbyteArray prog, jbyteArray argBlock, jint argc, jbyteArray envBlock, jint envc, jbyteArray dir, jintArray std_fds, jboolean redirectErrorStream) argument
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | UnixNativeDispatcher.c | 204 entry_dir = (*env)->GetFieldID(env, clazz, "dir", "[B"); 583 DIR* dir; local 587 dir = opendir(path); 588 if (dir == NULL) { 591 return ptr_to_jlong(dir); 596 DIR* dir; local 604 dir = (*my_fdopendir_func)((int)dfd); 605 if (dir == NULL) { 608 return ptr_to_jlong(dir); 612 Java_sun_nio_fs_UnixNativeDispatcher_closedir(JNIEnv* env, jclass this, jlong dir) { argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | ProcessPath.java | 1719 int dir; field in class:ProcessPath.Edge 1723 public Edge(Point p, int x, int dx, int dir) { argument 1727 this.dir = dir; 1792 int stepx, x0, dy, dir; 1797 dir = -1; 1801 dir = 1; 1817 ne = new Edge(pnt, x0, stepx, dir); 1988 counter += curEdge.dir;
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | SunFontManager.java | 67 public boolean accept(File dir,String name) { argument 84 public boolean accept(File dir,String name) { argument 102 public boolean accept(File dir, String name) { argument 441 * JRE fonts dir. This directory is still always located 459 * as except for the JRE dir the path is replaced and it 518 * referenced from multiple font.dir files and all 988 String dir = file.getParent(); 993 if (dir == null || 994 !dir.equals(jreFontDirName) || 1029 String dir [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | classLoader.cpp | 194 ClassPathDirEntry::ClassPathDirEntry(char* dir) : ClassPathEntry() { argument 195 _dir = NEW_C_HEAP_ARRAY(char, strlen(dir)+1, mtClass); 196 strcpy(_dir, dir);
|
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | compileBroker.cpp | 1635 const char* dir = (try_temp_dir ? os::get_temp_directory() : NULL); local 1636 if (dir == NULL) { 1641 "%s%shs_c" UINTX_FORMAT "_pid%u.log", dir,
|
/openjdk7/hotspot/src/os/posix/launcher/ |
H A D | java_md.c | 705 /* Is the JRE universal, i.e. no arch dir? */ 945 char dir[2*PATH_MAX]; local 946 sprintf(dir, "%s%c%s", getcwd(cwdbuf, sizeof(cwdbuf)), 948 result = Resolve(dir, program); 1556 CheckSanity(char *path, char *dir) argument 1560 if (strlen(path) + strlen(dir) + 11 > PATH_MAX) 1563 (void)strcat(strcat(strcat(strcpy(buffer, path), "/"), dir), "/bin/java");
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | GTKEngine.java | 126 int x, int y, int width, int height, int synthState, int dir); 157 int x, int y, int width, int height, int synthState, int dir); 341 int dir = (prop != null) ? 343 switch (dir) { 366 TextDirection dir = TextDirection.NONE; 371 dir = co.isLeftToRight() ? 375 return dir.ordinal(); 395 int dir = getTextDirection(context); 398 detail, x - x0, y - y0, w, h, synthState, dir); 492 int dir 124 native_paint_box( int widgetType, int state, int shadowType, String detail, int x, int y, int width, int height, int synthState, int dir) argument 155 native_paint_shadow( int widgetType, int state, int shadowType, String detail, int x, int y, int width, int height, int synthState, int dir) argument [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | heapDumper.cpp | 1981 DIR* dir = os::opendir(base_path); local 1982 if (dir == NULL) { 1987 os::closedir(dir); 2000 const size_t dlen = strlen(base_path); // if heap dump dir specified
|