Lines Matching refs:tcp_server

29 static uv_tcp_t tcp_server;  variable
72 ASSERT_PTR_EQ(&tcp_server, server); in on_connection()
181 r = uv_tcp_init(uv_default_loop(), &tcp_server); in on_read()
184 r = uv_accept((uv_stream_t*)pipe, (uv_stream_t*)&tcp_server); in on_read()
187 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, on_connection); in on_read()
250 r = uv_tcp_init(uv_default_loop(), &tcp_server); in on_read_listen_after_bound_twice()
253 r = uv_accept((uv_stream_t*)pipe, (uv_stream_t*)&tcp_server); in on_read_listen_after_bound_twice()
256 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, on_connection); in on_read_listen_after_bound_twice()
270 uv_close((uv_handle_t*)&tcp_server, NULL); in on_read_listen_after_bound_twice()
551 uv_close((uv_handle_t*)&tcp_server, close_cb); in conn_notify_write_cb()
560 uv_close((uv_handle_t*)&tcp_server, close_cb); in tcp_connection_write_cb()
619 ASSERT_PTR_EQ(&tcp_server, server); in ipc_on_connection()
650 ASSERT_PTR_EQ(&tcp_server, server); in ipc_on_connection_tcp_conn()
696 r = uv_tcp_init(uv_default_loop(), &tcp_server); in ipc_helper()
699 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in ipc_helper()
703 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection); in ipc_helper()
709 (uv_stream_t*)&tcp_server, NULL); in ipc_helper()
713 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection); in ipc_helper()
747 r = uv_tcp_init(uv_default_loop(), &tcp_server); in ipc_helper_tcp_connection()
752 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in ipc_helper_tcp_connection()
755 r = uv_listen((uv_stream_t*)&tcp_server, BACKLOG, ipc_on_connection_tcp_conn); in ipc_helper_tcp_connection()
803 r = uv_tcp_init(uv_default_loop(), &tcp_server); in ipc_helper_bind_twice()
808 r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0); in ipc_helper_bind_twice()
814 (uv_stream_t*)&tcp_server, NULL); in ipc_helper_bind_twice()