/freebsd/lib/libc/tests/secure/ |
H A D | fortify_select_test.c | 179 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY() 200 const size_t __len = FD_SETSIZE; in ATF_TC_BODY() 221 const size_t __len = FD_SETSIZE + 1; in ATF_TC_BODY() 273 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY() 296 const size_t __len = FD_SETSIZE; in ATF_TC_BODY() 319 const size_t __len = FD_SETSIZE + 1; in ATF_TC_BODY() 373 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY() 394 const size_t __len = FD_SETSIZE; in ATF_TC_BODY() 415 const size_t __len = FD_SETSIZE + 1; in ATF_TC_BODY() 467 const size_t __len = FD_SETSIZE - 1; in ATF_TC_BODY() [all …]
|
/freebsd/sys/sys/ |
H A D | select.h | 64 #ifndef FD_SETSIZE 65 #define FD_SETSIZE 1024 macro 78 __fd_mask __fds_bits[_howmany(FD_SETSIZE, _NFDBITS)]; 94 if (idx >= FD_SETSIZE) in __fdset_idx() 116 _n = _howmany(FD_SETSIZE, _NFDBITS); \
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | SelectHelper.cpp | 98 lldbassert(m_fd_map.size() <= FD_SETSIZE); in Select() 99 if (m_fd_map.size() > FD_SETSIZE) in Select() 111 lldbassert(fd < static_cast<int>(FD_SETSIZE)); in Select() 112 if (fd >= static_cast<int>(FD_SETSIZE)) { in Select() 142 read_fdset.resize((nfds / FD_SETSIZE) + 1); in Select() 146 write_fdset.resize((nfds / FD_SETSIZE) + 1); in Select() 150 error_fdset.resize((nfds / FD_SETSIZE) + 1); in Select()
|
/freebsd/contrib/ntp/include/ |
H A D | ntif.h | 57 #ifdef FD_SETSIZE 58 #undef FD_SETSIZE 60 #define FD_SETSIZE 512 macro
|
H A D | ntp_select.h | 22 # define FD_SETSIZE 32 macro
|
/freebsd/lib/libc/rpc/ |
H A D | rpc_dtablesize.c | 57 if (size > FD_SETSIZE) in _rpc_dtablesize() 58 size = FD_SETSIZE; in _rpc_dtablesize()
|
H A D | svc.c | 106 mem_alloc((FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register() 111 memset(__svc_xports, '\0', (FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register() 113 if (sock < FD_SETSIZE) { in xprt_register() 117 } else if (sock == FD_SETSIZE) in xprt_register() 148 if ((sock < FD_SETSIZE) && (__svc_xports[sock] == xprt)) { in __xprt_do_unregister() 156 } else if ((sock == FD_SETSIZE) && (__svc_xports[sock] == xprt)) in __xprt_do_unregister() 599 for (sock = 0; sock < FD_SETSIZE; sock += NFDBITS) { in svc_getreqset()
|
/freebsd/usr.sbin/rpc.ypupdated/ |
H A D | ypupdated_main.c | 124 #ifdef FD_SETSIZE in ypupdated_svc_run() 137 #ifdef FD_SETSIZE in ypupdated_svc_run()
|
/freebsd/usr.sbin/rpc.ypxfrd/ |
H A D | ypxfrd_main.c | 127 #ifdef FD_SETSIZE in ypxfrd_svc_run() 140 #ifdef FD_SETSIZE in ypxfrd_svc_run()
|
/freebsd/contrib/telnet/telnet/ |
H A D | fdset.h | 38 #ifndef FD_SETSIZE
|
/freebsd/contrib/sendmail/include/sm/ |
H A D | fdset.h | 23 #define SM_FD_SETSIZE FD_SETSIZE
|
/freebsd/contrib/unbound/util/ |
H A D | mini_event.c | 107 #ifdef FD_SETSIZE in event_init() 108 if((int)FD_SETSIZE < base->capfd) in event_init() 109 base->capfd = (int)FD_SETSIZE; in event_init()
|
/freebsd/crypto/heimdal/appl/telnet/telnet/ |
H A D | sys_bsd.c | 779 if (net >= FD_SETSIZE in process_rings() 780 || tout >= FD_SETSIZE in process_rings() 781 || tin >= FD_SETSIZE) in process_rings() 801 if ((c = select(FD_SETSIZE, &ibits, &obits, &xbits, in process_rings()
|
H A D | network.c | 80 if (net >= FD_SETSIZE) in stilloob()
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | kadm_conn.c | 182 #ifdef FD_SETSIZE in wait_for_connection() 183 if (socks[i] >= FD_SETSIZE) in wait_for_connection()
|
/freebsd/crypto/heimdal/appl/rsh/ |
H A D | rsh.c | 89 if (s >= FD_SETSIZE || (errsock != -1 && errsock >= FD_SETSIZE)) in rsh_loop() 493 if (errsock >= FD_SETSIZE || s >= FD_SETSIZE) in proto()
|
H A D | rshd.c | 416 if(from0 >= FD_SETSIZE || from1 >= FD_SETSIZE || from2 >= FD_SETSIZE) in rshd_loop()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.c | 55 if (fd != -1 && fd >= FD_SETSIZE) { in ppoll()
|
H A D | bsd-pselect.c | 66 fcntl(r, F_SETFD, FD_CLOEXEC) < 0 || r >= FD_SETSIZE) in pselect_notify_setup_fd()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | connect.c | 563 #ifdef FD_SETSIZE in add_new_tcp() 564 if (s >= FD_SETSIZE) { in add_new_tcp() 873 #ifdef FD_SETSIZE in loop() 874 if (max_fd >= FD_SETSIZE) in loop()
|
/freebsd/usr.sbin/ypserv/ |
H A D | yp_main.c | 132 #ifdef FD_SETSIZE in yp_svc_run() 144 #ifdef FD_SETSIZE in yp_svc_run()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | mini_inetd.c | 128 if (fds[i] >= FD_SETSIZE) in mini_inetd_addrinfo()
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | net.h | 181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp.c | 565 return (select (FD_SETSIZE, mask, NULL, NULL, &t)); in empty() 1681 if (fileno(cin) >= FD_SETSIZE) in proxtrans() 1711 if (fileno (cin) >= FD_SETSIZE) in reset() 1789 if (fileno (cin) >= FD_SETSIZE) in abort_remote() 1793 if (fileno (din) >= FD_SETSIZE) in abort_remote()
|
/freebsd/lib/libcasper/libcasper/ |
H A D | libcasper_service.c | 261 assert(maxfd <= (int)FD_SETSIZE); in casper_main_loop()
|