/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | leap_second.h | 63 template <class _Duration> 64 _LIBCPP_HIDE_FROM_ABI constexpr bool operator==(const leap_second& __x, const sys_time<_Duration>& … 68 template <class _Duration> 69 _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const leap_second& __x, const sys_time<_Duration>& _… 73 template <class _Duration> 74 _LIBCPP_HIDE_FROM_ABI constexpr bool operator<(const sys_time<_Duration>& __x, const leap_second& _… 78 template <class _Duration> 79 _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const leap_second& __x, const sys_time<_Duration>& _… 83 template <class _Duration> 84 _LIBCPP_HIDE_FROM_ABI constexpr bool operator>(const sys_time<_Duration>& __x, const leap_second& _… [all …]
|
H A D | zoned_time.h | 57 template <class _Duration, class _TimeZonePtr = const time_zone*> 60 static_assert(__is_duration<_Duration>::value, 71 using duration = common_type_t<_Duration, seconds>; 80 _LIBCPP_HIDE_FROM_ABI zoned_time(const sys_time<_Duration>& __tp) 93 requires is_convertible_v<sys_time<_Duration2>, sys_time<_Duration>> 96 _LIBCPP_HIDE_FROM_ABI zoned_time(_TimeZonePtr __zone, const sys_time<_Duration>& __tp) 99 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const sys_time<_Duration>& __tp) 103 _LIBCPP_HIDE_FROM_ABI zoned_time(_TimeZonePtr __zone, const local_time<_Duration>& __tp) 104 …requires(is_convertible_v<decltype(std::declval<_TimeZonePtr&>() -> to_sys(local_time<_Duration>{}… 108 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp) [all …]
|
H A D | time_zone.h | 67 template <class _Duration> 68 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI sys_info get_info(const sys_time<_Duration>& __time) const { in get_info() 72 template <class _Duration> 73 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI local_info get_info(const local_time<_Duration>& __time) const… in get_info() 79 template <class _Duration> 80 …_LIBCPP_HIDE_FROM_ABI sys_time<common_type_t<_Duration, seconds>> to_sys(const local_time<_Duratio… in to_sys() 84 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys() 102 template <class _Duration> 103 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI sys_time<common_type_t<_Duration, seconds>> 104 to_sys(const local_time<_Duration>& __time, choose __z) const { in to_sys() [all …]
|
H A D | file_clock.h | 38 template <class _Duration> 39 using file_time = time_point<file_clock, _Duration>; 66 template <class _Duration> 67 …_LIBCPP_HIDE_FROM_ABI static chrono::sys_time<_Duration> to_sys(const chrono::file_time<_Duration>… in to_sys() 68 return chrono::sys_time<_Duration>(__t.time_since_epoch()); in to_sys() 71 template <class _Duration> 72 …_LIBCPP_HIDE_FROM_ABI static chrono::file_time<_Duration> from_sys(const chrono::sys_time<_Duratio… in from_sys() 73 return chrono::file_time<_Duration>(__t.time_since_epoch()); in from_sys()
|
H A D | exception.h | 41 template <class _Duration> 42 …_LIBCPP_HIDE_FROM_ABI nonexistent_local_time(const local_time<_Duration>& __time, const local_info… in nonexistent_local_time() 57 template <class _Duration> 58 …_LIBCPP_HIDE_FROM_ABI string __create_message(const local_time<_Duration>& __time, const local_inf… in __create_message() 73 template <class _Duration> 75 … [[maybe_unused]] const local_time<_Duration>& __time, [[maybe_unused]] const local_info& __info) { in __throw_nonexistent_local_time() 85 template <class _Duration> 86 …_LIBCPP_HIDE_FROM_ABI ambiguous_local_time(const local_time<_Duration>& __time, const local_info& … in ambiguous_local_time() 101 template <class _Duration> 102 …_LIBCPP_HIDE_FROM_ABI string __create_message(const local_time<_Duration>& __time, const local_inf… in __create_message() [all …]
|
H A D | time_point.h | 33 template <class _Clock, class _Duration = typename _Clock::duration> 35 static_assert(__is_duration<_Duration>::value, 40 typedef _Duration duration; 87 template <class _ToDuration, class _Clock, class _Duration> 89 time_point_cast(const time_point<_Clock, _Duration>& __t) { 94 template <class _ToDuration, class _Clock, class _Duration, enable_if_t<__is_duration<_ToDuration>:… 95 …ROM_ABI constexpr time_point<_Clock, _ToDuration> floor(const time_point<_Clock, _Duration>& __t) { 99 template <class _ToDuration, class _Clock, class _Duration, enable_if_t<__is_duration<_ToDuration>:… 100 …FROM_ABI constexpr time_point<_Clock, _ToDuration> ceil(const time_point<_Clock, _Duration>& __t) { 104 template <class _ToDuration, class _Clock, class _Duration, enable_if_t<__is_duration<_ToDuration>:… [all …]
|
H A D | hh_mm_ss.h | 29 template <class _Duration> 32 static_assert(__is_duration<_Duration>::value, "template parameter of hh_mm_ss must be a std::chrono::duration"); 33 using __CommonType = common_type_t<_Duration, chrono::seconds>; 53 _LIBCPP_HIDE_FROM_ABI constexpr hh_mm_ss() noexcept : hh_mm_ss{_Duration::zero()} {} 55 _LIBCPP_HIDE_FROM_ABI constexpr explicit hh_mm_ss(_Duration __d) noexcept 56 : __is_neg_(__d < _Duration(0)),
|
H A D | ostream.h | 47 template <class _CharT, class _Traits, class _Duration> 48 requires(!treat_as_floating_point_v<typename _Duration::rep> && _Duration{1} < days{1}) 50 operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration>& __tp) { 60 template <class _CharT, class _Traits, class _Duration> 62 operator<<(basic_ostream<_CharT, _Traits>& __os, const file_time<_Duration> __tp) { 66 template <class _CharT, class _Traits, class _Duration> 68 operator<<(basic_ostream<_CharT, _Traits>& __os, const local_time<_Duration> __tp) { 69 return __os << sys_time<_Duration>{__tp.time_since_epoch()}; 262 template <class _CharT, class _Traits, class _Duration> 264 operator<<(basic_ostream<_CharT, _Traits>& __os, const hh_mm_ss<_Duration> __hms) { [all …]
|
H A D | calendar.h | 28 template <class _Duration> 29 using local_time = time_point<local_t, _Duration>;
|
H A D | system_clock.h | 41 template <class _Duration> 42 using sys_time = time_point<system_clock, _Duration>;
|
H A D | formatter.h | 126 template <class _CharT, class _Duration> 128 __format_sub_seconds(basic_stringstream<_CharT>& __sstr, const chrono::hh_mm_ss<_Duration>& __value… in __format_sub_seconds() 130 if constexpr (chrono::treat_as_floating_point_v<typename _Duration::rep>) in __format_sub_seconds() 144 template <class _CharT, class _Duration, class _TimeZonePtr> 146 __format_sub_seconds(basic_stringstream<_CharT>& __sstr, const chrono::zoned_time<_Duration, _TimeZ… in __format_sub_seconds() argument 714 template <class _Duration, __fmt_char_type _CharT> 715 struct _LIBCPP_TEMPLATE_VIS formatter<chrono::sys_time<_Duration>, _CharT> : public __formatter_chr… 725 template <class _Duration, __fmt_char_type _CharT> 726 struct _LIBCPP_TEMPLATE_VIS formatter<chrono::file_time<_Duration>, _CharT> : public __formatter_ch… 736 template <class _Duration, __fmt_char_type _CharT> [all …]
|
H A D | convert_to_tm.h | 83 template <class _Tm, class _Duration> 84 _LIBCPP_HIDE_FROM_ABI _Tm __convert_to_tm(const chrono::sys_time<_Duration> __tp) { in __convert_to_tm()
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | this_thread.h | 52 template <class _Clock, class _Duration> 53 _LIBCPP_HIDE_FROM_ABI void sleep_until(const chrono::time_point<_Clock, _Duration>& __t) { in sleep_until() 61 template <class _Duration> 62 …PP_HIDE_FROM_ABI void sleep_until(const chrono::time_point<chrono::steady_clock, _Duration>& __t) { in sleep_until()
|
/freebsd/contrib/llvm-project/libcxx/include/__mutex/ |
H A D | unique_lock.h | 55 template <class _Clock, class _Duration> 56 …LIBCPP_HIDE_FROM_ABI unique_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __t) in unique_lock() 95 template <class _Clock, class _Duration> 96 bool try_lock_until(const chrono::time_point<_Clock, _Duration>& __t); 150 template <class _Clock, class _Duration> 151 bool unique_lock<_Mutex>::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) { in try_lock_until()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | shared_mutex | 240 template <class _Clock, class _Duration> 242 try_lock_until(const chrono::time_point<_Clock, _Duration>& __abs_time) 254 template <class _Clock, class _Duration> 256 try_lock_shared_until(const chrono::time_point<_Clock, _Duration>& __abs_time) 261 template <class _Clock, class _Duration> 262 bool shared_timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __abs_time) { 289 template <class _Clock, class _Duration> 290 bool shared_timed_mutex::try_lock_shared_until(const chrono::time_point<_Clock, _Duration>& __abs_t… 334 template <class _Clock, class _Duration> 335 …_LIBCPP_HIDE_FROM_ABI shared_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __… [all …]
|
H A D | condition_variable | 162 template <class _Lock, class _Clock, class _Duration> 164 wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t); 166 template <class _Lock, class _Clock, class _Duration, class _Predicate> 168 wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t, _Predicate __pred); 181 template <class _Lock, class _Clock, class _Duration, class _Predicate> 183 …_Lock& __lock, stop_token __stoken, const chrono::time_point<_Clock, _Duration>& __abs_time, _Pred… 234 template <class _Lock, class _Clock, class _Duration> 235 …ndition_variable_any::wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t) { 243 template <class _Lock, class _Clock, class _Duration, class _Predicate> 245 condition_variable_any::wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t,… [all …]
|
H A D | mutex | 258 template <class _Clock, class _Duration> 260 try_lock_until(const chrono::time_point<_Clock, _Duration>& __t); 264 template <class _Clock, class _Duration> 265 bool timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) { 297 template <class _Clock, class _Duration> 299 try_lock_until(const chrono::time_point<_Clock, _Duration>& __t); 303 template <class _Clock, class _Duration> 304 bool recursive_timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) {
|
H A D | semaphore | 161 template <class _Clock, class _Duration> 163 try_acquire_until(chrono::time_point<_Clock, _Duration> const& __abs_time) {
|
H A D | future | 547 template <class _Clock, class _Duration> 549 wait_until(const chrono::time_point<_Clock, _Duration>& __abs_time) const; 554 template <class _Clock, class _Duration> 555 future_status __assoc_sub_state::wait_until(const chrono::time_point<_Clock, _Duration>& __abs_time… 949 template <class _Clock, class _Duration> 950 …_LIBCPP_HIDE_FROM_ABI future_status wait_until(const chrono::time_point<_Clock, _Duration>& __abs_… 1020 template <class _Clock, class _Duration> 1021 …_LIBCPP_HIDE_FROM_ABI future_status wait_until(const chrono::time_point<_Clock, _Duration>& __abs_… 1087 template <class _Clock, class _Duration> 1088 …_LIBCPP_HIDE_FROM_ABI future_status wait_until(const chrono::time_point<_Clock, _Duration>& __abs_… [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/ |
H A D | condition_variable.h | 64 template <class _Clock, class _Duration> in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 66 wait_until(unique_lock<mutex>& __lk, const chrono::time_point<_Clock, _Duration>& __t); in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 68 template <class _Clock, class _Duration, class _Predicate> in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 70 …wait_until(unique_lock<mutex>& __lk, const chrono::time_point<_Clock, _Duration>& __t, _Predicate … in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 150 template <class _Clock, class _Duration> 151 …_variable::wait_until(unique_lock<mutex>& __lk, const chrono::time_point<_Clock, _Duration>& __t) { in wait_until() 165 template <class _Clock, class _Duration, class _Predicate> 167 unique_lock<mutex>& __lk, const chrono::time_point<_Clock, _Duration>& __t, _Predicate __pred) { in wait_until()
|