Searched refs:FD_ISSET (Results 1 - 25 of 171) sorted by relevance

1234567

/freebsd-11-stable/contrib/sendmail/include/sm/
H A Dfdset.h21 #define SM_FD_ISSET(fd, pfdset) FD_ISSET(fd, pfdset)
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dkludge-fd_set.c4 * _FORTIFY_SOURCE includes a misguided check for FD_SET(n)/FD_ISSET(b)
23 return FD_ISSET(n, set);
H A Dbsd-poll.c98 if (FD_ISSET(fd, readfds)) {
101 if (FD_ISSET(fd, writefds)) {
104 if (FD_ISSET(fd, exceptfds)) {
H A Dopenbsd-compat.h316 /* _FORTIFY_SOURCE breaks FD_ISSET(n)/FD_SET(n) for n > FD_SETSIZE. Avoid. */
323 # undef FD_ISSET macro
325 # define FD_ISSET(n, set) kludge_FD_ISSET(n, set) macro
/freebsd-11-stable/contrib/telnet/telnet/
H A Dfdset.h42 #define FD_ISSET(n, p) ((p)->fds_bits[0] & (1<<(n))) macro
H A Dnetwork.c97 if (FD_ISSET(net, &excepts)) {
/freebsd-11-stable/tools/regression/poll/
H A Dpipeselect.c91 report(num++, "0", 1, FD_ISSET(fd, &rfds));
110 report(num++, "1", 0, FD_ISSET(fd, &rfds));
119 report(num++, "2", 1, FD_ISSET(fd, &rfds));
125 report(num++, "2a", 0, FD_ISSET(fd, &rfds));
134 report(num++, "3", 1, FD_ISSET(fd, &rfds));
150 report(num++, "4", 0, FD_ISSET(fd, &rfds));
159 report(num++, "5", 1, FD_ISSET(fd, &rfds));
173 report(num++, "6", 1, FD_ISSET(fd, &rfds));
179 report(num++, "6a", 1, FD_ISSET(fd, &rfds));
199 report(num++, "6b", 1, FD_ISSET(f
[all...]
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_select.h25 # define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS))) macro
/freebsd-11-stable/contrib/apr/poll/unix/
H A Dselect.c166 if (FD_ISSET(fd, &readset)) {
169 if (FD_ISSET(fd, &writeset)) {
172 if (FD_ISSET(fd, &exceptset)) {
416 if (FD_ISSET(fd, &readset) || FD_ISSET(fd, &writeset) ||
417 FD_ISSET(fd, &exceptset)) {
420 if (FD_ISSET(fd, &readset)) {
423 if (FD_ISSET(fd, &writeset)) {
426 if (FD_ISSET(fd, &exceptset)) {
/freebsd-11-stable/usr.bin/rsh/
H A Drsh.c271 if (!FD_ISSET(rem, &rembits))
314 if (FD_ISSET(rfd2, &ready)) {
323 if (FD_ISSET(rem, &ready)) {
332 } while (FD_ISSET(rfd2, &readfrom) || FD_ISSET(rem, &readfrom));
/freebsd-11-stable/contrib/libreadline/examples/
H A Drlptytest.c185 if (FD_ISSET(slavefd, &rset))
191 if (FD_ISSET(masterfd, &rset))
196 if (FD_ISSET(STDIN_FILENO, &rset))
H A Dexcallback.c132 if( FD_ISSET(fileno(stdin), &fds) ) {
/freebsd-11-stable/contrib/ipfilter/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)) {
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dnetwork.c91 if (FD_ISSET(net, &excepts)) {
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dnet_write.c96 if (!FD_ISSET(fd, &wfds)) {
/freebsd-11-stable/sys/sys/
H A Dselect.h83 #define FD_ISSET(n, p) (((p)->__fds_bits[(n)/_NFDBITS] & __fdset_mask(n)) != 0) macro
/freebsd-11-stable/contrib/pf/libevent/
H A Dselect.c117 if (FD_ISSET(i, sop->event_readset_in)) {
124 if (FD_ISSET(i, sop->event_writeset_in)) {
188 if (FD_ISSET(i, sop->event_readset_out)) {
192 if (FD_ISSET(i, sop->event_writeset_out)) {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp238 if (FD_ISSET(fd, read_fdset_ptr))
242 if (FD_ISSET(fd, write_fdset_ptr))
246 if (FD_ISSET(fd, error_fdset_ptr))
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dlibmilter.h224 # define FD_IS_RD_EXC(sd, rds, excs) FD_ISSET(sd, &(excs))
225 # define FD_IS_WR_RDY(sd, wrs) FD_ISSET((sd), &(wrs))
226 # define FD_IS_RD_RDY(sd, rds, excs) FD_ISSET((sd), &(rds))
/freebsd-11-stable/contrib/gdb/gdb/
H A Devent-loop.c620 if (FD_ISSET (i - 1, &gdb_notifier.check_masks[0])
621 || FD_ISSET (i - 1, &gdb_notifier.check_masks[1])
622 || FD_ISSET (i - 1, &gdb_notifier.check_masks[2]))
838 if (FD_ISSET (file_ptr->fd, &gdb_notifier.ready_masks[0]))
840 if (FD_ISSET (file_ptr->fd, &gdb_notifier.ready_masks[1]))
842 if (FD_ISSET (file_ptr->fd, &gdb_notifier.ready_masks[2]))
/freebsd-11-stable/contrib/unbound/util/
H A Dmini_event.c205 if(!base->fds[i] || !(FD_ISSET(i, &base->ready))) {
208 if(FD_ISSET(i, &r)) {
212 if(FD_ISSET(i, &w)) {
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c70 if (FD_ISSET(pipefd[0], &rfds))
/freebsd-11-stable/tools/tools/net80211/wesside/udps/
H A Dudps.c168 if (rd == 1 && FD_ISSET(s, &rfds)) {
/freebsd-11-stable/usr.sbin/ngctl/
H A Dmain.c375 if (!FD_ISSET(0, &rfds))
382 if (FD_ISSET(0, &rfds)) {
404 if (FD_ISSET(csock, rfds))
408 if (FD_ISSET(dsock, rfds)) {

Completed in 199 milliseconds

1234567