Lines Matching defs:handle
59 uv_close((uv_handle_t*) req->handle, NULL);
62 static void do_write(uv_stream_t* handle) {
77 &write_info->write_req, handle, bufs, BUFFERS_PER_WRITE, write_cb);
81 static void alloc_cb(uv_handle_t* handle,
93 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) {
105 r = uv_read_stop(handle);
107 r = uv_shutdown(&shutdown_req, handle, shutdown_cb);
112 static void do_writes_and_reads(uv_stream_t* handle) {
120 do_write(handle);
123 r = uv_read_start(handle, alloc_cb, read_cb);
126 r = uv_run(handle->loop, UV_RUN_DEFAULT);