Home
last modified time | relevance | path

Searched refs:DirectoryStream (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixDirectoryStream.java43 implements DirectoryStream<Path>
52 private final DirectoryStream.Filter<? super Path> filter;
70 UnixDirectoryStream(UnixPath dir, long dp, DirectoryStream.Filter<? super Path> filter) { in UnixDirectoryStream()
124 protected final Iterator<Path> iterator(DirectoryStream<Path> ds) { in iterator()
145 private final DirectoryStream<Path> stream;
153 UnixDirectoryIterator(DirectoryStream<Path> stream) { in UnixDirectoryIterator()
DPollingWatchService.java256 try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) {
324 DirectoryStream<Path> stream = null;
DUnixFileSystemProvider.java410 …public DirectoryStream<Path> newDirectoryStream(Path obj, DirectoryStream.Filter<? super Path> fil… in newDirectoryStream()
DUnixSecureDirectoryStream.java61 DirectoryStream.Filter<? super Path> filter) in UnixSecureDirectoryStream()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java33 import java.nio.file.DirectoryStream;
262 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()
[all …]
DDefaultSecureDirectoryStreamTest.java30 import java.nio.file.DirectoryStream;
106 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()
146 DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. in test_newDirectoryStream()
162 try (DirectoryStream<Path> ds_path_dir2 = ds_path_dir1.newDirectoryStream(path_root. in test_newDirectoryStream_symbolicLink()
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()
187 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. in test_newDirectoryStream_Exception()
194 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. in test_newDirectoryStream_Exception()
DDefaultFileSystemProviderTest.java32 import java.nio.file.DirectoryStream;
713 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()
781 DirectoryStream.Filter<Path> fileFilter = new DirectoryStream.Filter<Path>() { in test_newDirectoryStream$Filter_Exception()
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()
807 DirectoryStream.Filter<Path> fileFilter = new DirectoryStream.Filter<Path>() { in test_newDirectoryStream$Filter_NPE()
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()
822 (DirectoryStream.Filter<? super Path>) null)) { in test_newDirectoryStream$Filter_NPE()
DFilesSetup.java30 import java.nio.file.DirectoryStream;
128 DirectoryStream<Path> dirStream = Files.newDirectoryStream(path); in delete()
DDefaultFileSystemProvider2Test.java31 import java.nio.file.DirectoryStream;
176 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(dirPath2)) { in test_move_directory()
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java24 import java.nio.file.DirectoryStream;
71 public DirectoryStream<Path> newDirectoryStream(Path dir, in newDirectoryStream()
72 DirectoryStream.Filter<? super Path> filter) throws IOException { in newDirectoryStream()
/libcore/ojluni/src/main/java/java/nio/file/
DFileTreeWalker.java70 private final DirectoryStream<Path> stream;
74 DirectoryNode(Path dir, Object key, DirectoryStream<Path> stream) { in DirectoryNode()
89 DirectoryStream<Path> stream() { in stream()
298 DirectoryStream<Path> stream = null; in visit()
DDirectoryStream.java119 public interface DirectoryStream<T> interface
DSecureDirectoryStream.java60 extends DirectoryStream<T>
DFiles.java413 implements DirectoryStream.Filter<Path>
454 public static DirectoryStream<Path> newDirectoryStream(Path dir)
509 public static DirectoryStream<Path> newDirectoryStream(Path dir, String glob)
519 DirectoryStream.Filter<Path> filter = new DirectoryStream.Filter<Path>() {
585 public static DirectoryStream<Path> newDirectoryStream(Path dir,
586DirectoryStream.Filter<? super Path> filter)
3451 DirectoryStream<Path> ds = Files.newDirectoryStream(dir);
/libcore/luni/src/test/java/libcore/java/nio/file/spi/
DFileSystemProviderTest.java26 import java.nio.file.DirectoryStream;
76 public DirectoryStream<Path> newDirectoryStream(Path dir, in newDirectoryStream()
77 DirectoryStream.Filter<? super Path> filter) throws IOException { in newDirectoryStream()
/libcore/ojluni/annotations/hiddenapi/java/nio/file/
DFileTreeWalker.java106 java.nio.file.DirectoryStream<java.nio.file.Path> stream) { in DirectoryNode()
118 java.nio.file.DirectoryStream<java.nio.file.Path> stream() { in stream()
154 private final java.nio.file.DirectoryStream<java.nio.file.Path> stream;
/libcore/ojluni/src/test/java/util/Properties/
DLoadAndStoreXML.java39 import java.nio.file.DirectoryStream;
233 try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir, "*.xml")) { in testLoadWithMalformedDoc()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java592 public abstract DirectoryStream<Path> newDirectoryStream(Path dir, in newDirectoryStream()
593 DirectoryStream.Filter<? super Path> filter) throws IOException; in newDirectoryStream()
/libcore/api/
Dcurrent.txt7272 public interface DirectoryStream<T> extends java.io.Closeable java.lang.Iterable<T> {
7275 @java.lang.FunctionalInterface public static interface DirectoryStream.Filter<T> {
7403 …method public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio…
7404 …method public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio…
7405 …ic static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path,…
7519 public interface SecureDirectoryStream<T> extends java.nio.file.DirectoryStream<T> {
7801 … abstract java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path,…
/libcore/
Dopenjdk_java_files.bp480 "ojluni/src/main/java/java/nio/file/DirectoryStream.java",
DEXPECTED_UPSTREAM469 …c/main/java/java/nio/file/DirectoryStream.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/j…