Lines Matching defs:handle
37 static void close_cb(uv_handle_t* handle) {
38 ASSERT_NOT_NULL(handle);
44 static void repeat_1_cb(uv_timer_t* handle) {
47 ASSERT_PTR_EQ(handle, &repeat_1);
48 ASSERT_EQ(50, uv_timer_get_repeat((uv_timer_t*)handle));
60 uv_close((uv_handle_t*)handle, close_cb);
69 static void repeat_2_cb(uv_timer_t* handle) {
70 ASSERT_PTR_EQ(handle, &repeat_2);
80 ASSERT_OK(uv_is_active((uv_handle_t*) handle));
81 uv_close((uv_handle_t*)handle, close_cb);