Home
last modified time | relevance | path

Searched refs:FD_ISSET (Results 1 – 25 of 111) sorted by relevance

12345

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dselect.d84 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure in version()
157 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure in version()
200 extern (D) bool FD_ISSET( int n, const(fd_set)* p ) pure in version()
249 extern (D) bool FD_ISSET( int n, const(fd_set)* p ) pure in version()
298 extern (D) bool FD_ISSET(int n, const(fd_set)* p) pure in version()
345 extern (D) bool FD_ISSET( int n, const(fd_set)* p ) pure in version()
399 extern (D) bool FD_ISSET(int __n, const(fd_set)* __p) pure in version()
443 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure in version()
491 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure in version()
538 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure in version()
[all …]
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dsunos57-select.c86 bool isread = (readfds && FD_ISSET (fd, readfds)); in rpl_select()
87 bool isexcept = (exceptfds && FD_ISSET (fd, exceptfds)); in rpl_select()
88 bool iswrite = (writefds && FD_ISSET (fd, writefds)); in rpl_select()
209 if (FD_ISSET (fd, &null_rfds)) in rpl_select()
215 if (FD_ISSET (fd, &null_wfds)) in rpl_select()
/netbsd-src/external/bsd/ipf/dist/samples/
H A Drelay.c65 if (FD_ISSET(ifd, &rfds)) {
74 if (n && FD_ISSET(ofd, &wfds)) {
81 if (n && FD_ISSET(rfd, &rfds)) {
90 if (n && FD_ISSET(rfd, &wfds)) {
H A Dproxy.c269 if ((n > 0) && FD_ISSET(in, &rd)) {
278 if ((n > 0) && FD_ISSET(net, &rd)) {
287 if ((n > 0) && FD_ISSET(out, &wr)) {
300 if ((n > 0) && FD_ISSET(net, &wr)) {
/netbsd-src/external/bsd/libbind/dist/isc/
H A Dev_files.c200 !FD_ISSET(del->fd, &ctx->nonblockBefore) && in evDeselectFD()
231 if (FD_ISSET(del->fd, &ctx->rdLast)) { in evDeselectFD()
238 if (FD_ISSET(del->fd, &ctx->wrLast)) { in evDeselectFD()
245 if (FD_ISSET(del->fd, &ctx->exLast)) { in evDeselectFD()
H A Deventlib.c367 if (FD_ISSET(x, &ctx->rdNext) == 0 && in evGetNext()
368 FD_ISSET(x, &ctx->wrNext) == 0 && in evGetNext()
369 FD_ISSET(x, &ctx->exNext) == 0) in evGetNext()
437 if (FD_ISSET(fd, &ctx->rdLast)) in evGetNext()
439 if (FD_ISSET(fd, &ctx->wrLast)) in evGetNext()
441 if (FD_ISSET(fd, &ctx->exLast)) in evGetNext()
795 if (FD_ISSET(i, &ctx->rdLast)) in pselect()
797 if (FD_ISSET(i, &ctx->wrLast)) in pselect()
799 if (FD_ISSET(i, &ctx->exLast)) in pselect()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dselect.c535 if (FD_ISSET (s, &handle_rfds)) in rpl_select()
537 if (FD_ISSET (s, &handle_wfds)) in rpl_select()
539 if (FD_ISSET (s, &handle_xfds)) in rpl_select()
580 if (((rfds && FD_ISSET (i, rfds)) in rpl_select()
581 || (wfds && FD_ISSET (i, wfds)) in rpl_select()
582 || (xfds && FD_ISSET (i, xfds))) in rpl_select()
H A Dsys_select.in.h176 # undef FD_ISSET
177 # define FD_ISSET(fd, set) rpl_fd_isset(fd, set)
/netbsd-src/tests/lib/libc/sys/
H A Dt_eventfd.c310 ATF_REQUIRE(!FD_ISSET(efd, &readfds)); in ATF_TC_BODY()
311 ATF_REQUIRE(FD_ISSET(efd, &writefds)); in ATF_TC_BODY()
312 ATF_REQUIRE(!FD_ISSET(efd, &exceptfds)); in ATF_TC_BODY()
347 ATF_REQUIRE(FD_ISSET(efd, &readfds)); in ATF_TC_BODY()
348 ATF_REQUIRE(!FD_ISSET(efd, &writefds)); in ATF_TC_BODY()
349 ATF_REQUIRE(!FD_ISSET(efd, &exceptfds)); in ATF_TC_BODY()
428 ATF_REQUIRE(FD_ISSET(ctx->efd, &selfds)); in eventfd_select_poll_kevent_block_helper()
443 ATF_REQUIRE(FD_ISSET(ctx->efd, &selfds)); in eventfd_select_poll_kevent_block_helper()
H A Dt_timerfd.c238 ATF_CHECK(!FD_ISSET(fd, &readfds)); in ATF_TC_BODY()
548 ATF_REQUIRE(!FD_ISSET(fd, &readfds)); in ATF_TC_BODY()
549 ATF_REQUIRE(!FD_ISSET(fd, &writefds)); in ATF_TC_BODY()
550 ATF_REQUIRE(!FD_ISSET(fd, &exceptfds)); in ATF_TC_BODY()
582 ATF_REQUIRE(FD_ISSET(fd, &readfds)); in ATF_TC_HEAD()
583 ATF_REQUIRE(!FD_ISSET(fd, &writefds)); in ATF_TC_BODY()
584 ATF_REQUIRE(!FD_ISSET(fd, &exceptfds)); in ATF_TC_BODY()
669 ATF_REQUIRE(FD_ISSET(fd, &readfds)); in ATF_TP_ADD_TCS()
/netbsd-src/regress/sys/kern/select/
H A Dselect.c104 assert(!FD_ISSET(fd, &set)); in f()
143 if (FD_ISSET(fd, &set)) { in f()
150 if (!FD_ISSET(fd, &oset)) { in f()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/
H A Drlptytest.c192 if (FD_ISSET(slavefd, &rset)) in main_loop()
198 if (FD_ISSET(masterfd, &rset)) in main_loop()
203 if (FD_ISSET(STDIN_FILENO, &rset)) in main_loop()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/
H A Drlptytest.c192 if (FD_ISSET(slavefd, &rset)) in main_loop()
198 if (FD_ISSET(masterfd, &rset)) in main_loop()
203 if (FD_ISSET(STDIN_FILENO, &rset)) in main_loop()
/netbsd-src/usr.sbin/altq/altqd/
H A Daltqd.c262 if (fp && FD_ISSET(fd, &rfds)) { in main()
270 } else if (qpsock >= 0 && FD_ISSET(qpsock, &rfds)) { in main()
299 if (FD_ISSET(fd1, &rfds)) { in main()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dfifo_rdonly_bug.c114 if (FD_ISSET(fd, &except_fds)) { in main()
117 } else if (FD_ISSET(fd, &read_fds)) { in main()
/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Dconnection.cc93 if (m_aux_fd != -1 && FD_ISSET (m_aux_fd, &read_set)) in do_wait()
106 if (FD_ISSET (m_fd, &read_set)) in do_wait()
/netbsd-src/external/gpl3/gcc.old/dist/libcc1/
H A Dconnection.cc102 if (m_aux_fd != -1 && FD_ISSET (m_aux_fd, &read_set)) in do_wait()
115 if (FD_ISSET (m_fd, &read_set)) in do_wait()
/netbsd-src/usr.sbin/faithd/
H A Dtcp.c239 if (FD_ISSET(s_rcv, &exceptfds)) { in relay()
262 if (FD_ISSET(s_rcv, &readfds)) { in relay()
292 if (FD_ISSET(s_snd, &writefds)) in relay()
/netbsd-src/tests/net/can/
H A Dh_canutils.c119 ATF_CHECK_MSG(FD_ISSET(s, &rfds), "select returns but s not in set"); in can_recvfrom()
157 ATF_CHECK_MSG(FD_ISSET(s, &rfds), "select returns but s not in set"); in can_read()
H A Dt_can.c672 ATF_CHECK_MSG(FD_ISSET(s1, &rfds) || FD_ISSET(s2, &rfds), in ATF_TC_BODY()
674 if (FD_ISSET(s1, &rfds)) { in ATF_TC_BODY()
696 if (FD_ISSET(s2, &rfds)) { in ATF_TC_BODY()
/netbsd-src/usr.sbin/sdpd/
H A Dserver.c325 if (!FD_ISSET(fd, &fdset)) in server_do()
371 assert(!FD_ISSET(cfd, &srv->fdset)); in server_accept_client()
418 assert(FD_ISSET(fd, &srv->fdset)); in server_process_request()
557 assert(FD_ISSET(fd, &srv->fdset)); in server_close_fd()
/netbsd-src/lib/libc/rpc/
H A Dsvc_fdset.c102 if (!FD_ISSET(i, fds->fdset)) in svc_fdset_print()
144 while (fds->fdmax >= 0 && !FD_ISSET(fds->fdmax, fds->fdset)) in svc_fdset_sanitize()
366 return FD_ISSET(fd, fds->fdset) != 0; in svc_fdset_isset()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dos-ip.c386 if ( FD_ISSET(s, &efds) ) { in ldap_int_poll()
402 if ( FD_ISSET(s, &wfds) ) { in ldap_int_poll()
1017 if ( !FD_ISSET( sd, &sip->si_writefds )) { in ldap_mark_select_write()
1062 if ( !FD_ISSET( sd, &sip->si_readfds )) { in ldap_mark_select_read()
1147 return( FD_ISSET( sd, &sip->si_use_writefds )); in ldap_is_write_ready()
1179 return( FD_ISSET( sd, &sip->si_use_readfds )); in ldap_is_read_ready()
/netbsd-src/external/bsd/nsd/dist/
H A Dmini_event.c226 if(!base->fds[i] || !(FD_ISSET(i, &base->ready))) { in handle_select()
229 if(FD_ISSET(i, &r)) { in handle_select()
233 if(FD_ISSET(i, &w)) { in handle_select()
/netbsd-src/external/bsd/unbound/dist/util/
H A Dmini_event.c208 if(!base->fds[i] || !(FD_ISSET(i, &base->ready))) { in handle_select()
211 if(FD_ISSET(i, &r)) { in handle_select()
215 if(FD_ISSET(i, &w)) { in handle_select()

12345