| /openjdk7/langtools/test/tools/javac/processing/model/6341534/dir/ |
| H A D | package-info.java | 24 package dir; package
|
| H A D | Foo.java | 24 package dir; package
|
| /openjdk7/jdk/src/share/classes/java/nio/file/ |
| H A D | DirectoryNotEmptyException.java | 43 * @param dir 46 public DirectoryNotEmptyException(String dir) { argument 47 super(dir);
|
| /openjdk7/jdk/src/share/classes/java/io/ |
| H A D | FilenameFilter.java | 47 * @param dir the directory in which the file was found. 52 boolean accept(File dir, String name); argument
|
| /openjdk7/jdk/test/java/io/File/ |
| H A D | WinSpecialFiles.java | 38 File[] dir = root.listFiles(); 39 for (int i = 0; i < dir.length; i++) { 40 if (!dir[i].exists()) { 42 + dir[i].getPath() + ">"); 44 String name = dir[i].getPath().toLowerCase(); 47 if (dir[i].length() == 0) { 49 + dir[i].getPath()
|
| H A D | AccessDenied.java | 37 File dir = new File(System.getProperty("test.dir", "."), 39 dir.deleteOnExit(); 40 if (!dir.mkdir()) { 41 throw new Exception("Could not create directory:" + dir); 43 System.out.println("Created directory:" + dir); 45 File file = new File(System.getProperty("test.dir", "."), "hugo");
|
| /openjdk7/jdk/test/javax/swing/JFileChooser/6484091/ |
| H A D | bug6484091.java | 37 File dir = FileSystemView.getFileSystemView().getDefaultDirectory(); 39 printDirContent(dir); 43 // The next test cases use 'dir' obtained without SecurityManager 46 printDirContent(dir); 54 private static void printDirContent(File dir) { argument 55 System.out.println("Files in " + dir.getAbsolutePath() + ":"); 57 for (File file : dir.listFiles()) {
|
| /openjdk7/jdk/test/java/nio/file/ |
| H A D | TestUtil.java | 34 Path dir = FileSystems.getDefault().getPath(where); 35 return Files.createTempDirectory(dir, "name"); 42 static void removeAll(Path dir) throws IOException { argument 43 Files.walkFileTree(dir, new FileVisitor<Path>() { 45 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { 58 public FileVisitResult postVisitDirectory(Path dir, IOException exc) { 60 Files.delete(dir); 62 System.err.format("Unable to delete %s: %s\n", dir, x); 87 static Path createDirectoryWithLongPath(Path dir) argument 96 dir 105 supportsLinks(Path dir) argument [all...] |
| /openjdk7/langtools/test/tools/javac/ |
| H A D | T6340549.java | 39 File dir = new File("temp" + args.hashCode()); 40 if (!dir.exists()) 41 dir.mkdir(); 42 if (!dir.isDirectory()) 43 throw new AssertionError("Not a directory " + dir); 57 dir.delete(); // cleanup
|
| /openjdk7/jdk/test/javax/security/auth/x500/X500Principal/ |
| H A D | InvalidConstructorInput.java | 46 String dir = System.getProperty("test.src"); 47 if (dir == null) 48 dir = "."; 51 (dir + "/InvalidConstructorInput.java");
|
| /openjdk7/langtools/test/tools/javac/api/ |
| H A D | T6358955.java | 27 * @summary JavacFileManager.getFileForInput(dir) shuld throw IAE 41 File dir = new File("temp" + args.hashCode()); 42 if (!dir.exists()) 43 dir.mkdir(); 44 if (!dir.isDirectory()) 45 throw new AssertionError("Not a directory " + dir); 49 Arrays.asList(dir.getCanonicalFile().getParentFile())); 51 jfm.getFileForInput(StandardLocation.CLASS_OUTPUT, "", dir.getPath()); 57 jfm.getJavaFileObjectsFromFiles(Arrays.asList(dir)); 64 dir [all...] |
| /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/io/RandomAccessFile/ |
| H A D | EOF.java | 36 String dir = System.getProperty("test.src", "."); 37 RandomAccessFile raf = new RandomAccessFile(new File(dir, "EOF.java"), "r");
|
| H A D | Seek.java | 38 String dir = System.getProperty("test.src", "."); 40 (new File(dir, "Seek.java"), "r");
|
| /openjdk7/jdk/src/share/classes/sun/net/idn/ |
| H A D | UCharacterDirection.java | 63 * @param dir direction type to retrieve name 67 public static String toString(int dir) { argument 68 switch(dir)
|
| /openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
| H A D | BsdFileSystemProvider.java | 42 BsdFileSystem newFileSystem(String dir) { argument 43 return new BsdFileSystem(this, dir);
|
| H A D | MacOSXFileSystemProvider.java | 42 MacOSXFileSystem newFileSystem(String dir) { argument 43 return new MacOSXFileSystem(this, dir);
|
| /openjdk7/jdk/src/share/classes/sun/awt/shell/ |
| H A D | ShellFolderManager.java | 93 * Does <code>dir</code> represent a "computer" such as a node on the network, or 96 public boolean isComputerNode(File dir) { argument 100 public boolean isFileSystemRoot(File dir) { argument 101 if (dir instanceof ShellFolder && !((ShellFolder) dir).isFileSystem()) { 104 return (dir.getParentFile() == null);
|
| /openjdk7/jdk/test/java/nio/file/Path/ |
| H A D | Misc.java | 40 Path dir = TestUtil.createTemporaryDirectory(); 42 supportsLinks = TestUtil.supportsLinks(dir); 48 testToFile(dir); 51 testToRealPath(dir); 55 TestUtil.removeAll(dir); 86 static void testToFile(Path dir) throws IOException { argument 87 File d = dir.toFile(); 88 assertTrue(d.toString().equals(dir.toString())); 89 assertTrue(d.toPath().equals(dir)); 95 static void testToRealPath(Path dir) throw argument [all...] |
| /openjdk7/jdk/test/java/text/Bidi/ |
| H A D | Bug7002398.java | 50 for (int dir = 0; dir < directions.length; dir ++) { 51 Bidi bidi = new Bidi(str, directions[dir]); 60 " in direction = " + directions[dir] + ".");
|
| /openjdk7/jdk/test/java/nio/file/DirectoryStream/ |
| H A D | Basic.java | 38 static void doTest(final Path dir) throws IOException { argument 42 try (DirectoryStream<Path> ds = newDirectoryStream(dir)) { 49 createFile(dir.resolve(foo)); 52 stream = newDirectoryStream(dir); 74 dir.getFileSystem().getPathMatcher("glob:f*"); 79 try (DirectoryStream<Path> ds = newDirectoryStream(dir, filter)) { 89 dir.getFileSystem().getPathMatcher("glob:z*"); 94 try (DirectoryStream<Path> ds = newDirectoryStream(dir, filter)) { 105 stream = newDirectoryStream(dir, filter); 119 stream = newDirectoryStream(dir, ne [all...] |
| /openjdk7/jdk/test/java/nio/file/attribute/BasicFileAttributeView/ |
| H A D | Basic.java | 43 static void checkAttributesOfDirectory(Path dir) argument 46 BasicFileAttributes attrs = Files.readAttributes(dir, BasicFileAttributes.class); 53 File f = new File(dir.toString()); 58 static void checkAttributesOfFile(Path dir, Path file) argument 77 BasicFileAttributes dirAttrs = Files.readAttributes(dir, BasicFileAttributes.class); 106 static void attributeReadWriteTests(Path dir) argument 110 Path file = dir.resolve("foo"); 116 checkAttributesOfDirectory(dir); 117 checkAttributesOfFile(dir, file); 120 Path link = dir [all...] |
| /openjdk7/jdk/test/java/nio/file/Files/ |
| H A D | DeleteOnClose.java | 42 Path dir = Files.createTempDirectory("blah"); 45 if (TestUtil.supportsLinks(dir)) { 46 file = dir.resolve("foo"); 48 Path link = dir.resolve("link"); 58 try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) { 68 if (Files.exists(dir.resolve(file))) 73 TestUtil.removeAll(dir);
|
| /openjdk7/jdk/test/java/nio/file/Files/walkFileTree/ |
| H A D | SkipSiblings.java | 55 Path dir = Paths.get(args[0]); 57 Files.walkFileTree(dir, new SimpleFileVisitor<Path>() { 59 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { 60 check(dir); 61 if (skip(dir)) 73 public FileVisitResult postVisitDirectory(Path dir, IOException x) { 76 check(dir);
|
| /openjdk7/jdk/test/java/lang/ClassLoader/deadlock/ |
| H A D | TestOneWayDelegate.sh | 85 for dir in $DIRS 87 if [ -d ${dir} ]; then 88 rm -rf ${dir} 90 mkdir ${dir} 91 mv com${dir} ${dir}
|