Lines Matching defs:handle
29 #define CHECK_HANDLE(handle) \
30 ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
45 static void alloc_cb(uv_handle_t* handle,
49 CHECK_HANDLE(handle);
56 static void close_cb(uv_handle_t* handle) {
57 CHECK_HANDLE(handle);
65 CHECK_HANDLE(req->handle);
70 uv_close((uv_handle_t*) req->handle, close_cb);
92 static void cl_recv_cb(uv_udp_t* handle,
97 CHECK_HANDLE(handle);
117 /* we are done with the server handle, we can close it */