Home
last modified time | relevance | path

Searched refs:writefds (Results 1 – 13 of 13) sorted by relevance

/external/openssh/openbsd-compat/
Dbsd-poll.c45 fd_set *readfds = NULL, *writefds = NULL, *exceptfds = NULL; in poll() local
60 (writefds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll()
77 FD_SET(fd, writefds); in poll()
89 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp); in poll()
101 if (FD_ISSET(fd, writefds)) { in poll()
111 free(writefds); in poll()
/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c358 fd_set writefds; in writefd_set_test() local
362 FD_ZERO(&writefds); in writefd_set_test()
363 FD_SET(fd, &writefds); in writefd_set_test()
372 ret = select(fd + 1, NULL, &writefds, NULL, &timeout); in writefd_set_test()
379 if (FD_ISSET(fd, &writefds)) in writefd_set_test()
392 fd_set writefds; in writefd_not_set_test() local
395 FD_ZERO(&writefds); in writefd_not_set_test()
396 FD_SET(fd, &writefds); in writefd_not_set_test()
404 ret = select(fd + 1, NULL, &writefds, NULL, &timeout); in writefd_not_set_test()
411 if (!FD_ISSET(fd, &writefds)) in writefd_not_set_test()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c230 fd_set writefds; in main() local
323 FD_ZERO(&writefds); in main()
331 FD_SET(pty_master, &writefds); in main()
341 FD_SET(STDOUT_FILENO, &writefds); in main()
357 int select_rc = select(pty_master + 1, &readfds, &writefds, NULL, NULL); in main()
366 if (FD_ISSET(STDOUT_FILENO, &writefds)) { in main()
381 if (FD_ISSET(pty_master, &writefds)) { in main()
/external/adhd/cras/src/tests/
Ddbus_test.cc695 fd_set readfds, writefds; in DispatchOnce() local
703 FD_ZERO(&writefds); in DispatchOnce()
720 FD_SET(fd, &writefds); in DispatchOnce()
747 r = select(nfds, &readfds, &writefds, NULL, &timeval); in DispatchOnce()
749 r = select(nfds, &readfds, &writefds, NULL, NULL); in DispatchOnce()
770 if (FD_ISSET(fd, &writefds)) in DispatchOnce()
Daudio_thread_unittest_obsolete.cc2129 fd_set *writefds, in select() argument
/external/curl/tests/server/
Dsockfilt.c694 static int select_ws(int nfds, fd_set *readfds, fd_set *writefds, in select_ws() argument
751 if(FD_ISSET(fds, writefds)) in select_ws()
825 FD_CLR(sock, writefds); in select_ws()
844 FD_CLR(sock, writefds); in select_ws()
862 if(FD_ISSET(sock, readfds) || FD_ISSET(sock, writefds) || in select_ws()
870 FD_CLR(sock, writefds); in select_ws()
879 if(FD_ISSET(fds, writefds)) in select_ws()
/external/libhevc/encoder/
Dosal_select_engine.h58 osal_select_entry_t *writefds[MAX_FDS]; /* To check for write */ member
Dosal.h534 INOUT osal_fd_set_t *writefds,
/external/compiler-rt/lib/dfsan/
Ddfsan_custom.cc691 int __dfsw_select(int nfds, fd_set *readfds, fd_set *writefds, in __dfsw_select() argument
696 int ret = select(nfds, readfds, writefds, exceptfds, timeout); in __dfsw_select()
702 if (writefds) { in __dfsw_select()
703 dfsan_set_label(0, writefds, sizeof(fd_set)); in __dfsw_select()
/external/v8/src/
Dd8-posix.cc85 fd_set readfds, writefds, exceptfds; in WaitOnFD() local
97 FD_ZERO(&writefds); in WaitOnFD()
107 int number_of_fds_ready = select(fd + 1, &readfds, &writefds, &exceptfds, in WaitOnFD()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_ops.hpp206 ASIO_DECL int select(int nfds, fd_set* readfds, fd_set* writefds,
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp1258 int select(int nfds, fd_set* readfds, fd_set* writefds,
1268 writefds, exceptfds, timeout ? &ts : 0, 0), ec);
1271 writefds, exceptfds, timeout), ec);
/external/syzkaller/sys/windows/
Dwindows.txt2384 select(nfds int32, readfds ptr[inout, intptr], writefds ptr[inout, intptr], exceptfds ptr[inout, in…