Home
last modified time | relevance | path

Searched refs:__has_value (Results 1 – 10 of 10) sorted by relevance

/src/contrib/llvm-project/libcxx/src/
H A Dfuture.cpp64 if (__has_value()) in set_value()
72 if (__has_value()) in set_value_at_thread_exit()
80 if (__has_value()) in set_exception()
89 if (__has_value()) in set_exception_at_thread_exit()
146 if (!__state_->__has_value() && __state_->use_count() > 1) in ~promise()
/src/contrib/llvm-project/libcxx/include/__ranges/
H A Dmovable_box.h80 if (__other.__has_value()) in noexcept()
95 if (__other.__has_value()) in noexcept()
109 _LIBCPP_HIDE_FROM_ABI constexpr bool __has_value() const noexcept { return __val_.has_value(); } in __has_value() function
237 _LIBCPP_HIDE_FROM_ABI constexpr bool __has_value() const noexcept { return true; }
H A Dchunk_by_view.h70 …__pred_.__has_value(), "Trying to call __find_next() on a chunk_by_view that does not have a valid… in __find_next()
85 …__pred_.__has_value(), "Trying to call __find_prev() on a chunk_by_view that does not have a valid… in __find_prev()
116 …__pred_.__has_value(), "Trying to call begin() on a chunk_by_view that does not have a valid predi… in begin()
119 if (!__cached_begin_.__has_value()) { in begin()
H A Ddrop_while_view.h73 __pred_.__has_value(), in begin()
77 if (!__cached_begin_.__has_value()) { in begin()
H A Dfilter_view.h91 …__pred_.__has_value(), "Trying to call begin() on a filter_view that does not have a valid predica… in begin()
93 if (!__cached_begin_.__has_value()) { in begin()
H A Dnon_propagating_cache.h83 _LIBCPP_HIDE_FROM_ABI constexpr bool __has_value() const { return __value_.has_value(); } in __has_value() function
H A Dreverse_view.h71 if (__cached_begin_.__has_value()) in begin()
H A Dsplit_view.h100 if (!__cached_begin_.__has_value()) { in begin()
H A Ddrop_view.h98 if (__cached_begin_.__has_value()) in begin()
/src/contrib/llvm-project/libcxx/include/
H A Dfuture520 …_LIBCPP_HIDE_FROM_ABI bool __has_value() const { return (__state_ & __constructed) || (__exception…
605 if (this->__has_value())
616 if (this->__has_value())
666 if (this->__has_value())
676 if (this->__has_value())
1161 if (!__state_->__has_value() && __state_->use_count() > 1)
1276 if (!__state_->__has_value() && __state_->use_count() > 1)
1647 if (__p_.__state_->__has_value())
1664 if (__p_.__state_->__has_value())
1747 if (__p_.__state_->__has_value())
[all …]