Lines Matching refs:cb
226 if (req->cb) in uv__process_tcp_shutdown_req()
227 req->cb(req, err); in uv__process_tcp_shutdown_req()
549 int uv__tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb) { in uv__tcp_listen() argument
557 handle->stream.serv.connection_cb = cb; in uv__tcp_listen()
592 handle->stream.serv.connection_cb = cb; in uv__tcp_listen()
771 uv_connect_cb cb) { in uv__tcp_try_connect() argument
831 req->cb = cb; in uv__tcp_try_connect()
896 uv_write_cb cb) { in uv__tcp_write() argument
902 req->cb = cb; in uv__tcp_write()
1133 if (req->cb) { in uv__process_tcp_write_req()
1139 req->cb(req, err); in uv__process_tcp_write_req()
1239 req->cb(req, uv_translate_sys_error(err)); in uv__process_tcp_connect_req()
1556 uv_connect_cb cb) { in uv__tcp_connect() argument
1559 err = uv__tcp_try_connect(req, handle, addr, addrlen, cb); in uv__tcp_connect()