Lines Matching defs:handle
110 static void timer_cb(uv_timer_t* handle) {
111 ASSERT(handle == &timer_handle);
115 static void idle_2_close_cb(uv_handle_t* handle) {
119 ASSERT(handle == (uv_handle_t*)&idle_2_handle);
128 static void idle_2_cb(uv_idle_t* handle) {
132 ASSERT(handle == &idle_2_handle);
136 uv_close((uv_handle_t*)handle, idle_2_close_cb);
140 static void idle_1_cb(uv_idle_t* handle) {
146 ASSERT_NOT_NULL(handle);
162 r = uv_idle_stop((uv_idle_t*)handle);
169 static void idle_1_close_cb(uv_handle_t* handle) {
173 ASSERT_NOT_NULL(handle);
179 static void prepare_1_close_cb(uv_handle_t* handle) {
182 ASSERT(handle == (uv_handle_t*)&prepare_1_handle);
188 static void check_close_cb(uv_handle_t* handle) {
191 ASSERT(handle == (uv_handle_t*)&check_handle);
197 static void prepare_2_close_cb(uv_handle_t* handle) {
200 ASSERT(handle == (uv_handle_t*)&prepare_2_handle);
206 static void check_cb(uv_check_t* handle) {
211 ASSERT(handle == &check_handle);
231 /* This handle is closed/recreated every time, close it only if it is
242 static void prepare_2_cb(uv_prepare_t* handle) {
247 ASSERT(handle == &prepare_2_handle);
255 r = uv_prepare_stop((uv_prepare_t*)handle);
262 static void prepare_1_cb(uv_prepare_t* handle) {
267 ASSERT(handle == &prepare_1_handle);