Home
last modified time | relevance | path

Searched refs:tiny_timer (Results 1 – 1 of 1) sorted by relevance

/libuv/test/
H A Dtest-timer.c36 static uv_timer_t tiny_timer; variable
272 ASSERT_PTR_EQ(handle, &tiny_timer); in tiny_timer_cb()
273 uv_close((uv_handle_t*) &tiny_timer, NULL); in tiny_timer_cb()
280 ASSERT_OK(uv_timer_init(uv_default_loop(), &tiny_timer)); in TEST_IMPL()
283 ASSERT_OK(uv_timer_start(&tiny_timer, tiny_timer_cb, 1, 0)); in TEST_IMPL()
289 ASSERT_UINT64_EQ(1, uv_timer_get_due_in(&tiny_timer)); in TEST_IMPL()
304 ASSERT_PTR_EQ(handle, &tiny_timer); in huge_repeat_cb()
307 uv_close((uv_handle_t*) &tiny_timer, NULL); in huge_repeat_cb()
314 ASSERT_OK(uv_timer_init(uv_default_loop(), &tiny_timer)); in TEST_IMPL()
316 ASSERT_OK(uv_timer_start(&tiny_timer, huge_repeat_cb, 2, 2)); in TEST_IMPL()

Completed in 3 milliseconds