/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | time_point.h | 34 class _LIBCPP_TEMPLATE_VIS time_point { 48 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 time_point() : __d_(duration::zero()) {} in time_point() function 49 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit time_point(const duration& __d) : __d… in time_point() function 53 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 time_point(const time_point<clock, _Duration2>… in time_point() function 62 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 time_point& operator+=(const duration& __d) { 66 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 time_point& operator-=(const duration& __d) { 73 …_LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR time_point min() _NOEXCEPT { return time_point(dura… in min() 74 …_LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR time_point max() _NOEXCEPT { return time_point(dura… in max() 81 common_type<chrono::time_point<_Clock, _Duration1>, chrono::time_point<_Clock, _Duration2> > { 82 typedef chrono::time_point<_Clock, typename common_type<_Duration1, _Duration2>::type> type; [all …]
|
H A D | system_clock.h | 14 #include <__chrono/time_point.h> 31 typedef chrono::time_point<system_clock> time_point; 34 static time_point now() _NOEXCEPT; 35 static time_t to_time_t(const time_point& __t) _NOEXCEPT; 36 static time_point from_time_t(time_t __t) _NOEXCEPT; 42 using sys_time = time_point<system_clock, _Duration>; 33 typedef chrono::time_point<system_clock> time_point; global() typedef
|
H A D | file_clock.h | 39 using file_time = time_point<file_clock, _Duration>; 59 typedef chrono::time_point<_FilesystemClock> time_point; typedef 63 …_LIBCPP_AVAILABILITY_FILESYSTEM_LIBRARY _LIBCPP_EXPORTED_FROM_ABI static time_point now() noexcept;
|
H A D | steady_clock.h | 14 #include <__chrono/time_point.h> 31 typedef chrono::time_point<steady_clock, duration> time_point; 34 static time_point now() _NOEXCEPT; 33 typedef chrono::time_point<steady_clock, duration> time_point; global() typedef
|
H A D | concepts.h | 30 concept __is_time_point = __is_specialization_v<_Tp, chrono::time_point>;
|
H A D | calendar.h | 14 #include <__chrono/time_point.h> 29 using local_time = time_point<local_t, _Duration>;
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | chrono.cpp | 95 static system_clock::time_point __libcpp_system_clock_now() { in __libcpp_system_clock_now() 114 return system_clock::time_point(duration_cast<system_clock::duration>(d - nt_to_unix_epoch)); in __libcpp_system_clock_now() 119 static system_clock::time_point __libcpp_system_clock_now() { 123 return system_clock::time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000)); 128 static system_clock::time_point __libcpp_system_clock_now() { 131 return system_clock::time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec)); 138 system_clock::time_point system_clock::now() noexcept { return __libcpp_system_clock_now(); } in now() 140 time_t system_clock::to_time_t(const time_point& t) noexcept { in to_time_t() 144 system_clock::time_point system_clock::from_time_t(time_t t) noexcept { return system_clock::time_p… in from_time_t() 163 static steady_clock::time_point __libcpp_steady_clock_now() { in __libcpp_steady_clock_now() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/ |
H A D | condition_variable.h | 66 wait_until(unique_lock<mutex>& __lk, const chrono::time_point<_Clock, _Duration>& __t); 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() 85 …__do_timed_wait(unique_lock<mutex>& __lk, chrono::time_point<chrono::system_clock, chrono::nanosec… in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 88 …__do_timed_wait(unique_lock<mutex>& __lk, chrono::time_point<chrono::steady_clock, chrono::nanosec… in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 92 …__do_timed_wait(unique_lock<mutex>& __lk, chrono::time_point<_Clock, chrono::nanoseconds>) _NOEXCE… in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG() 151 cv_status condition_variable::wait_until(unique_lock<mutex>& __lk, const chrono::time_point<_Clock,… in wait_until() 153 using __clock_tp_ns = time_point<_Clock, nanoseconds>; in wait_until() 155 typename _Clock::time_point __now = _Clock::now(); in wait_until() 167 unique_lock<mutex>& __lk, const chrono::time_point<_Clock, _Duration>& __t, _Predicate __pred) { in wait_until() 181 steady_clock::time_point __c_now = steady_clock::now(); in wait_for() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | chrono | 111 class time_point 122 time_point(); // has value "epoch" // constexpr in C++14 123 explicit time_point(const duration& d); // same as time_point() + d // constexpr in C++14 127 time_point(const time_point<clock, Duration2>& t); // constexpr in C++14 135 time_point& operator+=(const duration& d); // constexpr in C++17 136 time_point& operator-=(const duration& d); // constexpr in C++17 140 static constexpr time_point min(); // noexcept in C++20 141 static constexpr time_point max(); // noexcept in C++20 151 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>; 222 // time_point arithmetic (all constexpr in C++14) [all …]
|
H A D | shared_mutex | 59 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 70 try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time); 88 const chrono::time_point<Clock, Duration>& abs_time); 105 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 131 # include <__chrono/time_point.h> 242 try_lock_until(const chrono::time_point<_Clock, _Duration>& __abs_time) 256 try_lock_shared_until(const chrono::time_point<_Clock, _Duration>& __abs_time) 262 bool shared_timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __abs_time) { 290 bool shared_timed_mutex::try_lock_shared_until(const chrono::time_point<_Clock, _Duration>& __abs_t… 335 …_LIBCPP_HIDE_FROM_ABI shared_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __… [all …]
|
H A D | condition_variable | 40 const chrono::time_point<Clock, Duration>& abs_time); 45 const chrono::time_point<Clock, Duration>& abs_time, 85 const chrono::time_point<Clock, Duration>& abs_time); 90 const chrono::time_point<Clock, Duration>& abs_time, 110 … const chrono::time_point<Clock, Duration>& abs_time, Predicate pred); // since C++20 123 #include <__chrono/time_point.h> 164 wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t); 168 wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Duration>& __t, _Predicate __pred); 183 …_Lock& __lock, stop_token __stoken, const chrono::time_point<_Clock, _Duration>& __abs_time, _Pred… 235 cv_status condition_variable_any::wait_until(_Lock& __lock, const chrono::time_point<_Clock, _Durat… [all …]
|
H A D | mutex | 67 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 85 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 137 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 154 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time); 190 #include <__chrono/time_point.h> 260 try_lock_until(const chrono::time_point<_Clock, _Duration>& __t); 265 bool timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) { 299 try_lock_until(const chrono::time_point<_Clock, _Duration>& __t); 304 bool recursive_timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t) {
|
H A D | semaphore | 36 bool try_acquire_until(const chrono::time_point<Clock, Duration>& abs_time); 56 # include <__chrono/time_point.h> 163 try_acquire_until(chrono::time_point<_Clock, _Duration> const& __abs_time) {
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | filesystem_clock.cpp | 40 _FilesystemClock::time_point _FilesystemClock::now() noexcept { in now() 47 return time_point(__secs(tp.tv_sec) + chrono::duration_cast<duration>(__nsecs(tp.tv_nsec))); in now() 53 return time_point(__secs(tp.tv_sec) + chrono::duration_cast<duration>(__nsecs(tp.tv_nsec))); in now() 58 return time_point(__secs(tv.tv_sec) + __microsecs(tv.tv_usec)); in now()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ExponentialBackoff.h | 36 using time_point = std::chrono::steady_clock::time_point; variable 58 time_point EndTime;
|
H A D | Chrono.h | 34 using TimePoint = std::chrono::time_point<std::chrono::system_clock, D>; 41 using UtcTime = std::chrono::time_point<UtcClock, D>; in toTimeT() 53 time_point_cast<system_clock::time_point::duration>(TP)); in toTimePoint() 59 return system_clock::to_time_t(time_point<system_clock, seconds>(
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 170 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd() 187 if (!iwl_dbg_tlv_add(tlv, &trans->dbg.time_point[tp].hcmd_list)) in iwl_dbg_tlv_alloc_region() 254 u32 tp = le32_to_cpu(trig->time_point); in iwl_dbg_tlv_alloc_trigger() 274 new_tlv = iwl_dbg_tlv_add(tlv, &trans->dbg.time_point[tp].trig_list); in iwl_dbg_tlv_alloc_trigger() 291 u32 tp = le32_to_cpu(conf_set->time_point); in iwl_dbg_tlv_config_set() 308 if (!iwl_dbg_tlv_add(tlv, &trans->dbg.time_point[tp].config_list)) in iwl_dbg_tlv_config_set() 439 for (i = 0; i < ARRAY_SIZE(trans->dbg.time_point); i++) { in iwl_dbg_tlv_free() 441 &trans->dbg.time_point[i]; in iwl_dbg_tlv_free() 529 for (i = 0; i < ARRAY_SIZE(trans->dbg.time_point); i++) { in iwl_dbg_tlv_init() 531 &trans->dbg.time_point[ in iwl_dbg_tlv_init() [all...] |
H A D | iwl-op-mode.h | 87 * @time_point: called when transport layer wants to collect debug data 111 void (*time_point)(struct iwl_op_mode *op_mode, 207 if (!op_mode || !op_mode->ops || !op_mode->ops->time_point) in iwl_op_mode_time_point() 209 op_mode->ops->time_point(op_mode, tp_id, tp_data); in iwl_op_mode_time_point() 109 void (*time_point)(struct iwl_op_mode *op_mode, global() member
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerInternal.h | 131 system_clock::time_point LastAllocatorPurgeAttemptTime = system_clock::now(); 139 system_clock::time_point ProcessStartTime = system_clock::now(); 140 system_clock::time_point UnitStartTime, UnitStopTime;
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | dbg-tlv.h | 241 * @time_point: time point. One of &enum iwl_fw_ini_time_point 255 __le32 time_point; 272 * @time_point: time point. One of &enum iwl_fw_ini_time_point 279 __le32 time_point; 299 * @time_point: time point to apply config. One of &enum iwl_fw_ini_time_point 307 __le32 time_point; 223 __le32 time_point; global() member 247 __le32 time_point; global() member 275 __le32 time_point; global() member
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | this_thread.h | 53 _LIBCPP_HIDE_FROM_ABI void sleep_until(const chrono::time_point<_Clock, _Duration>& __t) { in sleep_until() 62 inline _LIBCPP_HIDE_FROM_ABI void sleep_until(const chrono::time_point<chrono::steady_clock, _Durat… in sleep_until()
|
/freebsd/contrib/llvm-project/libcxx/include/__mutex/ |
H A D | unique_lock.h | 56 …_LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI unique_lock(mutex_type& __m, const chrono::time_point<_Clo… in unique_lock() 96 bool try_lock_until(const chrono::time_point<_Clock, _Duration>& __t); 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/__filesystem/ |
H A D | file_time_type.h | 25 typedef chrono::time_point<_FilesystemClock> file_time_type;
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | chrono.cppm |
|
H A D | chrono.inc | 14 using std::chrono::time_point; 70 // [time.point.nonmember], time_point arithmetic 72 // [time.point.comparisons], time_point comparisons 128 // [time.clock.cast], time_point conversions
|