Searched defs:pipe_fds (Results 1 - 1 of 1) sorted by relevance

/bionic/tests/
H A Dfcntl_test.cpp158 int pipe_fds[2]; local
159 ASSERT_EQ(0, pipe(pipe_fds));
166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE);
169 ssize_t bytes_written = splice(pipe_fds[0], NULL, tf.fd, 0, bytes_read, SPLICE_F_MORE | SPLICE_F_MOVE);
172 close(pipe_fds[0]);
173 close(pipe_fds[1]);
178 int pipe_fds[2]; local
179 ASSERT_EQ(0, pipe(pipe_fds));
186 ssize_t bytes_written = vmsplice(pipe_fds[1], v, sizeof(v)/sizeof(iovec), 0);
188 close(pipe_fds[
[all...]

Completed in 28 milliseconds