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