Searched refs:CompactNtp (Results 1 – 2 of 2) sorted by relevance
16 TEST(TimeUtilTest, CompactNtp) { in TEST() argument21 EXPECT_EQ(kNtpMid, CompactNtp(kNtp)); in TEST()28 uint32_t ntp_diff = CompactNtp(ntp2) - CompactNtp(ntp1); in TEST()43 ASSERT_LT(CompactNtp(ntp2), CompactNtp(ntp1)); in TEST()45 uint32_t ntp_diff = CompactNtp(ntp2) - CompactNtp(ntp1); in TEST()57 uint32_t ntp_diff = CompactNtp(ntp2) - CompactNtp(ntp1); in TEST()
38 inline uint32_t CompactNtp(NtpTime ntp) { in CompactNtp() function