/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | std_stream.h | 52 const codecvt<char_type, char, state_type>* __cv_; 85 __cv_ = &use_facet<codecvt<char_type, char, state_type> >(__loc); in __stdinbuf() 86 __encoding_ = __cv_->encoding(); in __stdinbuf() 87 __always_noconv_ = __cv_->always_noconv(); in __stdinbuf() 168 __r = __cv_->in(*__st_, __extbuf, __extbuf + __nread, __enxt, &__1buf, &__1buf + 1, __inxt); in __getchar() 218 switch (__cv_->out(*__st_, &__ci, &__ci + 1, __inxt, __extbuf, __extbuf + sizeof(__extbuf), __enxt)) { in __getchar() 260 const codecvt<char_type, char, state_type>* __cv_; in pbackfail() 279 __cv_(&use_facet<codecvt<char_type, char, state_type> >(this->getloc())), 281 __always_noconv_(__cv_->always_noconv()) { 323 __r = __cv_ in __stdoutbuf() 56 const codecvt<char_type, char, state_type>* __cv_; global() variable 297 const codecvt<char_type, char, state_type>* __cv_; global() variable [all...] |
H A D | condition_variable.cpp | 23 void condition_variable::notify_one() noexcept { __libcpp_condvar_signal(&__cv_); } 25 void condition_variable::notify_all() noexcept { __libcpp_condvar_broadcast(&__cv_); } 30 int ec = __libcpp_condvar_wait(&__cv_, lk.mutex()->native_handle()); in notify_one() 54 int ec = __libcpp_condvar_timedwait(&__cv_, lk.mutex()->native_handle(), &ts); in __do_timed_wait()
|
H A D | mutex.cpp | 81 __cv_.wait(lk); in unlock() 97 __cv_.notify_one(); 116 __cv_.wait(lk); in try_lock() 139 __cv_.notify_one();
|
H A D | future.cpp | 67 __cv_.notify_all(); in future_error() 84 __cv_.notify_all(); in set_value() 98 __cv_.notify_all(); in set_value_at_thread_exit() 121 __cv_.wait(__lk); in set_exception_at_thread_exit()
|
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 | 148 condition_variable __cv_; 196 __cv_.notify_one(); 201 __cv_.notify_all(); 225 __cv_.wait(__lk); 240 return __cv_.wait_until(__lk, __t); 303 __cv_.wait(__internal_lock2); 332 if (__cv_.wait_until(__internal_lock2, __abs_time) == cv_status::timeout)
|
H A D | fstream | 308 const codecvt<char_type, char, state_type>* __cv_; 409 __cv_(nullptr), 418 __cv_ = &std::use_facet<codecvt<char_type, char, state_type> >(this->getloc()); 419 __always_noconv_ = __cv_->always_noconv(); 439 __cv_ = __rhs.__cv_; 540 std::swap(__cv_, __rhs.__cv_); 777 if (!__cv_) 782 __r = __cv_->in( 839 if (!__cv_) 843 … __r = __cv_->out(__st_, this->pbase(), this->pptr(), __e, __extbuf_, __extbuf_ + __ebs_, __extbe); [all …]
|
H A D | mutex | 241 condition_variable __cv_; 270 __no_timeout = __cv_.wait_until(__lk, __t) == cv_status::no_timeout; 280 condition_variable __cv_; 316 __no_timeout = __cv_.wait_until(__lk, __t) == cv_status::no_timeout;
|
H A D | locale | 3375 _Codecvt* __cv_; 3433 __cv_(__pcvt), 3438 __always_noconv_(__cv_ ? __cv_->always_noconv() : false) { 3445 delete __cv_; 3455 if (__cv_ == 0 || __bufptr_ == nullptr) 3489 __r = __cv_->in( 3512 if (__cv_ != 0 && __bufptr_ && this->eback() < this->gptr()) { 3530 if (__cv_ == 0 || !__bufptr_) 3552 … __r = __cv_->out(__st_, this->pbase(), this->pptr(), __e, __extbuf_, __extbuf_ + __ebs_, __extbe); 3621 int __width = __cv_->encoding(); [all …]
|
H A D | future | 509 mutable condition_variable __cv_; 560 __cv_.wait_until(__lk, __abs_time); 609 __cv_.notify_all(); 670 __cv_.notify_all();
|
/freebsd/contrib/llvm-project/libcxx/include/__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()
|