Home
last modified time | relevance | path

Searched refs:time_since_epoch (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dtime_point.h54 : __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 Dtime_zone.h84 …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 Dfile_clock.h68 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 Dexception.h65 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 Dyear_month_weekday.h47 : 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 Dweekday.h42 : __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 Dconvert_to_tm.h116 …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 Dyear_month_day.h51 : 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 Dformatter.h123 __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 Dostream.h69 return __os << sys_time<_Duration>{__tp.time_since_epoch()};
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DUnix.h92 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 DProcess.inc437 return hash_combine(Now.time_since_epoch().count(), ::getpid());
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h159 __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 Dtime_zone.cpp182 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 Dtime_utils.h225 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 Dcondition_variable.cpp40 nanoseconds d = tp.time_since_epoch(); in wait()
H A Dchrono.cpp141 return time_t(duration_cast<seconds>(t.time_since_epoch()).count()); in to_time_t()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DChrono.cpp67 long((TP.time_since_epoch() % std::chrono::seconds(1)) in format()
113 UtcTime<seconds>(duration_cast<seconds>(T.time_since_epoch()));
H A DTimer.cpp184 Result.WallTime = Seconds(now.time_since_epoch()).count(); in getCurrentTime()
H A DTimeProfiler.cpp316 .time_since_epoch() in write()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStatistics.cpp41 end.time_since_epoch() - start.time_since_epoch(); in elapsed()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/Windows/
H A DWindowsSupport.h227 TimeInteger.QuadPart = TP.time_since_epoch().count() / 100; in toFILETIME()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DLog.cpp329 std::chrono::system_clock::now().time_since_epoch()); in WriteHeader()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp799 std::chrono::system_clock::now().time_since_epoch().count() + GetPid()); in FuzzerDriver()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono131 duration time_since_epoch() const; // constexpr in C++14

12