Lines Matching refs:__stream_
27 __dir_stream(__dir_stream&& __ds) noexcept : __stream_(__ds.__stream_), in __dir_stream()
30 __ds.__stream_ = INVALID_HANDLE_VALUE; in __dir_stream()
34 : __stream_(INVALID_HANDLE_VALUE), __root_(root) { in __dir_stream()
39 __stream_ = ::FindFirstFileW((root / "*").c_str(), &__data_); in __dir_stream()
40 if (__stream_ == INVALID_HANDLE_VALUE) { in __dir_stream()
54 if (__stream_ == INVALID_HANDLE_VALUE) in ~__dir_stream()
59 bool good() const noexcept { return __stream_ != INVALID_HANDLE_VALUE; } in good()
62 while (::FindNextFileW(__stream_, &__data_)) { in advance()
87 if (!::FindClose(__stream_)) in close()
89 __stream_ = INVALID_HANDLE_VALUE; in close()
93 HANDLE __stream_{INVALID_HANDLE_VALUE}; member in __dir_stream
106 __dir_stream(__dir_stream&& other) noexcept : __stream_(other.__stream_), in __dir_stream()
109 other.__stream_ = nullptr; in __dir_stream()
113 : __stream_(nullptr), __root_(root) { in __dir_stream()
114 if ((__stream_ = ::opendir(root.c_str())) == nullptr) { in __dir_stream()
126 if (__stream_) in ~__dir_stream()
130 bool good() const noexcept { return __stream_ != nullptr; } in good()
134 auto str_type_pair = detail::posix_readdir(__stream_, ec); in advance()
153 if (::closedir(__stream_) == -1) in close()
155 __stream_ = nullptr; in close()
159 DIR* __stream_{nullptr}; member in __dir_stream