Lines Matching refs:tcp_outgoing
33 static uv_tcp_t tcp_outgoing[2];
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];
170 ARRAY_SIZE(tcp_outgoing),
173 for (i = 0; i < ARRAY_SIZE(tcp_outgoing); i++) {
174 client = tcp_outgoing + i;
185 ASSERT_EQ(ARRAY_SIZE(tcp_outgoing), got_connections);
186 ASSERT_EQ((ARRAY_SIZE(tcp_outgoing) + 2), close_cb_called);
187 ASSERT_EQ(ARRAY_SIZE(tcp_outgoing), write_cb_called);