/external/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ |
D | ctor.pass.cpp | 35 using D = directory_iterator; in TEST_CASE() 65 const directory_iterator endIt; in TEST_CASE() 71 directory_iterator it(testPath, ec); in TEST_CASE() 76 directory_iterator it(testPath, opts, ec); in TEST_CASE() 81 TEST_CHECK_THROW(filesystem_error, directory_iterator(testPath)); in TEST_CASE() 82 TEST_CHECK_THROW(filesystem_error, directory_iterator(testPath, opts)); in TEST_CASE() 98 directory_iterator it(testDir); in TEST_CASE() 99 TEST_REQUIRE(it != directory_iterator{}); in TEST_CASE() 108 directory_iterator it(testDir, ec); in TEST_CASE() 110 TEST_CHECK(it == directory_iterator{}); in TEST_CASE() [all …]
|
D | move_assign.pass.cpp | 38 using D = directory_iterator; in TEST_CASE() 47 directory_iterator from(testDir); in TEST_CASE() 48 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE() 51 directory_iterator to{}; in TEST_CASE() 53 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE() 63 directory_iterator from{}; in TEST_CASE() 65 directory_iterator to(testDir); in TEST_CASE() 69 TEST_REQUIRE(to == directory_iterator{}); in TEST_CASE() 70 TEST_REQUIRE(from == directory_iterator{}); in TEST_CASE() 77 const directory_iterator endIt{}; in TEST_CASE() [all …]
|
D | copy_assign.pass.cpp | 32 using D = directory_iterator; in TEST_CASE() 41 const directory_iterator from(testDir); in TEST_CASE() 42 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE() 45 directory_iterator to{}; in TEST_CASE() 58 const directory_iterator from{}; in TEST_CASE() 60 directory_iterator to(testDir); in TEST_CASE() 61 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE() 65 TEST_CHECK(to == directory_iterator{}); in TEST_CASE() 72 const directory_iterator endIt{}; in TEST_CASE() 74 directory_iterator it_obj(testDir); in TEST_CASE() [all …]
|
D | increment.pass.cpp | 33 directory_iterator d; ((void)d); in TEST_CASE() 36 ASSERT_SAME_TYPE(decltype(++d), directory_iterator&); in TEST_CASE() 39 ASSERT_SAME_TYPE(decltype(d.increment(ec)), directory_iterator&); in TEST_CASE() 49 const directory_iterator endIt{}; in TEST_CASE() 52 directory_iterator it(testDir, ec); in TEST_CASE() 60 directory_iterator& it_ref = ++it; in TEST_CASE() 73 const directory_iterator endIt{}; in TEST_CASE() 76 directory_iterator it(testDir, ec); in TEST_CASE() 98 const directory_iterator endIt{}; in TEST_CASE() 101 directory_iterator it(testDir, ec); in TEST_CASE() [all …]
|
D | move.pass.cpp | 32 using D = directory_iterator; in TEST_CASE() 38 const directory_iterator endIt; in TEST_CASE() 39 directory_iterator endIt2{}; in TEST_CASE() 41 directory_iterator it(std::move(endIt2)); in TEST_CASE() 50 const directory_iterator endIt{}; in TEST_CASE() 52 directory_iterator it(testDir); in TEST_CASE() 56 const directory_iterator it2(std::move(it)); in TEST_CASE()
|
D | copy.pass.cpp | 32 using D = directory_iterator; in TEST_CASE() 38 const directory_iterator endIt; in TEST_CASE() 39 directory_iterator it(endIt); in TEST_CASE() 47 const directory_iterator endIt{}; in TEST_CASE() 49 const directory_iterator it(testDir); in TEST_CASE() 53 const directory_iterator it2(it); in TEST_CASE()
|
D | default_ctor.pass.cpp | 27 static_assert(std::is_nothrow_default_constructible<fs::directory_iterator>::value, ""); in main() 30 fs::directory_iterator d1; in main() 31 const fs::directory_iterator d2; in main()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ |
D | ctor.pass.cpp | 36 using D = directory_iterator; in TEST_CASE() 65 const directory_iterator endIt; in TEST_CASE() 71 directory_iterator it(testPath, ec); in TEST_CASE() 76 directory_iterator it(testPath, opts, ec); in TEST_CASE() 81 TEST_CHECK_THROW(filesystem_error, directory_iterator(testPath)); in TEST_CASE() 82 TEST_CHECK_THROW(filesystem_error, directory_iterator(testPath, opts)); in TEST_CASE() 98 directory_iterator it(testDir); in TEST_CASE() 99 TEST_REQUIRE(it != directory_iterator{}); in TEST_CASE() 108 directory_iterator it(testDir, ec); in TEST_CASE() 110 TEST_CHECK(it == directory_iterator{}); in TEST_CASE() [all …]
|
D | move_assign.pass.cpp | 39 using D = directory_iterator; in TEST_CASE() 47 directory_iterator from(testDir); in TEST_CASE() 48 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE() 51 directory_iterator to{}; in TEST_CASE() 53 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE() 62 directory_iterator from{}; in TEST_CASE() 64 directory_iterator to(testDir); in TEST_CASE() 68 TEST_REQUIRE(to == directory_iterator{}); in TEST_CASE() 69 TEST_REQUIRE(from == directory_iterator{}); in TEST_CASE() 75 const directory_iterator endIt{}; in TEST_CASE() [all …]
|
D | copy_assign.pass.cpp | 33 using D = directory_iterator; in TEST_CASE() 41 const directory_iterator from(testDir); in TEST_CASE() 42 TEST_REQUIRE(from != directory_iterator{}); in TEST_CASE() 45 directory_iterator to{}; in TEST_CASE() 57 const directory_iterator from{}; in TEST_CASE() 59 directory_iterator to(testDir); in TEST_CASE() 60 TEST_REQUIRE(to != directory_iterator{}); in TEST_CASE() 64 TEST_CHECK(to == directory_iterator{}); in TEST_CASE() 70 const directory_iterator endIt{}; in TEST_CASE() 72 directory_iterator it_obj(testDir); in TEST_CASE() [all …]
|
D | increment.pass.cpp | 35 directory_iterator d; ((void)d); in TEST_CASE() 38 ASSERT_SAME_TYPE(decltype(++d), directory_iterator&); in TEST_CASE() 41 ASSERT_SAME_TYPE(decltype(d.increment(ec)), directory_iterator&); in TEST_CASE() 50 const directory_iterator endIt{}; in TEST_CASE() 53 directory_iterator it(testDir, ec); in TEST_CASE() 61 directory_iterator& it_ref = ++it; in TEST_CASE() 73 const directory_iterator endIt{}; in TEST_CASE() 76 directory_iterator it(testDir, ec); in TEST_CASE() 97 const directory_iterator endIt{}; in TEST_CASE() 100 directory_iterator it(testDir, ec); in TEST_CASE() [all …]
|
D | move.pass.cpp | 33 using D = directory_iterator; in TEST_CASE() 39 const directory_iterator endIt; in TEST_CASE() 40 directory_iterator endIt2{}; in TEST_CASE() 42 directory_iterator it(std::move(endIt2)); in TEST_CASE() 50 const directory_iterator endIt{}; in TEST_CASE() 52 directory_iterator it(testDir); in TEST_CASE() 56 const directory_iterator it2(std::move(it)); in TEST_CASE()
|
D | copy.pass.cpp | 33 using D = directory_iterator; in TEST_CASE() 39 const directory_iterator endIt; in TEST_CASE() 40 directory_iterator it(endIt); in TEST_CASE() 47 const directory_iterator endIt{}; in TEST_CASE() 49 const directory_iterator it(testDir); in TEST_CASE() 53 const directory_iterator it2(it); in TEST_CASE()
|
D | default_ctor.pass.cpp | 28 static_assert(std::is_nothrow_default_constructible<fs::directory_iterator>::value, ""); in main() 31 fs::directory_iterator d1; in main() 32 const fs::directory_iterator d2; in main()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/ |
D | begin_end.pass.cpp | 35 directory_iterator d; ((void)d); in TEST_CASE() 37 ASSERT_SAME_TYPE(decltype(begin(d)), directory_iterator); in TEST_CASE() 40 ASSERT_SAME_TYPE(decltype(end(d)), directory_iterator); in TEST_CASE() 51 directory_iterator it(testDir, ec); in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/ |
D | begin_end.pass.cpp | 33 directory_iterator d; ((void)d); in TEST_CASE() 35 ASSERT_SAME_TYPE(decltype(begin(d)), directory_iterator); in TEST_CASE() 38 ASSERT_SAME_TYPE(decltype(end(d)), directory_iterator); in TEST_CASE() 50 directory_iterator it(testDir, ec); in TEST_CASE()
|
/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 123 class directory_iterator { 127 directory_iterator(std::shared_ptr<detail::DirIterImpl> I) in directory_iterator() function 135 directory_iterator() { } in directory_iterator() function 138 directory_iterator &increment(std::error_code &EC) { in increment() 149 bool operator==(const directory_iterator &RHS) const { 154 bool operator!=(const directory_iterator &RHS) const { 164 typedef std::stack<directory_iterator, std::vector<directory_iterator>> 214 virtual directory_iterator dir_begin(const Twine &Dir, 268 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 312 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
|
/external/llvm/include/llvm/Support/ |
D | FileSystem.h | 779 class directory_iterator { 783 explicit directory_iterator(const Twine &path, std::error_code &ec) { in directory_iterator() function 790 explicit directory_iterator(const directory_entry &de, std::error_code &ec) { in directory_iterator() function 796 directory_iterator() : State(nullptr) {} in directory_iterator() function 799 directory_iterator &increment(std::error_code &ec) { in increment() 807 bool operator==(const directory_iterator &RHS) const { 817 bool operator!=(const directory_iterator &RHS) const { 832 std::stack<directory_iterator, std::vector<directory_iterator> > Stack; 847 State->Stack.push(directory_iterator(path, ec)); in recursive_directory_iterator() 848 if (State->Stack.top() == directory_iterator()) in recursive_directory_iterator() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | FileSystem.h | 790 class directory_iterator { 794 explicit directory_iterator(const Twine &path, std::error_code &ec) { in directory_iterator() function 801 explicit directory_iterator(const directory_entry &de, std::error_code &ec) { in directory_iterator() function 807 directory_iterator() : State(nullptr) {} in directory_iterator() function 810 directory_iterator &increment(std::error_code &ec) { in increment() 818 bool operator==(const directory_iterator &RHS) const { 828 bool operator!=(const directory_iterator &RHS) const { 843 std::stack<directory_iterator, std::vector<directory_iterator>> Stack; 858 State->Stack.push(directory_iterator(path, ec)); in recursive_directory_iterator() 859 if (State->Stack.top() == directory_iterator()) in recursive_directory_iterator() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 158 class directory_iterator { 162 directory_iterator(std::shared_ptr<detail::DirIterImpl> I) in directory_iterator() function 170 directory_iterator() = default; 173 directory_iterator &increment(std::error_code &EC) { in increment() 184 bool operator==(const directory_iterator &RHS) const { 189 bool operator!=(const directory_iterator &RHS) const { 200 std::stack<directory_iterator, std::vector<directory_iterator>> Stack; 263 virtual directory_iterator dir_begin(const Twine &Dir, 337 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 381 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override { in dir_begin() [all …]
|
D | FileSystem.h | 1280 class directory_iterator { 1285 explicit directory_iterator(const Twine &path, std::error_code &ec, 1294 explicit directory_iterator(const directory_entry &de, std::error_code &ec, 1303 directory_iterator() = default; 1306 directory_iterator &increment(std::error_code &ec) { in increment() 1314 bool operator==(const directory_iterator &RHS) const { 1324 bool operator!=(const directory_iterator &RHS) const { 1333 std::stack<directory_iterator, std::vector<directory_iterator>> Stack; 1352 State->Stack.push(directory_iterator(path, ec, Follow)); in State() 1353 if (State->Stack.top() == directory_iterator()) in State() [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 159 class directory_iterator { 163 directory_iterator(std::shared_ptr<detail::DirIterImpl> I) in directory_iterator() function 171 directory_iterator() = default; 174 directory_iterator &increment(std::error_code &EC) { in increment() 185 bool operator==(const directory_iterator &RHS) const { 190 bool operator!=(const directory_iterator &RHS) const { 201 std::stack<directory_iterator, std::vector<directory_iterator>> Stack; 264 virtual directory_iterator dir_begin(const Twine &Dir, 338 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override; 382 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override { in dir_begin() [all …]
|
D | FileSystem.h | 1326 class directory_iterator { 1331 explicit directory_iterator(const Twine &path, std::error_code &ec, 1340 explicit directory_iterator(const directory_entry &de, std::error_code &ec, 1349 directory_iterator() = default; 1352 directory_iterator &increment(std::error_code &ec) { in increment() 1360 bool operator==(const directory_iterator &RHS) const { 1370 bool operator!=(const directory_iterator &RHS) const { 1379 std::stack<directory_iterator, std::vector<directory_iterator>> Stack; 1398 State->Stack.push(directory_iterator(path, ec, Follow)); in State() 1399 if (State->Stack.top() == directory_iterator()) in State() [all …]
|
/external/llvm-project/libcxx/src/filesystem/ |
D | directory_iterator.cpp | 236 directory_iterator::directory_iterator(const path& p, error_code* ec, in directory_iterator() function in directory_iterator 251 directory_iterator& directory_iterator::__increment(error_code* ec) { in __increment() 265 directory_entry const& directory_iterator::__dereference() const { in __dereference() 333 const directory_iterator end_it; in __advance()
|
/external/libcxx/src/filesystem/ |
D | directory_iterator.cpp | 234 directory_iterator::directory_iterator(const path& p, error_code* ec, in directory_iterator() function in directory_iterator 249 directory_iterator& directory_iterator::__increment(error_code* ec) { in __increment() 263 directory_entry const& directory_iterator::__dereference() const { in __dereference() 331 const directory_iterator end_it; in __advance()
|