Home
last modified time | relevance | path

Searched refs:TimeIsBetween (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc53 EXPECT_TRUE( TimeIsBetween(ts_earlier, ts_now, ts_later)); in TEST()
54 EXPECT_FALSE(TimeIsBetween(ts_earlier, ts_later, ts_now)); in TEST()
55 EXPECT_FALSE(TimeIsBetween(ts_now, ts_earlier, ts_later)); in TEST()
56 EXPECT_TRUE( TimeIsBetween(ts_now, ts_later, ts_earlier)); in TEST()
57 EXPECT_TRUE( TimeIsBetween(ts_later, ts_earlier, ts_now)); in TEST()
58 EXPECT_FALSE(TimeIsBetween(ts_later, ts_now, ts_earlier)); in TEST()
61 EXPECT_TRUE( TimeIsBetween(ts_earlier, ts_earlier, ts_earlier)); in TEST()
62 EXPECT_TRUE( TimeIsBetween(ts_earlier, ts_earlier, ts_later)); in TEST()
63 EXPECT_TRUE( TimeIsBetween(ts_earlier, ts_later, ts_later)); in TEST()
Dtimeutils.cc144 bool TimeIsBetween(uint32_t earlier, uint32_t middle, uint32_t later) { in TimeIsBetween() function
157 const bool later_or_equal = TimeIsBetween(earlier, later, earlier + HALF); in TimeIsLaterOrEqual()
167 const bool earlier_or_equal = TimeIsBetween(later, earlier, later + HALF); in TimeIsLater()
176 const bool later_or_equal = TimeIsBetween(earlier, later, earlier + HALF); in TimeDiff()
Dtimeutils.h51 bool TimeIsBetween(uint32_t earlier,