Searched refs:pipe_fds (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | fcntl_test.cpp | 158 int pipe_fds[2]; in TEST() local 159 ASSERT_EQ(0, pipe(pipe_fds)); in TEST() 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); in TEST() 169 …ssize_t bytes_written = splice(pipe_fds[0], NULL, tf.fd, 0, bytes_read, SPLICE_F_MORE | SPLICE_F_M… in TEST() 172 close(pipe_fds[0]); in TEST() 173 close(pipe_fds[1]); in TEST() 178 int pipe_fds[2]; in TEST() local 179 ASSERT_EQ(0, pipe(pipe_fds)); in TEST() 186 ssize_t bytes_written = vmsplice(pipe_fds[1], v, sizeof(v)/sizeof(iovec), 0); in TEST() 188 close(pipe_fds[1]); in TEST() [all …]
|