Lines Matching refs:i
64 int i; in getaddrinfo_cuncurrent_cb() local
67 for (i = 0; i < CONCURRENT_COUNT; i++) { in getaddrinfo_cuncurrent_cb()
68 if (&getaddrinfo_handles[i] == handle) { in getaddrinfo_cuncurrent_cb()
69 ASSERT_EQ(i, *data); in getaddrinfo_cuncurrent_cb()
71 callback_counts[i]++; in getaddrinfo_cuncurrent_cb()
75 ASSERT (i < CONCURRENT_COUNT); in getaddrinfo_cuncurrent_cb()
187 int i, r; in TEST_IMPL() local
190 for (i = 0; i < CONCURRENT_COUNT; i++) { in TEST_IMPL()
191 callback_counts[i] = 0; in TEST_IMPL()
195 *data = i; in TEST_IMPL()
196 getaddrinfo_handles[i].data = data; in TEST_IMPL()
199 &getaddrinfo_handles[i], in TEST_IMPL()
209 for (i = 0; i < CONCURRENT_COUNT; i++) { in TEST_IMPL()
210 ASSERT_EQ(1, callback_counts[i]); in TEST_IMPL()