Lines Matching refs:uv_default_loop
60 uv_update_time(uv_default_loop()); in once_cb()
120 start_time = uv_now(uv_default_loop()); in TEST_IMPL()
126 r = uv_timer_init(uv_default_loop(), once); in TEST_IMPL()
133 r = uv_timer_init(uv_default_loop(), &repeat); in TEST_IMPL()
139 r = uv_timer_init(uv_default_loop(), &never); in TEST_IMPL()
147 uv_run(uv_default_loop(), UV_RUN_DEFAULT); in TEST_IMPL()
155 ASSERT(500 <= uv_now(uv_default_loop()) - start_time); in TEST_IMPL()
166 r = uv_timer_init(uv_default_loop(), &once); in TEST_IMPL()
172 r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); in TEST_IMPL()
185 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle)); in TEST_IMPL()
213 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle_a)); in TEST_IMPL()
214 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle_b)); in TEST_IMPL()
221 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
235 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
253 ASSERT(0 == uv_timer_init(uv_default_loop(), &tiny_timer)); in TEST_IMPL()
254 ASSERT(0 == uv_timer_init(uv_default_loop(), &huge_timer1)); in TEST_IMPL()
255 ASSERT(0 == uv_timer_init(uv_default_loop(), &huge_timer2)); in TEST_IMPL()
262 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
284 ASSERT(0 == uv_timer_init(uv_default_loop(), &tiny_timer)); in TEST_IMPL()
285 ASSERT(0 == uv_timer_init(uv_default_loop(), &huge_timer1)); in TEST_IMPL()
288 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
305 ASSERT(0 == uv_timer_init(uv_default_loop(), &timer_handle)); in TEST_IMPL()
307 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
311 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
315 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
325 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle)); in TEST_IMPL()
338 ASSERT(0 == uv_timer_init(uv_default_loop(), &handle)); in TEST_IMPL()
359 timer_early_check_expected_time = uv_now(uv_default_loop()) + timeout_ms; in TEST_IMPL()
361 ASSERT(0 == uv_timer_init(uv_default_loop(), &timer_handle)); in TEST_IMPL()
363 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
366 ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()