Lines Matching refs:server
76 uv_tcp_t server; in TEST_IMPL() local
84 r = uv_tcp_init(uv_default_loop(), &server); in TEST_IMPL()
86 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
89 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL()
104 uv_tcp_t server; in TEST_IMPL() local
112 r = uv_tcp_init(uv_default_loop(), &server); in TEST_IMPL()
114 r = uv_tcp_bind(&server, (const struct sockaddr*) garbage_addr, 0); in TEST_IMPL()
117 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL()
132 uv_tcp_t server; in TEST_IMPL() local
141 r = uv_tcp_init(uv_default_loop(), &server); in TEST_IMPL()
143 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr1, 0); in TEST_IMPL()
145 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr2, 0); in TEST_IMPL()
148 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL()
161 uv_tcp_t server; in TEST_IMPL() local
169 r = uv_tcp_init(uv_default_loop(), &server); in TEST_IMPL()
171 r = uv_tcp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()