Lines Matching refs:timespec
31 inline void PrintTo(const timespec& ts, ::std::ostream* os) { in PrintTo()
70 class TimespecMatcher : public MatcherInterface<const timespec&> {
72 explicit TimespecMatcher(const timespec& expected) : expected_(expected) {} in TimespecMatcher()
79 virtual bool MatchAndExplain(const timespec& actual, in MatchAndExplain()
86 const timespec& expected_;
89 Matcher<const timespec&> EqualsTimespec(const timespec& expected) { in EqualsTimespec()
118 constexpr struct timespec fake_time { kFakeSecs, kFakeNsecs }; in TEST_F()
154 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F() argument
166 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F() argument
172 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F() argument
184 .WillOnce(Invoke([](const timespec* /* desired */, timespec* remaining) { in TEST_F() argument
313 constexpr struct timespec fake_time { kFakeSecs, kFakeNsecs }; in TEST_F()