Home
last modified time | relevance | path

Searched refs:__tp (Results 1 – 4 of 4) sorted by relevance

/src/contrib/llvm-project/libcxx/include/__chrono/
H A Dzoned_time.h80 _LIBCPP_HIDE_FROM_ABI zoned_time(const sys_time<_Duration>& __tp)
82 : __zone_{__traits::default_zone()}, __tp_{__tp} {}
96 _LIBCPP_HIDE_FROM_ABI zoned_time(_TimeZonePtr __zone, const sys_time<_Duration>& __tp)
97 : __zone_{std::move(__zone)}, __tp_{__tp} {}
99 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const sys_time<_Duration>& __tp)
101 : zoned_time{__traits::locate_zone(__name), __tp} {}
103 _LIBCPP_HIDE_FROM_ABI zoned_time(_TimeZonePtr __zone, const local_time<_Duration>& __tp)
106 : __zone_{std::move(__zone)}, __tp_{__zone_->to_sys(__tp)} {}
108 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp)
113 : zoned_time{__traits::locate_zone(__name), __tp} {}
[all …]
H A Dostream.h50 operator<<(basic_ostream<_CharT, _Traits>& __os, const sys_time<_Duration>& __tp) {
51 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T}"), __tp);
62 operator<<(basic_ostream<_CharT, _Traits>& __os, const file_time<_Duration> __tp) {
63 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T}"), __tp);
68 operator<<(basic_ostream<_CharT, _Traits>& __os, const local_time<_Duration> __tp) {
69 return __os << sys_time<_Duration>{__tp.time_since_epoch()};
310 operator<<(basic_ostream<_CharT, _Traits>& __os, const zoned_time<_Duration, _TimeZonePtr>& __tp) {
311 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L%F %T %Z}"), __tp);
H A Dconvert_to_tm.h84 _LIBCPP_HIDE_FROM_ABI _Tm __convert_to_tm(const chrono::sys_time<_Duration> __tp) { in __convert_to_tm() argument
85 chrono::sys_days __days = chrono::floor<chrono::days>(__tp); in __convert_to_tm()
91 …chrono::duration_cast<chrono::seconds>(__tp - chrono::time_point_cast<chrono::seconds>(__days)).co… in __convert_to_tm()
/src/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h210 …unique_lock<mutex>& __lk, chrono::time_point<chrono::steady_clock, chrono::nanoseconds> __tp) _NOE… in __do_timed_wait() argument
214 nanoseconds __d = __tp.time_since_epoch(); in __do_timed_wait()
234 … chrono::time_point<_Clock, chrono::nanoseconds> __tp) _NOEXCEPT { in __do_timed_wait() argument
235 wait_for(__lk, __tp - _Clock::now()); in __do_timed_wait()