Lines Matching defs:req
58 static void after_shutdown(uv_shutdown_t* req, int status) {
59 uv_close((uv_handle_t*) req->handle, on_close);
60 free(req);
67 uv_shutdown_t* req;
74 req = (uv_shutdown_t*) malloc(sizeof *req);
75 r = uv_shutdown(req, handle, after_shutdown);
148 static void on_connect(uv_connect_t* req, int status) {
155 r = uv_tcp_getsockname((uv_tcp_t*) req->handle, &sockname, &namelen);
161 r = uv_tcp_getpeername((uv_tcp_t*) req->handle, &peername, &namelen);
267 static void udp_send(uv_udp_send_t* req, int status) {