Lines Matching refs:reqs
31 (ci)->reqs = (what); \
38 void* reqs; member
171 req = (uv_req_t*) ((char*) ci->reqs + i * ci->stride); in timer_cb()
201 uv_getaddrinfo_t reqs[4]; in TEST_IMPL() local
207 INIT_CANCEL_INFO(&ci, reqs); in TEST_IMPL()
211 r = uv_getaddrinfo(loop, reqs + 0, getaddrinfo_cb, "fail", NULL, NULL); in TEST_IMPL()
214 r = uv_getaddrinfo(loop, reqs + 1, getaddrinfo_cb, NULL, "fail", NULL); in TEST_IMPL()
217 r = uv_getaddrinfo(loop, reqs + 2, getaddrinfo_cb, "fail", "fail", NULL); in TEST_IMPL()
220 r = uv_getaddrinfo(loop, reqs + 3, getaddrinfo_cb, "fail", NULL, &hints); in TEST_IMPL()
234 uv_getnameinfo_t reqs[4]; in TEST_IMPL() local
243 INIT_CANCEL_INFO(&ci, reqs); in TEST_IMPL()
247 r = uv_getnameinfo(loop, reqs + 0, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL()
250 r = uv_getnameinfo(loop, reqs + 1, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL()
253 r = uv_getnameinfo(loop, reqs + 2, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL()
256 r = uv_getnameinfo(loop, reqs + 3, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL()
294 uv_work_t reqs[16]; in TEST_IMPL() local
298 INIT_CANCEL_INFO(&ci, reqs); in TEST_IMPL()
302 for (i = 0; i < ARRAY_SIZE(reqs); i++) in TEST_IMPL()
303 ASSERT_OK(uv_queue_work(loop, reqs + i, work2_cb, done2_cb)); in TEST_IMPL()
309 ASSERT_EQ(ARRAY_SIZE(reqs), done2_cb_called); in TEST_IMPL()
318 uv_fs_t reqs[26]; in TEST_IMPL() local
323 INIT_CANCEL_INFO(&ci, reqs); in TEST_IMPL()
330 ASSERT_OK(uv_fs_chmod(loop, reqs + n++, "/", 0, fs_cb)); in TEST_IMPL()
331 ASSERT_OK(uv_fs_chown(loop, reqs + n++, "/", 0, 0, fs_cb)); in TEST_IMPL()
332 ASSERT_OK(uv_fs_close(loop, reqs + n++, 0, fs_cb)); in TEST_IMPL()
333 ASSERT_OK(uv_fs_fchmod(loop, reqs + n++, 0, 0, fs_cb)); in TEST_IMPL()
334 ASSERT_OK(uv_fs_fchown(loop, reqs + n++, 0, 0, 0, fs_cb)); in TEST_IMPL()
335 ASSERT_OK(uv_fs_fdatasync(loop, reqs + n++, 0, fs_cb)); in TEST_IMPL()
336 ASSERT_OK(uv_fs_fstat(loop, reqs + n++, 0, fs_cb)); in TEST_IMPL()
337 ASSERT_OK(uv_fs_fsync(loop, reqs + n++, 0, fs_cb)); in TEST_IMPL()
338 ASSERT_OK(uv_fs_ftruncate(loop, reqs + n++, 0, 0, fs_cb)); in TEST_IMPL()
339 ASSERT_OK(uv_fs_futime(loop, reqs + n++, 0, 0, 0, fs_cb)); in TEST_IMPL()
340 ASSERT_OK(uv_fs_link(loop, reqs + n++, "/", "/", fs_cb)); in TEST_IMPL()
341 ASSERT_OK(uv_fs_lstat(loop, reqs + n++, "/", fs_cb)); in TEST_IMPL()
342 ASSERT_OK(uv_fs_mkdir(loop, reqs + n++, "/", 0, fs_cb)); in TEST_IMPL()
343 ASSERT_OK(uv_fs_open(loop, reqs + n++, "/", 0, 0, fs_cb)); in TEST_IMPL()
344 ASSERT_OK(uv_fs_read(loop, reqs + n++, -1, &iov, 1, 0, fs_cb)); in TEST_IMPL()
345 ASSERT_OK(uv_fs_scandir(loop, reqs + n++, "/", 0, fs_cb)); in TEST_IMPL()
346 ASSERT_OK(uv_fs_readlink(loop, reqs + n++, "/", fs_cb)); in TEST_IMPL()
347 ASSERT_OK(uv_fs_realpath(loop, reqs + n++, "/", fs_cb)); in TEST_IMPL()
348 ASSERT_OK(uv_fs_rename(loop, reqs + n++, "/", "/", fs_cb)); in TEST_IMPL()
349 ASSERT_OK(uv_fs_mkdir(loop, reqs + n++, "/", 0, fs_cb)); in TEST_IMPL()
350 ASSERT_OK(uv_fs_sendfile(loop, reqs + n++, 0, 0, 0, 0, fs_cb)); in TEST_IMPL()
351 ASSERT_OK(uv_fs_stat(loop, reqs + n++, "/", fs_cb)); in TEST_IMPL()
352 ASSERT_OK(uv_fs_symlink(loop, reqs + n++, "/", "/", 0, fs_cb)); in TEST_IMPL()
353 ASSERT_OK(uv_fs_unlink(loop, reqs + n++, "/", fs_cb)); in TEST_IMPL()
354 ASSERT_OK(uv_fs_utime(loop, reqs + n++, "/", 0, 0, fs_cb)); in TEST_IMPL()
355 ASSERT_OK(uv_fs_write(loop, reqs + n++, -1, &iov, 1, 0, fs_cb)); in TEST_IMPL()
356 ASSERT_EQ(n, ARRAY_SIZE(reqs)); in TEST_IMPL()