Home
last modified time | relevance | path

Searched refs:fds2 (Results 1 – 5 of 5) sorted by relevance

/external/strace/tests-mx32/
Dppoll.c148 const struct pollfd fds2[] = { in main() local
152 fds = efault - sizeof(fds2); in main()
153 memcpy(fds, fds2, sizeof(fds2)); in main()
162 F8ILL_KULONG_MASK | ARRAY_SIZE(fds2), (unsigned long) ts, in main()
171 (unsigned) ARRAY_SIZE(fds2), sigset_size, rc); in main()
174 sys_ppoll(f8ill_ptr_to_kulong(fds), ARRAY_SIZE(fds2), in main()
179 (unsigned) ARRAY_SIZE(fds2), in main()
/external/strace/tests-m32/
Dppoll.c148 const struct pollfd fds2[] = { in main() local
152 fds = efault - sizeof(fds2); in main()
153 memcpy(fds, fds2, sizeof(fds2)); in main()
162 F8ILL_KULONG_MASK | ARRAY_SIZE(fds2), (unsigned long) ts, in main()
171 (unsigned) ARRAY_SIZE(fds2), sigset_size, rc); in main()
174 sys_ppoll(f8ill_ptr_to_kulong(fds), ARRAY_SIZE(fds2), in main()
179 (unsigned) ARRAY_SIZE(fds2), in main()
/external/strace/tests/
Dppoll.c148 const struct pollfd fds2[] = { in main() local
152 fds = efault - sizeof(fds2); in main()
153 memcpy(fds, fds2, sizeof(fds2)); in main()
162 F8ILL_KULONG_MASK | ARRAY_SIZE(fds2), (unsigned long) ts, in main()
171 (unsigned) ARRAY_SIZE(fds2), sigset_size, rc); in main()
174 sys_ppoll(f8ill_ptr_to_kulong(fds), ARRAY_SIZE(fds2), in main()
179 (unsigned) ARRAY_SIZE(fds2), in main()
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait01.c37 static int write_size, epfd, fds[2], fds2[2]; variable
80 SAFE_PIPE(cleanup, fds2); in setup()
92 epevs[2].data.fd = fds2[0]; in setup()
96 epoll_ctl(epfd, EPOLL_CTL_ADD, fds2[0], &epevs[2])) { in setup()
273 if (fds2[0] > 0 && close(fds2[0])) in cleanup()
276 if (fds2[1] > 0 && close(fds2[1])) in cleanup()
/external/libdaemon/examples/
Dtestd.c143 fd_set fds2 = fds; in main() local
146 if (select(FD_SETSIZE, &fds2, 0, 0, 0) < 0) { in main()
157 if (FD_ISSET(fd, &fds2)) { in main()