Home
last modified time | relevance | path

Searched refs:newDirectoryStream (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultSecureDirectoryStreamTest.java106 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, in testIterator()
116 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, in testIterator_calledTwice()
128 DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, in testIterator_afterClose()
145 Files.newDirectoryStream(path_root); in test_newDirectoryStream()
146 DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. in test_newDirectoryStream()
161 Files.newDirectoryStream(path_root)) { in test_newDirectoryStream_symbolicLink()
162 try (DirectoryStream<Path> ds_path_dir2 = ds_path_dir1.newDirectoryStream(path_root. in test_newDirectoryStream_symbolicLink()
173 Files.newDirectoryStream(path_root)) { in test_newDirectoryStream_Exception()
175 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. in test_newDirectoryStream_Exception()
182 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(null)) { in test_newDirectoryStream_Exception()
[all …]
DFilesTest.java262 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_dir1)) { in test_newDirectoryStream()
273 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_dir1)) { in test_newDirectoryStream_Exception()
281 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_file1)) { in test_newDirectoryStream_Exception()
286 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(null)) { in test_newDirectoryStream_Exception()
319 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, "*.java")) in test_newDirectoryStream$Path$String()
331 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_dir1, "*.c")) { in test_newDirectoryStream$Path$String_Exception()
339 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_file1, "*.c")) { in test_newDirectoryStream$Path$String_Exception()
345 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_file1, "[a")) { in test_newDirectoryStream$Path$String_Exception()
350 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(null, "[a")) { in test_newDirectoryStream$Path$String_Exception()
355 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_dir1, in test_newDirectoryStream$Path$String_Exception()
DDefaultFileSystemProviderTest.java713 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(dirPath2)) { in test_copy_directory()
763 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_root, in test_newDirectoryStream$Path$Filter()
788 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_dir1, in test_newDirectoryStream$Filter_Exception()
798 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_file1, in test_newDirectoryStream$Filter_Exception()
813 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(null, in test_newDirectoryStream$Filter_NPE()
821 try (DirectoryStream<Path> directoryStream = provider.newDirectoryStream(path_dir1, in test_newDirectoryStream$Filter_NPE()
DFilesSetup.java128 DirectoryStream<Path> dirStream = Files.newDirectoryStream(path); in delete()
DDefaultFileSystemProvider2Test.java176 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(dirPath2)) { in test_move_directory()
/libcore/ojluni/src/main/java/java/nio/file/
DSecureDirectoryStream.java97 SecureDirectoryStream<T> newDirectoryStream(T path, LinkOption... options) in newDirectoryStream() method
DFiles.java454 public static DirectoryStream<Path> newDirectoryStream(Path dir)
457 return provider(dir).newDirectoryStream(dir, AcceptAllFilter.FILTER);
509 public static DirectoryStream<Path> newDirectoryStream(Path dir, String glob)
514 return newDirectoryStream(dir);
525 return fs.provider().newDirectoryStream(dir, filter);
585 public static DirectoryStream<Path> newDirectoryStream(Path dir,
589 return provider(dir).newDirectoryStream(dir, filter);
3451 DirectoryStream<Path> ds = Files.newDirectoryStream(dir);
DFileTreeWalker.java300 stream = Files.newDirectoryStream(entry); in visit()
/libcore/ojluni/src/main/java/sun/nio/fs/
DPollingWatchService.java256 try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) {
326 stream = Files.newDirectoryStream(watchable());
DUnixSecureDirectoryStream.java104 public SecureDirectoryStream<Path> newDirectoryStream(Path obj, in newDirectoryStream() method in UnixSecureDirectoryStream
DUnixFileSystemProvider.java397 …public DirectoryStream<Path> newDirectoryStream(Path obj, DirectoryStream.Filter<? super Path> fil… in newDirectoryStream() method in UnixFileSystemProvider
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java71 public DirectoryStream<Path> newDirectoryStream(Path dir, in newDirectoryStream() method in MockFileSystemProvider
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java592 public abstract DirectoryStream<Path> newDirectoryStream(Path dir, in newDirectoryStream() method in FileSystemProvider