Lines Matching refs:tcp_outgoing
33 static uv_tcp_t tcp_outgoing[2]; variable
34 static uv_tcp_t tcp_incoming[ARRAY_SIZE(tcp_outgoing)];
35 static uv_connect_t connect_reqs[ARRAY_SIZE(tcp_outgoing)];
38 static uv_write_t write_reqs[ARRAY_SIZE(tcp_outgoing)];
77 outgoing = (uv_stream_t*) &tcp_outgoing[i]; in connect_cb()
170 ARRAY_SIZE(tcp_outgoing), in TEST_IMPL()
173 for (i = 0; i < ARRAY_SIZE(tcp_outgoing); i++) { in TEST_IMPL()
174 client = tcp_outgoing + i; in TEST_IMPL()
185 ASSERT_EQ(ARRAY_SIZE(tcp_outgoing), got_connections); in TEST_IMPL()
186 ASSERT_EQ((ARRAY_SIZE(tcp_outgoing) + 2), close_cb_called); in TEST_IMPL()
187 ASSERT_EQ(ARRAY_SIZE(tcp_outgoing), write_cb_called); in TEST_IMPL()