Home
last modified time | relevance | path

Searched refs:ntp1 (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dtime_util_unittest.cc25 const NtpTime ntp1(0x12345, 0x23456); in TEST() local
27 uint32_t ms_diff = ntp2.ToMs() - ntp1.ToMs(); in TEST()
28 uint32_t ntp_diff = CompactNtp(ntp2) - CompactNtp(ntp1); in TEST()
36 const NtpTime ntp1(0x1ffff, 0x23456); in TEST() local
38 uint32_t ms_diff = ntp2.ToMs() - ntp1.ToMs(); in TEST()
42 ASSERT_GT(ntp2.ToMs(), ntp1.ToMs()); in TEST()
43 ASSERT_LT(CompactNtp(ntp2), CompactNtp(ntp1)); in TEST()
45 uint32_t ntp_diff = CompactNtp(ntp2) - CompactNtp(ntp1); in TEST()
52 const NtpTime ntp1(0x10000, 0x23456); in TEST() local
54 uint32_t ms_diff = ntp2.ToMs() - ntp1.ToMs(); in TEST()
[all …]
/external/webrtc/webrtc/system_wrappers/source/
Dntp_time_unittest.cc41 NtpTime ntp1(kNtpSec, kNtpFrac); in TEST() local
43 EXPECT_NE(ntp1, ntp2); in TEST()
46 EXPECT_EQ(ntp1, ntp2); in TEST()
52 NtpTime ntp1(clock); in TEST() local
54 EXPECT_NE(ntp1, ntp2); in TEST()
57 EXPECT_EQ(ntp1, ntp2); in TEST()