Home
last modified time | relevance | path

Searched refs:recursive_directory_iterator (Results 1 – 25 of 29) sorted by relevance

12

/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
Dmove_assign.pass.cpp37 recursive_directory_iterator createInterestingIterator() in TEST_SUITE()
46 const recursive_directory_iterator endIt; in TEST_SUITE()
47 recursive_directory_iterator it(testDir, in TEST_SUITE()
59 recursive_directory_iterator createDifferentInterestingIterator() in createDifferentInterestingIterator()
68 const recursive_directory_iterator endIt; in createDifferentInterestingIterator()
69 recursive_directory_iterator it(testDir, in createDifferentInterestingIterator()
83 using D = recursive_directory_iterator; in TEST_CASE()
90 const recursive_directory_iterator endIt; in TEST_CASE()
92 recursive_directory_iterator from = createInterestingIterator(); in TEST_CASE()
93 const recursive_directory_iterator from_copy(from); in TEST_CASE()
[all …]
Drecursion_pending.pass.cpp33 recursive_directory_iterator it(StaticEnv::Dir); in TEST_CASE()
39 recursive_directory_iterator rec_pending_it(StaticEnv::Dir); in TEST_CASE()
40 recursive_directory_iterator no_rec_pending_it(StaticEnv::Dir); in TEST_CASE()
44 recursive_directory_iterator it(rec_pending_it); in TEST_CASE()
49 recursive_directory_iterator it2(no_rec_pending_it); in TEST_CASE()
53 recursive_directory_iterator it(StaticEnv::Dir); in TEST_CASE()
60 recursive_directory_iterator it2(StaticEnv::Dir); in TEST_CASE()
71 recursive_directory_iterator rec_pending_it(StaticEnv::Dir); in TEST_CASE()
72 recursive_directory_iterator no_rec_pending_it(StaticEnv::Dir); in TEST_CASE()
76 recursive_directory_iterator it_cp(rec_pending_it); in TEST_CASE()
[all …]
Dcopy_assign.pass.cpp31 recursive_directory_iterator createInterestingIterator() in TEST_SUITE()
40 const recursive_directory_iterator endIt; in TEST_SUITE()
41 recursive_directory_iterator it(testDir, in TEST_SUITE()
54 recursive_directory_iterator createDifferentInterestingIterator() in createDifferentInterestingIterator()
63 const recursive_directory_iterator endIt; in createDifferentInterestingIterator()
64 recursive_directory_iterator it(testDir, in createDifferentInterestingIterator()
76 using D = recursive_directory_iterator; in TEST_CASE()
82 const recursive_directory_iterator endIt; in TEST_CASE()
84 const recursive_directory_iterator from = createInterestingIterator(); in TEST_CASE()
87 recursive_directory_iterator to; in TEST_CASE()
[all …]
Dincrement.pass.cpp34 recursive_directory_iterator d; ((void)d); in TEST_CASE()
37 ASSERT_SAME_TYPE(decltype(++d), recursive_directory_iterator&); in TEST_CASE()
40 ASSERT_SAME_TYPE(decltype(d.increment(ec)), recursive_directory_iterator&); in TEST_CASE()
49 const recursive_directory_iterator endIt{}; in TEST_CASE()
52 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
60 recursive_directory_iterator& it_ref = ++it; in TEST_CASE()
72 const recursive_directory_iterator endIt{}; in TEST_CASE()
75 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
95 const recursive_directory_iterator endIt{}; in TEST_CASE()
98 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
[all …]
Dmove.pass.cpp33 using D = recursive_directory_iterator; in TEST_CASE()
39 const recursive_directory_iterator endIt; in TEST_CASE()
40 recursive_directory_iterator endIt2{}; in TEST_CASE()
42 recursive_directory_iterator it(std::move(endIt2)); in TEST_CASE()
50 const recursive_directory_iterator endIt{}; in TEST_CASE()
58 recursive_directory_iterator it(testDir, opts); in TEST_CASE()
71 const recursive_directory_iterator it2(std::move(it)); in TEST_CASE()
Dcopy.pass.cpp33 using D = recursive_directory_iterator; in TEST_CASE()
40 const recursive_directory_iterator endIt; in TEST_CASE()
41 recursive_directory_iterator it(endIt); in TEST_CASE()
48 const recursive_directory_iterator endIt{}; in TEST_CASE()
56 recursive_directory_iterator it(testDir, opts); in TEST_CASE()
69 const recursive_directory_iterator it2(it); in TEST_CASE()
Dpop.pass.cpp33 recursive_directory_iterator it{}; ((void)it); in TEST_CASE()
43 const recursive_directory_iterator endIt{}; in TEST_CASE()
52 recursive_directory_iterator it(StaticEnv::Dir, ec); in TEST_CASE()
Ddepth.pass.cpp36 const recursive_directory_iterator endIt{}; in TEST_CASE()
39 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
Ddisable_recursion_pending.pass.cpp35 recursive_directory_iterator it(StaticEnv::Dir); in TEST_CASE()
Dctor.pass.cpp34 using RDI = recursive_directory_iterator;
40 using D = recursive_directory_iterator; in TEST_CASE()
/external/libcxx/src/filesystem/
Ddirectory_iterator.cpp270 struct recursive_directory_iterator::__shared_imp {
275 recursive_directory_iterator::recursive_directory_iterator( in recursive_directory_iterator() function in recursive_directory_iterator
292 void recursive_directory_iterator::__pop(error_code* ec) { in __pop()
303 directory_options recursive_directory_iterator::options() const { in options()
307 int recursive_directory_iterator::depth() const { in depth()
311 const directory_entry& recursive_directory_iterator::__dereference() const { in __dereference()
315 recursive_directory_iterator&
316 recursive_directory_iterator::__increment(error_code* ec) { in __increment()
328 void recursive_directory_iterator::__advance(error_code* ec) { in __advance()
351 bool recursive_directory_iterator::__try_recursion(error_code* ec) { in __try_recursion()
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/
Dbegin_end.pass.cpp35 recursive_directory_iterator d; ((void)d); in TEST_CASE()
37 ASSERT_SAME_TYPE(decltype(begin(d)), recursive_directory_iterator); in TEST_CASE()
40 ASSERT_SAME_TYPE(decltype(end(d)), recursive_directory_iterator); in TEST_CASE()
51 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h163 class recursive_directory_iterator {
171 recursive_directory_iterator(FileSystem &FS, const Twine &Path,
174 recursive_directory_iterator() { } in recursive_directory_iterator() function
177 recursive_directory_iterator &increment(std::error_code &EC);
182 bool operator==(const recursive_directory_iterator &Other) const {
185 bool operator!=(const recursive_directory_iterator &RHS) const {
/external/libcxx/include/
Dfilesystem54 class recursive_directory_iterator;
56 // enable recursive_directory_iterator range-based for statements
57 recursive_directory_iterator begin(recursive_directory_iterator iter) noexcept;
58 recursive_directory_iterator end(const recursive_directory_iterator&) noexcept;
1940 class recursive_directory_iterator;
2149 friend class recursive_directory_iterator;
2394 friend class recursive_directory_iterator;
2500 class recursive_directory_iterator {
2511 recursive_directory_iterator() noexcept : __rec_(false) {}
2514 explicit recursive_directory_iterator(
[all …]
/external/libcxx/include/experimental/
Dfilesystem54 class recursive_directory_iterator;
56 // enable recursive_directory_iterator range-based for statements
57 recursive_directory_iterator begin(recursive_directory_iterator iter) noexcept;
58 recursive_directory_iterator end(const recursive_directory_iterator&) noexcept;
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp340 auto I = vfs::recursive_directory_iterator(*FS, Twine(TestDirectory), EC); in TEST()
342 EXPECT_EQ(vfs::recursive_directory_iterator(), I); // empty directory is empty in TEST()
349 I = vfs::recursive_directory_iterator(*FS, Twine(TestDirectory), EC); in TEST()
351 ASSERT_NE(vfs::recursive_directory_iterator(), I); in TEST()
354 for (auto E = vfs::recursive_directory_iterator(); !EC && I != E; in TEST()
428 checkContents(vfs::recursive_directory_iterator(*O, "/", EC), in TEST()
432 checkContents(vfs::recursive_directory_iterator(*O, "/", EC), in TEST()
437 checkContents(vfs::recursive_directory_iterator(*O, "/", EC), in TEST()
452 checkContents(vfs::recursive_directory_iterator(*O, "/dir2", EC), in TEST()
454 checkContents(vfs::recursive_directory_iterator(*O, "/", EC), in TEST()
[all …]
/external/llvm/include/llvm/Support/
DFileSystem.h840 class recursive_directory_iterator {
844 recursive_directory_iterator() {} in recursive_directory_iterator() function
845 explicit recursive_directory_iterator(const Twine &path, std::error_code &ec) in recursive_directory_iterator() function
852 recursive_directory_iterator &increment(std::error_code &ec) { in increment()
918 bool operator==(const recursive_directory_iterator &RHS) const {
922 bool operator!=(const recursive_directory_iterator &RHS) const {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h851 class recursive_directory_iterator {
855 recursive_directory_iterator() = default;
856 explicit recursive_directory_iterator(const Twine &path, std::error_code &ec) in recursive_directory_iterator() function
864 recursive_directory_iterator &increment(std::error_code &ec) { in increment()
930 bool operator==(const recursive_directory_iterator &RHS) const {
934 bool operator!=(const recursive_directory_iterator &RHS) const {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFileSystem.h1237 class recursive_directory_iterator {
1242 recursive_directory_iterator() = default;
1243 explicit recursive_directory_iterator(const Twine &path, std::error_code &ec,
1253 recursive_directory_iterator &increment(std::error_code &ec) { in increment()
1317 bool operator==(const recursive_directory_iterator &RHS) const {
1321 bool operator!=(const recursive_directory_iterator &RHS) const {
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DFileSystem.h527 class recursive_directory_iterator {
533 explicit recursive_directory_iterator(const Twine &path, error_code &ec);
/external/clang/test/Modules/
Dcrash-vfs-umbrella-frameworks.m46 // can be used, testing that vfs::recursive_directory_iterator is used correctly
/external/clang/lib/Basic/
DVirtualFileSystem.cpp1785 vfs::recursive_directory_iterator::recursive_directory_iterator(FileSystem &FS_, in recursive_directory_iterator() function in vfs::recursive_directory_iterator
1796 vfs::recursive_directory_iterator &
1797 recursive_directory_iterator::increment(std::error_code &EC) { in increment()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp793 for (fs::recursive_directory_iterator i(Twine(TestDirectory) in TEST_F()
847 fs::recursive_directory_iterator I(Twine(TestDirectory) + "/reclevel", ec), E; in TEST_F()
913 for (fs::recursive_directory_iterator i( in TEST_F()
939 for (fs::recursive_directory_iterator i( in TEST_F()
/external/llvm/unittests/Support/
DPath.cpp668 for (fs::recursive_directory_iterator i(Twine(TestDirectory) in TEST_F()
723 fs::recursive_directory_iterator I(Twine(TestDirectory) + "/reclevel", ec), E; in TEST_F()
/external/clang/lib/Lex/
DPPLexerChange.cpp491 for (vfs::recursive_directory_iterator Entry(FS, Dir->getName(), EC), End; in HandleEndOfFile()

12