Lines Matching refs:cb
30 int uv_listen(uv_stream_t* stream, int backlog, uv_connection_cb cb) { in uv_listen() argument
38 err = uv__tcp_listen((uv_tcp_t*)stream, backlog, cb); in uv_listen()
41 err = uv__pipe_listen((uv_pipe_t*)stream, backlog, cb); in uv_listen()
118 uv_write_cb cb) { in uv_write() argument
129 err = uv__tcp_write(loop, req, (uv_tcp_t*) handle, bufs, nbufs, cb); in uv_write()
133 loop, req, (uv_pipe_t*) handle, bufs, nbufs, NULL, cb); in uv_write()
136 err = uv__tty_write(loop, req, (uv_tty_t*) handle, bufs, nbufs, cb); in uv_write()
151 uv_write_cb cb) { in uv_write2() argument
156 return uv_write(req, handle, bufs, nbufs, cb); in uv_write2()
166 loop, req, (uv_pipe_t*) handle, bufs, nbufs, send_handle, cb); in uv_write2()
203 int uv_shutdown(uv_shutdown_t* req, uv_stream_t* handle, uv_shutdown_cb cb) { in uv_shutdown() argument
214 req->cb = cb; in uv_shutdown()