Lines Matching defs:handle
60 static void close_server_conn_cb(uv_handle_t* handle) {
61 free(handle);
100 static void on_alloc(uv_handle_t* handle,
108 static void close_client_conn_cb(uv_handle_t* handle) {
109 tcp_conn* p = (tcp_conn*)handle->data;
115 uv_close((uv_handle_t*)req->handle, close_client_conn_cb);
143 static void on_read(uv_stream_t* handle,
151 pipe = (uv_pipe_t*) handle;
213 static void on_read_listen_after_bound_twice(uv_stream_t* handle,
220 pipe = (uv_pipe_t*) handle;
324 ASSERT_PTR_EQ(req->handle, &tcp_connection);
329 static void on_read_alloc(uv_handle_t* handle,
350 static void on_read_connection(uv_stream_t* handle,
358 pipe = (uv_pipe_t*) handle;
390 r = uv_accept(handle, (uv_stream_t*)&tcp_connection);
409 static void on_read_send_zero(uv_stream_t* handle,
545 static void close_cb(uv_handle_t* handle) {
557 ASSERT_PTR_EQ(&conn.conn, req->handle);
558 uv_close((uv_handle_t*)req->handle, close_cb);
604 r = uv_read_start(req->handle, on_read_alloc, on_tcp_child_process_read);
639 static void close_and_free_cb(uv_handle_t* handle) {
641 free(handle);
679 * over which a handle will be transmitted.
732 * over which a handle will be transmitted.