Lines Matching refs:uv_handle_t
41 static void once_close_cb(uv_handle_t* handle) { in once_close_cb()
55 ASSERT_OK(uv_is_active((uv_handle_t*) handle)); in once_cb()
59 uv_close((uv_handle_t*)handle, once_close_cb); in once_cb()
65 static void twice_close_cb(uv_handle_t* handle) { in twice_close_cb()
78 ASSERT_OK(uv_is_active((uv_handle_t*) handle)); in twice_cb()
82 uv_close((uv_handle_t*)handle, twice_close_cb); in twice_cb()
87 static void repeat_close_cb(uv_handle_t* handle) { in repeat_close_cb()
100 ASSERT_EQ(1, uv_is_active((uv_handle_t*) handle)); in repeat_cb()
105 uv_close((uv_handle_t*)handle, repeat_close_cb); in repeat_cb()
147 uv_unref((uv_handle_t*)&never); in TEST_IMPL()
190 ASSERT_OK(uv_is_active((uv_handle_t*) &handle)); in TEST_IMPL()
262 uv_close((uv_handle_t*) &timer, NULL); in TEST_IMPL()
273 uv_close((uv_handle_t*) &tiny_timer, NULL); in tiny_timer_cb()
274 uv_close((uv_handle_t*) &huge_timer1, NULL); in tiny_timer_cb()
275 uv_close((uv_handle_t*) &huge_timer2, NULL); in tiny_timer_cb()
307 uv_close((uv_handle_t*) &tiny_timer, NULL); in huge_repeat_cb()
308 uv_close((uv_handle_t*) &huge_timer1, NULL); in huge_repeat_cb()
344 uv_close((uv_handle_t*) &timer_handle, NULL); in TEST_IMPL()
356 uv_close((uv_handle_t *)&handle, NULL); in TEST_IMPL()
398 uv_close((uv_handle_t*) &timer_handle, NULL); in TEST_IMPL()
448 uv_unref((uv_handle_t*) &timer_handle); in TEST_IMPL()