| /freebsd/contrib/llvm-project/libcxx/include/__locale_dir/ |
| H A D | wbuffer_convert.h | 51 _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 D | std_stream.h | 52 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 D | condition_variable.cpp | 29 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 D | mutex.cpp | 82 __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 D | future.cpp | 67 __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 D | condition_variable_destructor.cpp | 26 __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 D | condition_variable | 166 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 D | fstream | 311 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 D | mutex | 242 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 D | future | 525 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 D | condition_variable | 146 condition_variable __cv_; 179 __cv_.notify_one(); 184 __cv_.notify_all(); 208 __cv_.wait(__lk); 223 return __cv_.wait_until(__lk, __t);
|
| H A D | fstream | 276 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 D | mutex | 238 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 D | locale | 3350 _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 D | future | 466 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 D | condition_variable.h | 90 __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 D | condition_variable.h | 43 __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()
|