Searched refs:directoryStream (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FilesTest.java | 262 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_dir1)) { in test_newDirectoryStream() argument 263 directoryStream.forEach(k -> pathSet.add(k)); in test_newDirectoryStream() 273 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_dir1)) { in test_newDirectoryStream_Exception() argument 281 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_file1)) { in test_newDirectoryStream_Exception() argument 286 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(null)) { in test_newDirectoryStream_Exception() argument 319 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, "*.java")) in test_newDirectoryStream$Path$String() argument 321 directoryStream.forEach(k -> pathSet.add(k)); in test_newDirectoryStream$Path$String() 331 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_dir1, "*.c")) { in test_newDirectoryStream$Path$String_Exception() argument 339 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_file1, "*.c")) { in test_newDirectoryStream$Path$String_Exception() argument 345 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_file1, "[a")) { in test_newDirectoryStream$Path$String_Exception() argument [all …]
|
D | DefaultSecureDirectoryStreamTest.java | 106 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, in testIterator() argument 108 Iterator<Path> directoryStreamIterator = directoryStream.iterator(); in testIterator() 116 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, in testIterator_calledTwice() argument 118 directoryStream.iterator(); in testIterator_calledTwice() 120 directoryStream.iterator(); in testIterator_calledTwice() 128 DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, in testIterator_afterClose() local 130 directoryStream.close(); in testIterator_afterClose() 132 directoryStream.iterator(); in testIterator_afterClose()
|
D | DefaultFileSystemProviderTest.java | 713 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(dirPath2)) { in test_copy_directory() argument 714 directoryStream.forEach(file -> pathMap.put(file, true)); in test_copy_directory() 763 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_root, in test_newDirectoryStream$Path$Filter() argument 765 assertTrue(directoryStream instanceof SecureDirectoryStream); in test_newDirectoryStream$Path$Filter() 766 directoryStream.forEach(path -> pathsSet.add(path)); in test_newDirectoryStream$Path$Filter() 788 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_dir1, in test_newDirectoryStream$Filter_Exception() argument 798 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_file1, in test_newDirectoryStream$Filter_Exception() argument 813 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(null, in test_newDirectoryStream$Filter_NPE() argument 821 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_dir1, in test_newDirectoryStream$Filter_NPE() argument
|
D | DefaultFileSystemProvider2Test.java | 176 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(dirPath2)) { in test_move_directory() argument 177 directoryStream.forEach(file -> pathMap.put(file, true)); in test_move_directory()
|