Lines Matching refs:tv
125 timeval tv; in TestPeriodicEvents() local
126 tv.tv_sec = period_in_us / 1000000; in TestPeriodicEvents()
127 tv.tv_usec = period_in_us % 1000000; in TestPeriodicEvents()
133 ASSERT_TRUE(loop.AddPeriodicEvent(tv, [&]() { in TestPeriodicEvents()
195 timeval tv; in TEST() local
196 tv.tv_sec = 0; in TEST()
197 tv.tv_usec = 500000; in TEST()
199 ASSERT_TRUE(loop.AddPeriodicEvent(tv, [&]() { in TEST()
222 timeval tv; in TEST() local
223 tv.tv_sec = 0; in TEST()
224 tv.tv_usec = 200000; in TEST()
226 IOEventRef wait_ref = loop.AddPeriodicEvent(tv, [&]() { return loop.ExitLoop(); }); in TEST()
230 tv.tv_sec = 0; in TEST()
231 tv.tv_usec = 100000; in TEST()
233 IOEventRef ref = loop.AddPeriodicEvent(tv, [&]() { in TEST()