Searched defs:writefds (Results 1 - 7 of 7) sorted by relevance
/external/openssh/openbsd-compat/ |
H A D | bsd-poll.c | 45 fd_set *readfds = NULL, *writefds = NULL, *exceptfds = NULL; local 60 (writefds = calloc(nmemb, sizeof(fd_mask))) == NULL || 77 FD_SET(fd, writefds); 89 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp); 101 if (FD_ISSET(fd, writefds)) { 111 free(writefds);
|
/external/ltp/testcases/kernel/syscalls/eventfd/ |
H A D | eventfd01.c | 359 fd_set writefds; local 363 FD_ZERO(&writefds); 364 FD_SET(fd, &writefds); 373 ret = select(fd + 1, NULL, &writefds, NULL, &timeout); 380 if (FD_ISSET(fd, &writefds)) 381 tst_resm(TPASS, "fd is set in writefds"); 383 tst_resm(TFAIL, "fd is not set in writefds"); 393 fd_set writefds; local 396 FD_ZERO(&writefds); 397 FD_SET(fd, &writefds); [all...] |
/external/selinux/policycoreutils/run_init/ |
H A D | open_init_pty.c | 208 fd_set writefds; local 297 FD_ZERO(&writefds); 305 FD_SET(pty_master, &writefds); 315 FD_SET(STDOUT_FILENO, &writefds); 331 int select_rc = select(pty_master + 1, &readfds, &writefds, NULL, NULL); 340 if (FD_ISSET(STDOUT_FILENO, &writefds)) { 355 if (FD_ISSET(pty_master, &writefds)) {
|
/external/v8/src/ |
H A D | d8-posix.cc | 83 fd_set readfds, writefds, exceptfds; local 95 FD_ZERO(&writefds); 107 &writefds,
|
/external/curl/tests/server/ |
H A D | sockfilt.c | 685 static int select_ws(int nfds, fd_set *readfds, fd_set *writefds, argument 746 if(FD_ISSET(fds, writefds)) 819 FD_CLR(sock, writefds); 838 FD_CLR(sock, writefds); 856 if(FD_ISSET(sock, readfds) || FD_ISSET(sock, writefds) || 864 FD_CLR(sock, writefds); 873 if(FD_ISSET(fds, writefds))
|
/external/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cc | 691 int __dfsw_select(int nfds, fd_set *readfds, fd_set *writefds, argument 696 int ret = select(nfds, readfds, writefds, exceptfds, timeout); 702 if (writefds) { 703 dfsan_set_label(0, writefds, sizeof(fd_set));
|
/external/fio/os/windows/ |
H A D | posix.c | 802 fd_set readfds, writefds, exceptfds; local 813 FD_ZERO(&writefds); 827 FD_SET(fds[i].fd, &writefds); 831 rc = select(nfds, &readfds, &writefds, &exceptfds, to); 843 if ((fds[i].events & POLLOUT) && FD_ISSET(fds[i].fd, &writefds))
|
Completed in 504 milliseconds