Home | History | Annotate | Download | only in tests

Lines Matching defs:fds

43 	int fds[2];
44 pipe_maxfd(fds);
61 rc = writev(fds[1], efault, 42);
63 fds[1], efault, rc, errno2name());
65 rc = readv(fds[0], efault, 42);
67 fds[0], efault, rc, errno2name());
89 fds[1], (long) writev(fds[1], w_iov, 0));
91 rc = writev(fds[1], w_iov + ARRAY_SIZE(w_iov_) - 1, 2);
94 fds[1], w2_c, LENGTH_OF(w2_c), w_iov + ARRAY_SIZE(w_iov_),
100 assert(writev(fds[1], w_iov, ARRAY_SIZE(w_iov_)) == (int) w_len);
101 close(fds[1]);
111 fds[1], w0_c, LENGTH_OF(w0_c), w1_c, LENGTH_OF(w1_c),
126 assert(readv(fds[0], r_iov, ARRAY_SIZE(r0_iov_)) == (int) r_len);
130 fds[0], r0_c, r_len, (unsigned int) ARRAY_SIZE(r0_iov_),
147 assert(readv(fds[0], r_iov, ARRAY_SIZE(r1_iov_)) == (int) w_len - (int) r_len);
152 fds[0], r1_c, r_len, w_len, (unsigned int) ARRAY_SIZE(r1_iov_),
154 close(fds[0]);