Home
last modified time | relevance | path

Searched refs:pipe_fds (Results 1 – 2 of 2) sorted by relevance

/libuv/test/
H A Dtest-eintr-handling.c42 int pipe_fds[2]; variable
54 nwritten = write(pipe_fds[1], test_buf, sizeof(test_buf)); in thread_main()
76 ASSERT_OK(pipe(pipe_fds)); in TEST_IMPL()
79 nread = uv_fs_read(loop, &read_req, pipe_fds[0], &iov, 1, -1, NULL); in TEST_IMPL()
86 ASSERT_OK(close(pipe_fds[0])); in TEST_IMPL()
87 ASSERT_OK(close(pipe_fds[1])); in TEST_IMPL()
H A Dtest-fs.c3801 int pipe_fds[2]; in test_fs_partial() local
3829 ASSERT_OK(pipe(pipe_fds)); in test_fs_partial()
3831 ctx.fd = pipe_fds[doread]; in test_fs_partial()
3841 result = uv_fs_read(loop, &read_req, pipe_fds[0], read_iovs, iovcount, -1, NULL); in test_fs_partial()
3855 result = uv_fs_write(loop, &write_req, pipe_fds[1], iovs, iovcount, -1, NULL); in test_fs_partial()
3867 ASSERT_OK(close(pipe_fds[1])); in test_fs_partial()
3872 result = uv_fs_read(loop, &read_req, pipe_fds[0], iovs, 1, -1, NULL); in test_fs_partial()
3876 ASSERT_OK(close(pipe_fds[0])); in test_fs_partial()

Completed in 16 milliseconds