Lines Matching refs:i
55 unsigned int i; in connect_cb() local
74 i = req - connect_reqs; in connect_cb()
77 outgoing = (uv_stream_t*) &tcp_outgoing[i]; in connect_cb()
78 ASSERT_OK(uv_write(&write_reqs[i], outgoing, &buf, 1, write_cb)); in connect_cb()
89 unsigned int i; in read_cb() local
100 for (i = 0; i < got_connections; i++) { in read_cb()
101 if (i != pending_incoming) in read_cb()
102 uv_close((uv_handle_t*) &tcp_incoming[i], close_cb); in read_cb()
118 unsigned int i; in connection_cb() local
136 for (i = 0; i < ARRAY_SIZE(tcp_incoming); i++) { in connection_cb()
137 incoming = &tcp_incoming[i]; in connection_cb()
143 unsigned int i; in TEST_IMPL() local
173 for (i = 0; i < ARRAY_SIZE(tcp_outgoing); i++) { in TEST_IMPL()
174 client = tcp_outgoing + i; in TEST_IMPL()
177 ASSERT_OK(uv_tcp_connect(&connect_reqs[i], in TEST_IMPL()