Lines Matching refs:NUM_CLIENTS
32 #define NUM_CLIENTS 10 macro
40 static client_t clients[NUM_CLIENTS];
41 static uv_pipe_t connections[NUM_CLIENTS];
56 if (++connection_cb_called == NUM_CLIENTS && in connection_cb()
57 connect_cb_called == NUM_CLIENTS) { in connection_cb()
65 if (++connect_cb_called == NUM_CLIENTS && in connect_cb()
66 connection_cb_called == NUM_CLIENTS) { in connect_cb()
91 for (i = 0; i < NUM_CLIENTS; i++) { in TEST_IMPL()
102 ASSERT_EQ(connection_cb_called, NUM_CLIENTS); in TEST_IMPL()
103 ASSERT_EQ(connect_cb_called, NUM_CLIENTS); in TEST_IMPL()
123 if (++connection_cb_called == NUM_CLIENTS && in connection_cb2()
124 connect_cb_called == NUM_CLIENTS) { in connection_cb2()
131 if (++connect_cb_called == NUM_CLIENTS && in connect_cb2()
132 connection_cb_called == NUM_CLIENTS) { in connect_cb2()
157 for (i = 0; i < NUM_CLIENTS; i++) { in TEST_IMPL()
166 for (i = 0; i < NUM_CLIENTS; i++) { in TEST_IMPL()
173 ASSERT_EQ(connection_cb_called, NUM_CLIENTS); in TEST_IMPL()
174 ASSERT_EQ(connect_cb_called, NUM_CLIENTS); in TEST_IMPL()