Home
last modified time | relevance | path

Searched refs:_Clock (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/
H A Dtime_point.h33 template <class _Clock, class _Duration = typename _Clock::duration>
39 typedef _Clock clock;
81 common_type<chrono::time_point<_Clock, _Duration1>, chrono::time_point<_Clock, _Duration2> > {
122 operator==(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs…
132 operator!=(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs…
142 operator<(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs)…
150 operator>(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs)…
158 operator<=(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs…
166 operator>=(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs…
174 operator<=>(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rh…
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h63 template <class _Clock, class _Duration> in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
65 wait_until(unique_lock<mutex>& __lk, const chrono::time_point<_Clock, _Duration>& __t); in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
67 template <class _Clock, class _Duration, class _Predicate> in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
89 template <class _Clock> in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
149 template <class _Clock, class _Duration>
152 using __clock_tp_ns = time_point<_Clock, nanoseconds>; in wait_until()
154 typename _Clock::time_point __now = _Clock::now(); in wait_until()
161 return _Clock::now() < __t ? cv_status::no_timeout : cv_status::timeout; in wait_until()
164 template <class _Clock, class _Duration, class _Predicate>
231 template <class _Clock>
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__mutex/
H A Dunique_lock.h53 template <class _Clock, class _Duration>
54 …_LIBCPP_HIDE_FROM_ABI unique_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __… in unique_lock() argument
91 template <class _Clock, class _Duration>
92 bool try_lock_until(const chrono::time_point<_Clock, _Duration>& __t);
146 template <class _Clock, class _Duration>
147 bool unique_lock<_Mutex>::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) { in try_lock_until() argument
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dshared_mutex244 template <class _Clock, class _Duration>
246 try_lock_until(const chrono::time_point<_Clock, _Duration>& __abs_time)
258 template <class _Clock, class _Duration>
260 try_lock_shared_until(const chrono::time_point<_Clock, _Duration>& __abs_time)
265 template <class _Clock, class _Duration>
266 bool shared_timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __abs_time) {
293 template <class _Clock, class _Duration>
338 template <class _Clock, class _Duration>
375 template <class _Clock, class _Duration>
433 template <class _Clock, class _Duration>
[all …]
H A Dcondition_variable164 template <class _Lock, class _Clock, class _Duration>
166 wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t);
168 template <class _Lock, class _Clock, class _Duration, class _Predicate>
170 wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t, _Predicate __pred);
183 template <class _Lock, class _Clock, class _Duration, class _Predicate>
185 …_Lock& __lock, stop_token __stoken, const chrono::time_point<_Clock, _Duration>& __abs_time, _Pred…
236 template <class _Lock, class _Clock, class _Duration>
237 cv_status condition_variable_any::wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Durat…
245 template <class _Lock, class _Clock, class _Duration, class _Predicate>
310 template <class _Lock, class _Clock, class _Duration, class _Predicate>
[all …]
H A Dmutex259 template <class _Clock, class _Duration>
261 try_lock_until(const chrono::time_point<_Clock, _Duration>& __t);
265 template <class _Clock, class _Duration>
266 bool timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) {
269 bool __no_timeout = _Clock::now() < __t;
298 template <class _Clock, class _Duration>
300 try_lock_until(const chrono::time_point<_Clock, _Duration>& __t);
304 template <class _Clock, class _Duration>
305 bool recursive_timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) {
315 bool __no_timeout = _Clock::now() < __t;
H A Dsemaphore166 template <class _Clock, class _Duration>
168 try_acquire_until(chrono::time_point<_Clock, _Duration> const& __abs_time) {
169 auto const __current = _Clock::now();
H A Dfuture550 template <class _Clock, class _Duration>
552 wait_until(const chrono::time_point<_Clock, _Duration>& __abs_time) const;
557 template <class _Clock, class _Duration>
558 future_status __assoc_sub_state::wait_until(const chrono::time_point<_Clock, _Duration>& __abs_time…
562 while (!(__state_ & ready) && _Clock::now() < __abs_time)
952 template <class _Clock, class _Duration>
1023 template <class _Clock, class _Duration>
1090 template <class _Clock, class _Duration>
1913 template <class _Clock, class _Duration>
1969 template <class _Clock, class _Duration>
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/
H A Dthis_thread.h52 template <class _Clock, class _Duration>
53 _LIBCPP_HIDE_FROM_ABI void sleep_until(const chrono::time_point<_Clock, _Duration>& __t) { in sleep_until() argument
57 while (_Clock::now() < __t) in sleep_until()