Searched refs:FileVisitResult (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/file/ |
D | SimpleFileVisitor.java | 57 public FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) in preVisitDirectory() 62 return FileVisitResult.CONTINUE; in preVisitDirectory() 72 public FileVisitResult visitFile(T file, BasicFileAttributes attrs) in visitFile() 77 return FileVisitResult.CONTINUE; in visitFile() 87 public FileVisitResult visitFileFailed(T file, IOException exc) in visitFileFailed() 104 public FileVisitResult postVisitDirectory(T dir, IOException exc) in postVisitDirectory() 110 return FileVisitResult.CONTINUE; in postVisitDirectory()
|
D | FileVisitor.java | 119 FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) in preVisitDirectory() 135 FileVisitResult visitFile(T file, BasicFileAttributes attrs) in visitFile() 153 FileVisitResult visitFileFailed(T file, IOException exc) in visitFileFailed() 175 FileVisitResult postVisitDirectory(T dir, IOException exc) in postVisitDirectory()
|
D | FileVisitResult.java | 36 public enum FileVisitResult { enum
|
D | Files.java | 2664 FileVisitResult result; 2682 if (result == FileVisitResult.SKIP_SUBTREE || 2683 result == FileVisitResult.SKIP_SIBLINGS) 2691 if (result == FileVisitResult.SKIP_SIBLINGS) 2692 result = FileVisitResult.CONTINUE; 2699 if (Objects.requireNonNull(result) != FileVisitResult.CONTINUE) { 2700 if (result == FileVisitResult.TERMINATE) { 2702 } else if (result == FileVisitResult.SKIP_SIBLINGS) {
|
/libcore/ojluni/src/test/java/nio/file/ |
D | TestUtil.java | 48 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { in removeAll() 49 return FileVisitResult.CONTINUE; in removeAll() 52 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { in removeAll() 58 return FileVisitResult.CONTINUE; in removeAll() 61 public FileVisitResult postVisitDirectory(Path dir, IOException exc) { in removeAll() 67 return FileVisitResult.CONTINUE; in removeAll() 70 public FileVisitResult visitFileFailed(Path file, IOException exc) { in removeAll() 72 return FileVisitResult.CONTINUE; in removeAll()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | SimpleFileVisitorTest.java | 22 import java.nio.file.FileVisitResult; 36 assertEquals(FileVisitResult.CONTINUE, fileVisitor.preVisitDirectory(stubPath, in test_preVisitDirectory() 55 assertEquals(FileVisitResult.CONTINUE, fileVisitor.postVisitDirectory(stubPath, null)); in test_postVisitDirectory() 75 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFile(stubPath, stubAttributes)); in test_visitFile() 94 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFileFailed(stubPath, null)); in test_visitFileFailed() 100 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFileFailed(null, in test_visitFileFailed() 107 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFileFailed(stubPath, in test_visitFileFailed()
|
D | Files2Test.java | 43 import java.nio.file.FileVisitResult; 70 import static java.nio.file.FileVisitResult.CONTINUE; 71 import static java.nio.file.FileVisitResult.TERMINATE; 1845 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) in preVisitDirectory() 1855 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { in visitFile() 1864 public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException { in visitFileFailed() 1872 public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException { in postVisitDirectory()
|
/libcore/ |
D | openjdk_java_files.bp | 466 "ojluni/src/main/java/java/nio/file/FileVisitResult.java",
|