/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | time_point.h | 54 : __d_(__t.time_since_epoch()) {} in time_point() 58 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 duration time_since_epoch() const { return __d… in time_since_epoch() function 90 …return time_point<_Clock, _ToDuration>(chrono::duration_cast<_ToDuration>(__t.time_since_epoch())); 96 return time_point<_Clock, _ToDuration>{chrono::floor<_ToDuration>(__t.time_since_epoch())}; 101 return time_point<_Clock, _ToDuration>{chrono::ceil<_ToDuration>(__t.time_since_epoch())}; 106 return time_point<_Clock, _ToDuration>{chrono::round<_ToDuration>(__t.time_since_epoch())}; 120 return __lhs.time_since_epoch() == __rhs.time_since_epoch(); 140 return __lhs.time_since_epoch() < __rhs.time_since_epoch(); 172 return __lhs.time_since_epoch() <=> __rhs.time_since_epoch(); 184 return _Tr(__lhs.time_since_epoch() + __rhs); [all …]
|
H A D | time_zone.h | 84 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys() 109 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys() 114 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys() 117 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.second.offse… in to_sys() 140 … __info.offset >= chrono::seconds{0} || __time.time_since_epoch() >= _Dp::min() - __info.offset, in to_local() 144 … __info.offset <= chrono::seconds{0} || __time.time_since_epoch() <= _Dp::max() - __info.offset, in to_local() 147 return local_time<_Dp>{__time.time_since_epoch() + __info.offset}; in to_local()
|
H A D | file_clock.h | 68 return chrono::sys_time<_Duration>(__t.time_since_epoch()); in to_sys() 73 return chrono::file_time<_Duration>(__t.time_since_epoch()); in from_sys()
|
H A D | exception.h | 65 local_seconds{__info.first.end.time_since_epoch()} + __info.first.offset, in __create_message() 67 local_seconds{__info.second.begin.time_since_epoch()} + __info.second.offset, in __create_message()
|
H A D | year_month_weekday.h | 47 : year_month_weekday(__from_days(__sysd.time_since_epoch())) {} in year_month_weekday() 49 : year_month_weekday(__from_days(__locd.time_since_epoch())) {} in year_month_weekday() 88 return (__sysd + (__wdi_.weekday() - chrono::weekday(__sysd) + days{(__wdi_.index() - 1) * 7})).time_since_epoch(); 197 return (__last - (chrono::weekday{__last} - __wdl_.weekday())).time_since_epoch();
|
H A D | weekday.h | 42 : __wd_(__weekday_from_days(__sysd.time_since_epoch().count())) {} in weekday() 44 : __wd_(__weekday_from_days(__locd.time_since_epoch().count())) {} in weekday()
|
H A D | convert_to_tm.h | 116 …d::__convert_to_tm<_Tm>(chrono::sys_time<typename _ChronoT::duration>{__value.time_since_epoch()}); in __convert_to_tm() 187 chrono::sys_time<typename _ChronoT::duration>{__value.get_local_time().time_since_epoch()}); in __convert_to_tm()
|
H A D | year_month_day.h | 51 : year_month_day(__from_days(__sysd.time_since_epoch())) {} in year_month_day() 53 : year_month_day(__from_days(__locd.time_since_epoch())) {} in year_month_day()
|
H A D | formatter.h | 123 __formatter::__format_sub_seconds(__sstr, __value.time_since_epoch()); in __format_sub_seconds() 147 __formatter::__format_sub_seconds(__sstr, __value.get_local_time().time_since_epoch()); in __format_sub_seconds()
|
H A D | ostream.h | 69 return __os << sys_time<_Duration>{__tp.time_since_epoch()};
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Unix.h | 92 RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count(); in toTimeSpec() 102 RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count(); in toTimeVal()
|
H A D | Process.inc | 437 return hash_combine(Now.time_since_epoch().count(), ::getpid());
|
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/ |
H A D | condition_variable.h | 159 __clock_tp_ns __t_ns = __clock_tp_ns(std::__safe_nanosecond_cast(__t.time_since_epoch())); in wait_until() 185 __ns_rep __now_count_ns = std::__safe_nanosecond_cast(__c_now.time_since_epoch()).count(); in wait_for() 188 …__ns_rep __now_count_ns = std::__safe_nanosecond_cast(system_clock::now().time_since_epoch()).coun… in wait_for() 214 nanoseconds __d = __tp.time_since_epoch(); in __do_timed_wait()
|
/freebsd/contrib/llvm-project/libcxx/src/experimental/ |
H A D | time_zone.cpp | 182 seconds __result = static_cast<sys_days>(__ymd).time_since_epoch() + __seconds; in __to_sys_seconds() 911 std::chrono::local_seconds __end_first{__first.end.time_since_epoch() + __first.offset}; in __is_ambiguous() 912 std::chrono::local_seconds __begin_second{__second.begin.time_since_epoch() + __second.offset}; in __is_ambiguous() 921 std::chrono::local_seconds __end_first{__first.end.time_since_epoch() + __first.offset}; in __get_info() 922 std::chrono::local_seconds __begin_second{__second.begin.time_since_epoch() + __second.offset}; in __get_info() 951 seconds __local_seconds = __local_time.time_since_epoch(); in __get_info() 989 if (__local_seconds - chrono::local_seconds::min().time_since_epoch() < __info.offset) in __get_info() 993 if (chrono::local_seconds::max().time_since_epoch() - __local_seconds < -__info.offset) in __get_info()
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | time_utils.h | 225 auto secs = duration_cast<fs_seconds>(tm.time_since_epoch()); 226 auto nsecs = duration_cast<fs_nanoseconds>(tm.time_since_epoch() - secs); 249 auto dur = tp.time_since_epoch();
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | condition_variable.cpp | 40 nanoseconds d = tp.time_since_epoch(); in wait()
|
H A D | chrono.cpp | 141 return time_t(duration_cast<seconds>(t.time_since_epoch()).count()); in to_time_t()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Chrono.cpp | 67 long((TP.time_since_epoch() % std::chrono::seconds(1)) in format() 113 UtcTime<seconds>(duration_cast<seconds>(T.time_since_epoch()));
|
H A D | Timer.cpp | 184 Result.WallTime = Seconds(now.time_since_epoch()).count(); in getCurrentTime()
|
H A D | TimeProfiler.cpp | 316 .time_since_epoch() in write()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Statistics.cpp | 41 end.time_since_epoch() - start.time_since_epoch(); in elapsed()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/Windows/ |
H A D | WindowsSupport.h | 227 TimeInteger.QuadPart = TP.time_since_epoch().count() / 100; in toFILETIME()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Log.cpp | 329 std::chrono::system_clock::now().time_since_epoch()); in WriteHeader()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDriver.cpp | 799 std::chrono::system_clock::now().time_since_epoch().count() + GetPid()); in FuzzerDriver()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | chrono | 131 duration time_since_epoch() const; // constexpr in C++14
|