Lines Matching refs:tv
127 timeval tv; in TestPeriodicEvents() local
128 tv.tv_sec = period_in_us / 1000000; in TestPeriodicEvents()
129 tv.tv_usec = period_in_us % 1000000; in TestPeriodicEvents()
135 ASSERT_TRUE(loop.AddPeriodicEvent(tv, [&]() { in TestPeriodicEvents()
197 timeval tv; in TEST() local
198 tv.tv_sec = 0; in TEST()
199 tv.tv_usec = 500000; in TEST()
201 ASSERT_TRUE(loop.AddPeriodicEvent(tv, [&]() { in TEST()
224 timeval tv; in TEST() local
225 tv.tv_sec = 0; in TEST()
226 tv.tv_usec = 200000; in TEST()
228 IOEventRef wait_ref = loop.AddPeriodicEvent(tv, [&]() { return loop.ExitLoop(); }); in TEST()
232 tv.tv_sec = 0; in TEST()
233 tv.tv_usec = 100000; in TEST()
235 IOEventRef ref = loop.AddPeriodicEvent(tv, [&]() { in TEST()