Home
last modified time | relevance | path

Searched refs:file2 (Results 1 – 5 of 5) sorted by relevance

/libcore/support/src/test/java/tests/support/
DSupport_DeleteOnExitTest.java13 File file2 = new File(args[1]); in main() local
16 file2.deleteOnExit(); in main()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DHandler.java66 String file2 = u2.getFile(); in sameFile() local
68 int sep2 = file2.indexOf(separator); in sameFile()
75 String entry2 = file2.substring(sep2 + 2); in sameFile()
83 enclosedURL2 = new URL(file2.substring(0, sep2)); in sameFile()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystemProvider.java321 UnixPath file2 = (UnixPath)obj2; in isSameFile()
325 file2.checkRead(); in isSameFile()
336 attrs2 = UnixFileAttributes.get(file2, true); in isSameFile()
338 x.rethrowAsIOException(file2); in isSameFile()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFiles2Test.java600 Path file2 = filesSetup.getPathInTestDir("root/file2"); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() local
604 Files.createSymbolicLink(file2, dir2.toAbsolutePath()); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
605 assertTrue(Files.isSymbolicLink(file2)); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
611 Files.walkFileTree(file2, option, 50, new TestFileVisitor(dirMap, option)); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
614 expectedDirMap.put(file2.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
686 Path file2 = filesSetup.getPathInTestDir("root/dir2/file2"); in test_walkFileTree_depthFirst() local
691 Files.createFile(file2); in test_walkFileTree_depthFirst()
701 assertEquals(file2.getFileName(), keyList.get(4)); in test_walkFileTree_depthFirst()
703 assertEquals(file2.getFileName(), keyList.get(2)); in test_walkFileTree_depthFirst()
1006 Path file2 = Paths.get(filesSetup.getTestDir(), "root/dir1/file2"); in test_list() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java220 File file2 = new File("/", "//dir1/file1"); in test_Constructor_String_String_112270() local
221 assertEquals("wrong result 2", ref1.getPath(), file2.getPath()); in test_Constructor_String_String_112270()
244 File file2 = new File(root, "//dir1/file1"); in test_Constructor_File_String_112270() local
245 assertEquals("wrong result 2", ref1.getPath(), file2.getPath()); in test_Constructor_File_String_112270()