Home
last modified time | relevance | path

Searched refs:__cv_ (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/
H A Dwbuffer_convert.h51 _Codecvt* __cv_; variable
109 __cv_(__pcvt), in wbuffer_convert()
114 __always_noconv_(__cv_ ? __cv_->always_noconv() : false) { in wbuffer_convert()
121 delete __cv_; in ~wbuffer_convert() local
131 if (__cv_ == 0 || __bufptr_ == nullptr) in underflow()
165 __r = __cv_->in( in underflow()
188 if (__cv_ != 0 && __bufptr_ && this->eback() < this->gptr()) { in pbackfail()
206 if (__cv_ == 0 || !__bufptr_) in overflow()
228 … __r = __cv_->out(__st_, this->pbase(), this->pptr(), __e, __extbuf_, __extbuf_ + __ebs_, __extbe); in overflow()
297 int __width = __cv_->encoding(); in seekoff()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dstd_stream.h52 const codecvt<char_type, char, state_type>* __cv_; variable
85 __cv_ = &use_facet<codecvt<char_type, char, state_type> >(__loc); in imbue()
86 __encoding_ = __cv_->encoding(); in imbue()
87 __always_noconv_ = __cv_->always_noconv(); in imbue()
168 …__r = __cv_->in(*__st_, __extbuf, __extbuf + __nread, __enxt, &__1buf, &__1buf + 1,… in __getchar()
218 …switch (__cv_->out(*__st_, &__ci, &__ci + 1, __inxt, __extbuf, __extbuf + sizeof(__extbuf), __enxt… in pbackfail()
260 const codecvt<char_type, char, state_type>* __cv_; variable
279 __cv_(&use_facet<codecvt<char_type, char, state_type> >(this->getloc())), in __stdoutbuf()
281 __always_noconv_(__cv_->always_noconv()) { in __stdoutbuf()
323 __r = __cv_->out(*__st_, pbase, pptr, __e, __extbuf, __extbuf + sizeof(__extbuf), __extbe); in overflow()
[all …]
H A Dcondition_variable.cpp29 void condition_variable::notify_one() noexcept { __libcpp_condvar_signal(&__cv_); } in notify_one()
31 void condition_variable::notify_all() noexcept { __libcpp_condvar_broadcast(&__cv_); } in notify_all()
36 int ec = __libcpp_condvar_wait(&__cv_, lk.mutex()->native_handle()); in wait()
60 int ec = __libcpp_condvar_timedwait(&__cv_, lk.mutex()->native_handle(), &ts); in __do_timed_wait()
H A Dmutex.cpp82 __cv_.wait(lk); in lock()
98 __cv_.notify_one(); in unlock()
117 __cv_.wait(lk); in lock()
140 __cv_.notify_one(); in unlock()
H A Dfuture.cpp67 __cv_.notify_all(); in set_value()
84 __cv_.notify_all(); in set_exception()
98 __cv_.notify_all(); in __make_ready()
121 __cv_.wait(__lk); in __sub_wait()
H A Dcondition_variable_destructor.cpp26 __libcpp_condvar_t __cv_ = _LIBCPP_CONDVAR_INITIALIZER; member in condition_variable
37 condition_variable::~condition_variable() { __libcpp_condvar_destroy(&__cv_); } in ~condition_variable()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcondition_variable166 condition_variable __cv_;
181 __cv_.wait(__lk);
193 return __cv_.wait_until(__lk, __t);
226 __cv_.notify_one();
231 __cv_.notify_all();
300 __cv_.wait(__internal_lock2);
329 if (__cv_.wait_until(__internal_lock2, __abs_time) == cv_status::timeout)
H A Dfstream311 const codecvt<char_type, char, state_type>* __cv_;
423 __cv_(nullptr),
432 …__cv_ = std::addressof(std::use_facet<codecvt<char_type, char, state_type> >(this->getl…
433 __always_noconv_ = __cv_->always_noconv();
453 __cv_ = __rhs.__cv_;
554 std::swap(__cv_, __rhs.__cv_);
791 if (!__cv_)
796 __r = __cv_->in(
856 if (!__cv_)
865 …codecvt_base::result __r = __cv_->out(__st_, __b, __p, __end, __extbuf_, __extbuf_ + __ebs_, __ext…
[all …]
H A Dmutex242 condition_variable __cv_;
266 __no_timeout = __cv_.wait_until(__lk, __t) == cv_status::no_timeout;
279 condition_variable __cv_;
310 __no_timeout = __cv_.wait_until(__lk, __t) == cv_status::no_timeout;
H A Dfuture525 mutable condition_variable __cv_;
569 __cv_.wait_until(__lk, __abs_time);
621 __cv_.notify_all();
682 __cv_.notify_all();
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dcondition_variable146 condition_variable __cv_;
179 __cv_.notify_one();
184 __cv_.notify_all();
208 __cv_.wait(__lk);
223 return __cv_.wait_until(__lk, __t);
H A Dfstream276 const codecvt<char_type, char, state_type>* __cv_;
377 __cv_(nullptr),
386 __cv_ = &std::use_facet<codecvt<char_type, char, state_type> >(this->getloc());
387 __always_noconv_ = __cv_->always_noconv();
407 __cv_ = __rhs.__cv_;
508 std::swap(__cv_, __rhs.__cv_);
721 if (!__cv_)
726 __r = __cv_->in(
783 if (!__cv_)
787 … __r = __cv_->out(__st_, this->pbase(), this->pptr(), __e, __extbuf_, __extbuf_ + __ebs_, __extbe);
[all …]
H A Dmutex238 condition_variable __cv_;
267 __no_timeout = __cv_.wait_until(__lk, __t) == cv_status::no_timeout;
277 condition_variable __cv_;
313 __no_timeout = __cv_.wait_until(__lk, __t) == cv_status::no_timeout;
H A Dlocale3350 _Codecvt* __cv_;
3402 __cv_(__pcvt),
3407 __always_noconv_(__cv_ ? __cv_->always_noconv() : false) {
3414 delete __cv_;
3424 if (__cv_ == 0 || __bufptr_ == nullptr)
3458 __r = __cv_->in(
3481 if (__cv_ != 0 && __bufptr_ && this->eback() < this->gptr()) {
3499 if (__cv_ == 0 || !__bufptr_)
3521 … __r = __cv_->out(__st_, this->pbase(), this->pptr(), __e, __extbuf_, __extbuf_ + __ebs_, __extbe);
3590 int __width = __cv_->encoding();
[all …]
H A Dfuture466 mutable condition_variable __cv_;
517 __cv_.wait_until(__lk, __abs_time);
566 __cv_.notify_all();
627 __cv_.notify_all();
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h90 __libcpp_condvar_t __cv_ = _LIBCPP_CONDVAR_INITIALIZER; variable
173 _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle() { return &__cv_; } in native_handle()
214 int __ec = pthread_cond_clockwait(&__cv_, __lk.mutex()->native_handle(), CLOCK_MONOTONIC, &__ts); in __do_timed_wait()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__condition_variable/
H A Dcondition_variable.h43 __libcpp_condvar_t __cv_ = _LIBCPP_CONDVAR_INITIALIZER; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() local
81 _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle() { return &__cv_; } in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
226 int __ec = pthread_cond_clockwait(&__cv_, __lk.mutex()->native_handle(), CLOCK_MONOTONIC, &__ts); in __do_timed_wait()