Searched refs:pipe_fds (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | fcntl_test.cpp | 180 int pipe_fds[2]; in TEST() local 181 ASSERT_EQ(0, pipe(pipe_fds)); in TEST() 188 …ssize_t bytes_read = splice(in, nullptr, pipe_fds[1], nullptr, 8*1024, SPLICE_F_MORE | SPLICE_F_MO… in TEST() 191 …ssize_t bytes_written = splice(pipe_fds[0], nullptr, tf.fd, nullptr, bytes_read, SPLICE_F_MORE | S… in TEST() 194 close(pipe_fds[0]); in TEST() 195 close(pipe_fds[1]); in TEST() 200 int pipe_fds[2]; in TEST() local 201 ASSERT_EQ(0, pipe(pipe_fds)); in TEST() 208 ssize_t bytes_written = vmsplice(pipe_fds[1], v, sizeof(v)/sizeof(iovec), 0); in TEST() 210 close(pipe_fds[1]); in TEST() [all …]
|
D | clang_fortify_tests.cpp | 431 int pipe_fds[2]; in FORTIFY_TEST() local 432 if (pipe(pipe_fds)) err(1, "pipe failed"); in FORTIFY_TEST() 435 if (close(pipe_fds[1])) err(1, "close failed"); in FORTIFY_TEST() 437 struct pollfd poll_fd = { pipe_fds[0], POLLRDHUP, 0 }; in FORTIFY_TEST()
|