Lines Matching refs:uv_default_loop
58 uv_update_time(uv_default_loop()); in once_cb()
97 start_time = uv_now(uv_default_loop()); in TEST_IMPL()
103 r = uv_timer_init(uv_default_loop(), once); in TEST_IMPL()
110 r = uv_timer_init(uv_default_loop(), &repeat); in TEST_IMPL()
116 r = uv_timer_init(uv_default_loop(), &never); in TEST_IMPL()
124 uv_run(uv_default_loop(), UV_RUN_DEFAULT); in TEST_IMPL()
132 ASSERT(500 <= uv_now(uv_default_loop()) - start_time); in TEST_IMPL()
143 r = uv_timer_init(uv_default_loop(), &once); in TEST_IMPL()
149 r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); in TEST_IMPL()
162 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle)); in TEST_IMPL()
190 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle_a)); in TEST_IMPL()
191 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle_b)); in TEST_IMPL()
198 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
212 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
230 ASSERT(0 == uv_timer_init(uv_default_loop(), &tiny_timer)); in TEST_IMPL()
231 ASSERT(0 == uv_timer_init(uv_default_loop(), &huge_timer1)); in TEST_IMPL()
232 ASSERT(0 == uv_timer_init(uv_default_loop(), &huge_timer2)); in TEST_IMPL()
239 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
261 ASSERT(0 == uv_timer_init(uv_default_loop(), &tiny_timer)); in TEST_IMPL()
262 ASSERT(0 == uv_timer_init(uv_default_loop(), &huge_timer1)); in TEST_IMPL()
265 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
282 ASSERT(0 == uv_timer_init(uv_default_loop(), &timer_handle)); in TEST_IMPL()
284 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
288 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
292 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
302 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle)); in TEST_IMPL()
315 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle)); in TEST_IMPL()
336 timer_early_check_expected_time = uv_now(uv_default_loop()) + timeout_ms; in TEST_IMPL()
338 ASSERT(0 == uv_timer_init(uv_default_loop(), &timer_handle)); in TEST_IMPL()
340 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
343 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()