Lines Matching defs:handle
45 static void on_server_close(uv_handle_t* handle);
69 uv_close((uv_handle_t*) req->handle, on_close);
80 static void after_read(uv_stream_t* handle,
94 if (uv_is_writable(handle)) {
95 ASSERT_OK(uv_shutdown(sreq, handle, after_shutdown));
120 if (reset && handle->type == UV_TCP)
121 ASSERT_OK(uv_tcp_close_reset((uv_tcp_t*) handle, on_close));
125 uv_close((uv_handle_t*) handle, on_close);
139 if (uv_write(&wr->req, handle, &wr->buf, 1, after_write)) {
144 ASSERT_OK(uv_shutdown(malloc(sizeof* sreq), handle, on_shutdown));
153 static void echo_alloc(uv_handle_t* handle,
160 static void slab_alloc(uv_handle_t* handle,
209 static void on_server_close(uv_handle_t* handle) {
210 ASSERT_PTR_EQ(handle, server);
229 static void on_recv(uv_udp_t* handle,
248 ASSERT_LE(0, uv_udp_send(req, handle, &sndbuf, 1, addr, on_send));