Searched refs:file2 (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/test/java/io/File/
H A DDeleteOnExit.java39 static File file2 = new File(tmpdir + "deletedOnExit2"); field in class:DeleteOnExit
54 if (file1.exists() || file2.exists() || file3.exists() ||
59 System.out.println(file2 + ", exists = " + file2.exists());
74 file2.createNewFile();
77 file2.deleteOnExit();
86 file2.deleteOnExit();
87 file2.deleteOnExit();
88 file2.deleteOnExit();
/openjdk7/jdk/test/java/net/ResponseCache/
H A DResponseCacheTest.java68 /* send file2.1 */
69 File file2 = new File(FNPrefix+"file2.1");
72 out.print("Content-Length: "+file2.length()+"\r\n");
75 fis = new FileInputStream(file2);
76 byte[] buf = new byte[(int)file2.length()];
131 Integer.toString(ss.getLocalPort())+"/file2.1");
142 fileout = new File(OutFNPrefix+"file2.2");
152 // assert (headers1 == headers2 && file1 == file2.2)
154 File file2
[all...]
H A Dfile2.11 /* @test @(#)file2.1 1.1 03/08/09
43 /* send file2.1 */
44 File file2 = new File("file2.1");
47 out.print("Content-Length: "+file2.length()+"\r\n");
50 FileInputStream fis = new FileInputStream(file2);
51 byte[] buf = new byte[(int)file2.length()];
99 Integer.toString(ss.getLocalPort())+"/file2.1");
109 fileout = new File("file2.2");
110 byte[] buf = new byte[(int)new File("file2
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/
H A DHandler.java66 String file2 = u2.getFile();
68 int sep2 = file2.indexOf(separator);
75 String entry2 = file2.substring(sep2 + 2);
83 enclosedURL2 = new URL(file2.substring(0, sep2));
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolder.java173 public int compareTo(File file2) { argument
174 if (file2 == null || !(file2 instanceof ShellFolder)
175 || ((file2 instanceof ShellFolder) && ((ShellFolder)file2).isFileSystem())) {
178 return super.compareTo(file2);
186 return getName().compareTo(file2.getName());
/openjdk7/jdk/test/java/nio/file/FileStore/
H A DBasic.java70 Path file2 = Files.createFile(dir.resolve("bar"));
72 FileStore store2 = Files.getFileStore(file2);
/openjdk7/langtools/test/com/sun/javadoc/lib/
H A DJavadocTester.java415 * @param file2 the second file to compare.
420 public boolean diff(String file1, String file2, boolean throwErrorIFNoMatch) throws Error { argument
422 String file2Contents = readFileToString(file2);
425 System.out.println("Diff successful: " + file1 + ", " + file2);
429 throw new Error("Diff failed: " + file1 + ", " + file2);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileSystemProvider.java321 UnixPath file2 = (UnixPath)obj2;
325 file2.checkRead();
336 attrs2 = UnixFileAttributes.get(file2, true);
338 x.rethrowAsIOException(file2);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileSystemProvider.java416 WindowsPath file2 = (WindowsPath)obj2;
420 file2.checkRead();
438 h2 = file2.openForReadAttributeAccess(true);
440 x.rethrowAsIOException(file2);
447 x.rethrowAsIOException(file2);
/openjdk7/jdk/test/java/nio/file/WatchService/
H A DBasic.java420 Path file2 = dir.resolve(name2);
421 System.out.format("create %s\n", file2);
422 Files.createFile(file2);
/openjdk7/jdk/src/windows/classes/sun/awt/shell/
H A DWin32ShellFolder2.java1069 public int compareTo(File file2) { argument
1070 if (!(file2 instanceof Win32ShellFolder2)) {
1072 return super.compareTo(file2);
1077 return Win32ShellFolderManager2.compareShellFolders(this, (Win32ShellFolder2) file2);
/openjdk7/make/scripts/
H A Dwebrev.ksh450 ' /tmp/$$.diffs > /tmp/$$.file2
457 html_quote < $2 | $AWK -f /tmp/$$.file2 > /tmp/$$.file2.html
475 strip_unchanged /tmp/$$.file2.html
481 framed_sdiff $TNAME $TPATH /tmp/$$.file1.html /tmp/$$.file2.html \

Completed in 320 milliseconds