Home
last modified time | relevance | path

Searched refs:directory_iterator (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Ddirectory_iterator.h41 class directory_iterator {
51 _LIBCPP_HIDE_FROM_ABI directory_iterator() noexcept {} in directory_iterator() function
53 …_LIBCPP_HIDE_FROM_ABI explicit directory_iterator(const path& __p) : directory_iterator(__p, nullp… in directory_iterator() function
55 _LIBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, directory_options __opts) in directory_iterator() function
56 : directory_iterator(__p, nullptr, __opts) {} in directory_iterator()
58 …_LIBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, error_code& __ec) : directory_iterator(_… in directory_iterator() function
60 …_LIBCPP_HIDE_FROM_ABI directory_iterator(const path& __p, directory_options __opts, error_code& __… in directory_iterator() function
61 : directory_iterator(__p, &__ec, __opts) {} in directory_iterator()
63 _LIBCPP_HIDE_FROM_ABI directory_iterator(const directory_iterator&) = default;
64 _LIBCPP_HIDE_FROM_ABI directory_iterator(directory_iterator&&) = default;
[all …]
H A Ddirectory_entry.h194 friend class directory_iterator;
420 friend class directory_iterator;
/freebsd/contrib/kyua/utils/fs/
H A Ddirectory.cpp120 struct utils::fs::detail::directory_iterator::impl : utils::noncopyable {
219 detail::directory_iterator::directory_iterator(std::shared_ptr< impl > pimpl) : in directory_iterator() function in detail::directory_iterator
226 detail::directory_iterator::~directory_iterator(void) in ~directory_iterator()
237 detail::directory_iterator
238 detail::directory_iterator::new_begin(const path& path) in new_begin()
240 return directory_iterator(std::shared_ptr< impl >(new impl(path))); in new_begin()
247 detail::directory_iterator
248 detail::directory_iterator::new_end(void) in new_end()
250 return directory_iterator(std::shared_ptr< impl >(new impl())); in new_end()
264 detail::directory_iterator::operator==(const directory_iterator& other) const in operator ==()
[all …]
H A Ddirectory.hpp67 class directory_iterator { class
73 directory_iterator(std::shared_ptr< impl >);
76 static directory_iterator new_begin(const path&);
77 static directory_iterator new_end(void);
80 ~directory_iterator();
82 bool operator==(const directory_iterator&) const;
83 bool operator!=(const directory_iterator&) const;
84 directory_iterator& operator++(void);
101 typedef detail::directory_iterator const_iterator;
H A Ddirectory_fwd.hpp42 class directory_iterator;
/freebsd/contrib/llvm-project/libcxx/include/
H A Dfilesystem236 friend class directory_iterator; // exposition only
239 class directory_iterator {
248 directory_iterator() noexcept;
249 explicit directory_iterator(const path& p);
250 directory_iterator(const path& p, directory_options options);
251 directory_iterator(const path& p, error_code& ec);
252 directory_iterator(const path& p, directory_options options,
254 directory_iterator(const directory_iterator& rhs);
255 directory_iterator(directory_iterator&& rhs) noexcept;
256 ~directory_iterator();
[all …]
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Ddirectory_iterator.cpp168 // directory_iterator
170 directory_iterator::directory_iterator(const path& p, error_code* ec, directory_options opts) {
171 ErrorHandler<void> err("directory_iterator::directory_iterator(...)", ec, &p);
184 directory_iterator& directory_iterator::__increment(error_code* ec) { in directory_iterator()
186 ErrorHandler<void> err("directory_iterator::operator++()", ec); in directory_iterator()
198 directory_entry const& directory_iterator::__dereference() const { in __increment()
258 const directory_iterator end_i in __dereference()
179 directory_iterator::directory_iterator(const path& p, error_code* ec, directory_iterator() function in directory_iterator
[all...]
H A Doperations.cpp161 directory_iterator it = ec ? directory_iterator(from, *ec) : directory_iterator(from); in __copy()
166 for (; !m_ec2 && it != directory_iterator(); it.increment(m_ec2)) { in __copy()
553 auto it = ec ? directory_iterator(p, *ec) : directory_iterator(p); in __fs_is_empty()
556 return it == directory_iterator{}; in __fs_is_empty()
721 for (directory_iterator it(p, ec); !ec && it != directory_iterator(); it.increment(ec)) { in remove_all_impl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileSystem.h1420 class directory_iterator {
1425 explicit directory_iterator(const Twine &path, std::error_code &ec,
1434 explicit directory_iterator(const directory_entry &de, std::error_code &ec,
1443 directory_iterator() = default;
1446 directory_iterator &increment(std::error_code &ec) { in increment()
1454 bool operator==(const directory_iterator &RHS) const {
1464 bool operator!=(const directory_iterator &RHS) const {
1473 std::vector<directory_iterator> Stack;
1492 State->Stack.push_back(directory_iterator(path, ec, Follow)); in State()
1493 if (State->Stack.back() == directory_iterator()) in State()
[all …]
H A DVirtualFileSystem.h179 class directory_iterator {
183 directory_iterator(std::shared_ptr<detail::DirIterImpl> I) in directory_iterator() function
191 directory_iterator() = default;
194 directory_iterator &increment(std::error_code &EC) { in increment()
205 bool operator==(const directory_iterator &RHS) const {
210 bool operator!=(const directory_iterator &RHS) const {
221 std::vector<directory_iterator> Stack;
286 virtual directory_iterator dir_begin(const Twine &Dir,
396 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
452 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override { in dir_begin()
[all …]
H A DFileCollector.h39 virtual llvm::vfs::directory_iterator
126 llvm::vfs::directory_iterator
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp282 directory_iterator dir_begin(const Twine &Dir, std::error_code &EC) override;
399 llvm::sys::fs::directory_iterator Iter;
403 if (Iter != llvm::sys::fs::directory_iterator()) in RealFSDirIter()
410 CurrentEntry = (Iter == llvm::sys::fs::directory_iterator()) in increment()
419 directory_iterator RealFileSystem::dir_begin(const Twine &Dir, in dir_begin()
422 return directory_iterator( in dir_begin()
529 SmallVector<directory_iterator, 8> IterList;
531 directory_iterator CurrentDirIter;
541 if (CurrentDirIter != directory_iterator()) in incrementIter()
545 if (IsFirstTime && CurrentDirIter == directory_iterator()) in incrementIter()
[all …]
H A DFileCollector.cpp136 llvm::vfs::directory_iterator
144 for (; !EC && It != llvm::vfs::directory_iterator(); It.increment(EC)) { in addDirectoryImpl()
278 llvm::vfs::directory_iterator dir_begin(const llvm::Twine &Dir, in dir_begin()
H A DCachePruning.cpp214 for (sys::fs::directory_iterator File(CachePathNative, EC), FileEnd; in pruneCache()
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/
H A DDirectoryScanner.cpp31 for (auto It = fs::directory_iterator(Path, EC), in scanDirectory()
32 End = fs::directory_iterator(); in scanDirectory()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDirectoryScanner.cpp96 for (vfs::directory_iterator i = FS.dir_begin(Path, ec), ie; i != ie; in scanHeaders()
143 for (vfs::directory_iterator i = FS.dir_begin(Directory, ec), ie; i != ie; in scanMultipleFrameworks()
187 for (vfs::directory_iterator i = FS.dir_begin(Path, ec), ie; i != ie; in scanFrameworkVersionsDirectory()
228 for (vfs::directory_iterator i = FS.dir_begin(Path, ec), ie; i != ie; in scanFrameworkDirectory()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h74 llvm::vfs::directory_iterator DirBegin(const FileSpec &file_spec,
76 llvm::vfs::directory_iterator DirBegin(const llvm::Twine &dir,
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A Dllvm-debuginfo-analyzer.cpp64 for (sys::fs::directory_iterator Dir(BundlePath, EC), DirEnd; in expandBundle()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp57 vfs::directory_iterator FileSystem::DirBegin(const FileSpec &file_spec, in DirBegin()
67 vfs::directory_iterator FileSystem::DirBegin(const Twine &dir, in DirBegin()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdTsSymbolMap.inc16 SYMBOL(directory_iterator, std::experimental::filesystem::, <experimental/filesystem>)
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dfilesystem.cppm
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp176 for (llvm::sys::fs::directory_iterator iter(proc_fd_path, ec), file_end; in ChildFunc()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp49 for (llvm::vfs::directory_iterator File = D.getVFS().dir_begin(Cand.Path, EC), in findSPACKPackage()
84 for (llvm::vfs::directory_iterator LI = D.getVFS().dir_begin(Path, EC), LE; in scanLibDevicePath()
291 for (llvm::vfs::directory_iterator in getInstallationPathCandidates()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp248 for (llvm::vfs::directory_iterator Dir = FS.dir_begin(DirNative, EC), DirEnd; in collectIncludePCH()
1664 for (llvm::sys::fs::directory_iterator Dir(ModuleCachePathNative, EC), DirEnd; in pruneModuleCache()
1671 for (llvm::sys::fs::directory_iterator File(Dir->path(), EC), FileEnd; in pruneModuleCache()
1701 if (llvm::sys::fs::directory_iterator(Dir->path(), EC) == in pruneModuleCache()
1702 llvm::sys::fs::directory_iterator() && !EC) in pruneModuleCache()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandCompletions.cpp430 llvm::vfs::directory_iterator Iter = fs.DirBegin(SearchDir, EC); in DiskFilesOrDirectories()
431 llvm::vfs::directory_iterator End; in DiskFilesOrDirectories()

12