Lines Matching refs:ARRAY_SIZE
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)];
73 ASSERT(req <= connect_reqs + ARRAY_SIZE(connect_reqs)); in connect_cb()
124 if (got_connections == ARRAY_SIZE(tcp_incoming)) in connection_cb()
132 if (got_connections != ARRAY_SIZE(tcp_incoming)) in connection_cb()
136 for (i = 0; i < ARRAY_SIZE(tcp_incoming); i++) { in connection_cb()
170 ARRAY_SIZE(tcp_outgoing), in TEST_IMPL()
173 for (i = 0; i < ARRAY_SIZE(tcp_outgoing); i++) { in TEST_IMPL()
185 ASSERT(ARRAY_SIZE(tcp_outgoing) == got_connections); in TEST_IMPL()
186 ASSERT((ARRAY_SIZE(tcp_outgoing) + 2) == close_cb_called); in TEST_IMPL()
187 ASSERT(ARRAY_SIZE(tcp_outgoing) == write_cb_called); in TEST_IMPL()