OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TimeIsBetween
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/webrtc/base/
timeutils_unittest.cc
52
EXPECT_TRUE(
TimeIsBetween
(ts_earlier, ts_now, ts_later));
53
EXPECT_FALSE(
TimeIsBetween
(ts_earlier, ts_later, ts_now));
54
EXPECT_FALSE(
TimeIsBetween
(ts_now, ts_earlier, ts_later));
55
EXPECT_TRUE(
TimeIsBetween
(ts_now, ts_later, ts_earlier));
56
EXPECT_TRUE(
TimeIsBetween
(ts_later, ts_earlier, ts_now));
57
EXPECT_FALSE(
TimeIsBetween
(ts_later, ts_now, ts_earlier));
60
EXPECT_TRUE(
TimeIsBetween
(ts_earlier, ts_earlier, ts_earlier));
61
EXPECT_TRUE(
TimeIsBetween
(ts_earlier, ts_earlier, ts_later));
62
EXPECT_TRUE(
TimeIsBetween
(ts_earlier, ts_later, ts_later));
timeutils.cc
144
bool
TimeIsBetween
(uint32 earlier, uint32 middle, uint32 later) {
157
const bool later_or_equal =
TimeIsBetween
(earlier, later, earlier + HALF);
167
const bool earlier_or_equal =
TimeIsBetween
(later, earlier, later + HALF);
176
const bool later_or_equal =
TimeIsBetween
(earlier, later, earlier + HALF);
timeutils.h
50
bool
TimeIsBetween
(uint32 earlier, uint32 middle, uint32 later); // Inclusive
Completed in 93 milliseconds