/openjdk7/jdk/src/share/sample/nio/file/ |
H A D | WatchDir.java | 66 private void register(Path dir) throws IOException { argument 67 WatchKey key = dir.register(watcher, ENTRY_CREATE, ENTRY_DELETE, ENTRY_MODIFY); 70 System.out.format("register: %s\n", dir); 81 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) 84 register(dir); 93 WatchDir(Path dir, boolean recursive) throws IOException { argument 98 System.out.format("Scanning %s ...\n", dir); 99 registerAll(dir); 102 register(dir); 164 System.err.println("usage: java WatchDir [-r] dir"); [all...] |
H A D | Chmod.java | 296 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { argument 297 chmod(dir, changer); 308 public FileVisitResult postVisitDirectory(Path dir, IOException exc) { argument
|
H A D | Copy.java | 97 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { argument 103 Path newdir = target.resolve(source.relativize(dir)); 105 Files.copy(dir, newdir, options); 123 public FileVisitResult postVisitDirectory(Path dir, IOException exc) { argument 126 Path newdir = target.resolve(source.relativize(dir)); 128 FileTime time = Files.getLastModifiedTime(dir); 150 System.err.println("java Copy -r [-ip] source-dir... target");
|
/openjdk7/jdk/src/solaris/classes/java/lang/ |
H A D | ProcessImpl.java | 62 String dir, 134 toCString(dir), 60 start(String[] cmdarray, java.util.Map<String,String> environment, String dir, ProcessBuilder.Redirect[] redirects, boolean redirectErrorStream) argument
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | BsdFileSystem.java | 40 BsdFileSystem(UnixFileSystemProvider provider, String dir) { argument 41 super(provider, dir);
|
H A D | LinuxFileSystem.java | 38 LinuxFileSystem(UnixFileSystemProvider provider, String dir) { argument 39 super(provider, dir);
|
H A D | LinuxFileSystemProvider.java | 43 LinuxFileSystem newFileSystem(String dir) { argument 44 return new LinuxFileSystem(this, dir);
|
H A D | MacOSXFileSystem.java | 43 MacOSXFileSystem(UnixFileSystemProvider provider, String dir) { argument 44 super(provider, dir);
|
H A D | SolarisFileSystemProvider.java | 43 SolarisFileSystem newFileSystem(String dir) { argument 44 return new SolarisFileSystem(this, dir);
|
H A D | UnixMountEntry.java | 34 private byte[] dir; // directory (mount point) field in class:UnixMountEntry 55 byte[] dir() { method in class:UnixMountEntry 56 return dir;
|
/openjdk7/langtools/test/tools/javac/ |
H A D | T6999210.java | 109 File writeFile(File dir, String path, String body) throws IOException { argument 110 File f = new File(dir, path);
|
/openjdk7/langtools/test/tools/javap/ |
H A D | T6474890.java | 68 File zip(File dir, File zipFile) throws IOException { argument 70 for (File file: dir.listFiles()) {
|
/openjdk7/jdk/test/sun/rmi/log/ReliableLog/ |
H A D | Recovery.java | 57 static private final String dir = "./recovery_tmp"; field in class:Recovery 77 (new File(dir,"Version_Number")).delete(); 81 (new File(dir,"New_Version_Number")).delete(); 85 (new File(dir,"Old_Version_Number")).delete(); 94 log = new ReliableLog(dir, handler); 141 ReliableLog carbon = new ReliableLog(dir, laz);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | MethodHTML.java | 76 MethodHTML(String dir, String class_name, argument 84 file = new PrintWriter(new FileOutputStream(dir + class_name + "_methods.html"));
|
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/ |
H A D | Util.java | 95 // Default package, so use root as output dir... 103 String workingDirPath = System.getProperty("user.dir"); 143 private static void ensureDirectory (File dir, BatchEnvironment env) { argument 144 if (!dir.exists()) { 145 dir.mkdirs(); 146 if (!dir.exists()) { 147 env.error(0,"rmic.cannot.create.dir",dir.getAbsolutePath());
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SpinnerNumberModel.java | 320 private Number incrValue(int dir) argument 324 double v = value.doubleValue() + (stepSize.doubleValue() * (double)dir); 333 long v = value.longValue() + (stepSize.longValue() * (long)dir);
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | FileTreeWalker.java | 235 private final Path dir; field in class:FileTreeWalker.AncestorDirectory 237 AncestorDirectory(Path dir, Object key) { argument 238 this.dir = dir; 242 return dir;
|
H A D | TempFileHelper.java | 57 private static Path generatePath(String prefix, String suffix, Path dir) { argument 60 Path name = dir.getFileSystem().getPath(prefix + Long.toString(n) + suffix); 64 return dir.resolve(name); 78 * temporary directory if dir is {@code null}). 80 private static Path create(Path dir, argument 91 if (dir == null) 92 dir = tmpdir; 96 if (isPosix && (dir.getFileSystem() == FileSystems.getDefault())) { 127 f = generatePath(prefix, suffix, dir); 142 if (dir 155 createTempFile(Path dir, String prefix, String suffix, FileAttribute[] attrs) argument 168 createTempDirectory(Path dir, String prefix, FileAttribute[] attrs) argument [all...] |
/openjdk7/jaxp/src/org/w3c/dom/html/ |
H A D | HTMLElement.java | 80 * directionality of tables. See the dir attribute definition in HTML 84 public void setDir(String dir); argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ |
H A D | StreamingAttachmentFeature.java | 64 private String dir; field in class:StreamingAttachmentFeature 71 @FeatureConstructor({"dir","parseEagerly","memoryThreshold"}) 72 public StreamingAttachmentFeature(@Nullable String dir, boolean parseEagerly, long memoryThreshold) { argument 74 this.dir = dir; 94 config.setDir(dir); 105 public void setDir(String dir) { argument 106 this.dir = dir;
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | SBC.java | 44 Path dir = TestUtil.createTemporaryDirectory(); 46 supportsLinks = TestUtil.supportsLinks(dir); 49 createTests(dir); 50 appendTests(dir); 51 truncateExistingTests(dir); 52 noFollowLinksTests(dir); 55 sizeTruncatePositionTests(dir); 59 dosSharingOptionTests(dir); 62 badCombinations(dir); 63 unsupportedOptions(dir); 72 createTests(Path dir) argument 162 appendTests(Path dir) argument 191 truncateExistingTests(Path dir) argument 225 noFollowLinksTests(Path dir) argument 250 sizeTruncatePositionTests(Path dir) argument 283 dosSharingOptionTests(Path dir) argument 349 badCombinations(Path dir) argument 364 unsupportedOptions(Path dir) argument 379 nullTests(Path dir) argument [all...] |
/openjdk7/jdk/test/java/nio/file/WatchService/ |
H A D | Basic.java | 44 static void checkKey(WatchKey key, Path dir) { argument 47 if (key.watchable() != dir) 80 static void testEvents(Path dir) throws IOException { argument 90 System.out.format("register %s for ENTRY_CREATE\n", dir); 91 WatchKey myKey = dir.register(watcher, 93 checkKey(myKey, dir); 96 Path file = dir.resolve("foo"); 113 System.out.format("register %s for ENTRY_DELETE\n", dir); 114 WatchKey deleteKey = dir.register(watcher, 118 checkKey(deleteKey, dir); 163 testCancel(Path dir) argument 202 testAutomaticCancel(Path dir) argument 231 testWakeup(Path dir) argument 268 testExceptions(Path dir) argument 394 testTwoWatchers(Path dir) argument [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | CanonShaping.cpp | 88 le_int32 out = 0, dir = 1; local 92 dir = -1; 95 for (i = 0; i < charCount; i += 1, out += dir) {
|
/openjdk7/jdk/test/javax/management/MBeanInfo/ |
H A D | NotificationInfoTest.java | 273 File dir = new File(new URI(codeBase.toString())); 275 scanDir(dir, "", names); 279 private static void scanDir(File dir, String prefix, Set<String> names) argument 281 File[] files = dir.listFiles();
|
/openjdk7/jdk/test/sun/net/www/protocol/jar/jarbug/src/test/ |
H A D | JarTest.java | 52 protected File copyResource(File dir, String resName) throws Exception { argument 60 file = new File(dir, resName); 90 * Utility to create a temp dir.
|