Searched refs:unix_epoch (Results 1 – 3 of 3) sorted by relevance
1132 const time_point<chrono::nanoseconds> unix_epoch = in TEST() local1141 time_point<chrono::nanoseconds> tp = unix_epoch; in TEST()1143 EXPECT_EQ(unix_epoch + chrono::seconds(5), tp); in TEST()1144 tp = unix_epoch; in TEST()1146 EXPECT_EQ(unix_epoch + chrono::seconds(5), tp); in TEST()1147 tp = unix_epoch; in TEST()1149 EXPECT_EQ(unix_epoch + chrono::seconds(5), tp); in TEST()1150 tp = unix_epoch; in TEST()1152 EXPECT_EQ(unix_epoch + chrono::seconds(5), tp); in TEST()1153 tp = unix_epoch; in TEST()[all …]
46 inline cctz::time_point<cctz::seconds> unix_epoch() { in unix_epoch() function58 const auto sec = unix_epoch() + cctz::seconds(rep_hi); in Split()66 const int64_t rep_hi = (parts.sec - unix_epoch()).count(); in Join()
54 inline cctz::time_point<cctz::seconds> unix_epoch() { in unix_epoch() function161 const auto hi = (sec - unix_epoch()).count(); in MakeTimeWithOverflow()192 const auto tp = unix_epoch() + cctz::seconds(ToUnixSeconds(t)); in FindTransition()210 const auto tp = unix_epoch() + cctz::seconds(time_internal::GetRepHi(rep_)); in In()356 const auto tp = unix_epoch() + cctz::seconds(time_internal::GetRepHi(ud)); in At()