Searched refs:repeat_2 (Results 1 – 1 of 1) sorted by relevance
/libuv/test/ |
H A D | test-timer-again.c | 32 static uv_timer_t dummy, repeat_1, repeat_2; variable 56 r = uv_timer_again(&repeat_2); in repeat_1_cb() 70 ASSERT_PTR_EQ(handle, &repeat_2); in repeat_2_cb() 79 if (uv_timer_get_repeat(&repeat_2) == 0) { in repeat_2_cb() 86 (long int)uv_timer_get_repeat(&repeat_2)); in repeat_2_cb() 88 ASSERT_EQ(100, uv_timer_get_repeat(&repeat_2)); in repeat_2_cb() 91 uv_timer_set_repeat(&repeat_2, 0); in repeat_2_cb() 123 r = uv_timer_init(uv_default_loop(), &repeat_2); in TEST_IMPL() 125 r = uv_timer_start(&repeat_2, repeat_2_cb, 100, 100); in TEST_IMPL() 127 ASSERT_EQ(100, uv_timer_get_repeat(&repeat_2)); in TEST_IMPL()
|
Completed in 3 milliseconds