| /freebsd-14.2/contrib/llvm-project/libcxx/include/__condition_variable/ |
| H A D | condition_variable.h | 71 template <class _Rep, class _Period> in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 73 wait_for(unique_lock<mutex>& __lk, const chrono::duration<_Rep, _Period>& __d); in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 75 template <class _Rep, class _Period, class _Predicate> in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 77 wait_for(unique_lock<mutex>& __lk, const chrono::duration<_Rep, _Period>& __d, _Predicate __pred); in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 95 template <class _Rep, class _Period, __enable_if_t<is_floating_point<_Rep>::value, int> = 0> 100 _Rep __result_float = __d.count() * __ratio::num / __ratio::den; in __safe_nanosecond_cast() 102 _Rep __result_max = numeric_limits<__ns_rep>::max(); in __safe_nanosecond_cast() 107 _Rep __result_min = numeric_limits<__ns_rep>::min(); in __safe_nanosecond_cast() 115 template <class _Rep, class _Period, __enable_if_t<!is_floating_point<_Rep>::value, int> = 0> 174 template <class _Rep, class _Period> [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | duration.h | 40 template <class _Rep, class _Period> 43 template <class _Rep, class _Period> 46 template <class _Rep, class _Period> 49 template <class _Rep, class _Period> 110 template <class _Rep> 114 template <class _Rep> 118 template <class _Rep> 121 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR _Rep zero() _NOEXCEPT { return _Rep(0); } 122 …_LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR _Rep max() _NOEXCEPT { return numeric_limits<_Rep>:… 159 template <class _Rep, class _Period> [all …]
|
| H A D | time_point.h | 112 template <class _Rep, class _Period, enable_if_t<numeric_limits<_Rep>::is_signed, int> = 0> 113 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR duration<_Rep, _Period> abs(duration<_Rep, _Period> …
|
| H A D | formatter.h | 80 template <class _CharT, class _Rep, class _Period> 82 __format_sub_seconds(const chrono::duration<_Rep, _Period>& __value, basic_stringstream<_CharT>& __… in __format_sub_seconds() argument 85 using __duration = chrono::duration<_Rep, _Period>; in __format_sub_seconds() 88 if constexpr (chrono::treat_as_floating_point_v<_Rep>) in __format_sub_seconds() 620 template <class _Rep, class _Period, __fmt_char_type _CharT> 621 struct formatter<chrono::duration<_Rep, _Period>, _CharT> : public __formatter_chrono<_CharT> { 635 if constexpr (std::floating_point<_Rep>)
|
| H A D | ostream.h | 123 template <class _CharT, class _Traits, class _Rep, class _Period> 125 operator<<(basic_ostream<_CharT, _Traits>& __os, const duration<_Rep, _Period>& __d) {
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__mutex/ |
| H A D | unique_lock.h | 57 template <class _Rep, class _Period> 58 _LIBCPP_HIDE_FROM_ABI unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d) in unique_lock() argument 88 template <class _Rep, class _Period> 89 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d); 135 template <class _Rep, class _Period> 136 bool unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d) { in try_lock_for() argument
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/ |
| H A D | this_thread.h | 34 template <class _Rep, class _Period> 35 _LIBCPP_HIDE_FROM_ABI void sleep_for(const chrono::duration<_Rep, _Period>& __d) { in sleep_for() argument 36 if (__d > chrono::duration<_Rep, _Period>::zero()) { in sleep_for()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | condition_variable | 172 template <class _Lock, class _Rep, class _Period> 173 …cv_status _LIBCPP_HIDE_FROM_ABI wait_for(_Lock& __lock, const chrono::duration<_Rep, _Period>& __d… 175 template <class _Lock, class _Rep, class _Period, class _Predicate> 176 …bool _LIBCPP_HIDE_FROM_ABI wait_for(_Lock& __lock, const chrono::duration<_Rep, _Period>& __d, _Pr… 187 template <class _Lock, class _Rep, class _Period, class _Predicate> 254 template <class _Lock, class _Rep, class _Period> 255 inline cv_status condition_variable_any::wait_for(_Lock& __lock, const chrono::duration<_Rep, _Peri… 259 template <class _Lock, class _Rep, class _Period, class _Predicate> 261 condition_variable_any::wait_for(_Lock& __lock, const chrono::duration<_Rep, _Period>& __d, _Predic… 340 template <class _Lock, class _Rep, class _Period, class _Predicate> [all …]
|
| H A D | shared_mutex | 239 template <class _Rep, class _Period> 240 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time) 253 template <class _Rep, class _Period> 254 _LIBCPP_HIDE_FROM_ABI bool try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time) 342 template <class _Rep, class _Period> 343 …_LIBCPP_HIDE_FROM_ABI shared_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __rel_ti… 373 template <class _Rep, class _Period> 374 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time); 422 template <class _Rep, class _Period> 423 bool shared_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d) {
|
| H A D | semaphore | 112 template <class _Rep, class _Period> 114 try_acquire_for(chrono::duration<_Rep, _Period> const& __rel_time) { 115 if (__rel_time == chrono::duration<_Rep, _Period>::zero()) 160 template <class _Rep, class _Period> 162 try_acquire_for(chrono::duration<_Rep, _Period> const& __rel_time) {
|
| H A D | mutex | 255 template <class _Rep, class _Period> 256 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) { 294 template <class _Rep, class _Period> 295 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) {
|
| H A D | future | 548 template <class _Rep, class _Period> 549 …future_status _LIBCPP_HIDE_FROM_ABI wait_for(const chrono::duration<_Rep, _Period>& __rel_time) co… 569 template <class _Rep, class _Period> 948 template <class _Rep, class _Period> 949 …_LIBCPP_HIDE_FROM_ABI future_status wait_for(const chrono::duration<_Rep, _Period>& __rel_time) co… 1019 template <class _Rep, class _Period> 1020 …_LIBCPP_HIDE_FROM_ABI future_status wait_for(const chrono::duration<_Rep, _Period>& __rel_time) co… 1086 template <class _Rep, class _Period> 1909 template <class _Rep, class _Period> 1965 template <class _Rep, class _Period> [all …]
|