Lines Matching defs:handle
30 #define CHECK_HANDLE(handle) \
31 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
57 static void alloc_cb(uv_handle_t* handle,
61 CHECK_HANDLE(handle);
68 static void close_cb(uv_handle_t* handle) {
69 CHECK_HANDLE(handle);
77 CHECK_HANDLE(req->handle);
82 uv_close((uv_handle_t*) req->handle, close_cb);
104 static void cl_recv_cb(uv_udp_t* handle,
109 CHECK_HANDLE(handle);
129 /* we are done with the server handle, we can close it */