Home
last modified time | relevance | path

Searched refs:FD_SETSIZE (Results 1 – 25 of 78) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dselect.d72 enum FD_SETSIZE = 1024; in version() local
76 __fd_mask[FD_SETSIZE / __NFDBITS] fds_bits; in version()
145 enum FD_SETSIZE = 1024; in version() local
149 int[(FD_SETSIZE + (__DARWIN_NFDBITS - 1)) / __DARWIN_NFDBITS] fds_bits; in version()
183 enum uint FD_SETSIZE = 1024; in version() local
187 __fd_mask[(FD_SETSIZE + (_NFDBITS - 1)) / _NFDBITS] __fds_bits; in version()
216 _n = (FD_SETSIZE + (_NFDBITS - 1)) / _NFDBITS; in version()
232 enum uint FD_SETSIZE = 256; in version() local
236 __fd_mask[(FD_SETSIZE + (_NFDBITS - 1)) / _NFDBITS] __fds_bits; in version()
265 _n = (FD_SETSIZE + (_NFDBITS - 1)) / _NFDBITS; in version()
[all …]
/netbsd-src/usr.sbin/faithd/
H A Dtcp.c163 if (s_rcv >= FD_SETSIZE) in send_data()
183 if (s_snd >= FD_SETSIZE) in send_data()
186 if (s_rcv >= FD_SETSIZE) in send_data()
193 if (s_snd >= FD_SETSIZE) in send_data()
210 if (s_rcv >= FD_SETSIZE) in relay()
246 if (s_rcv >= FD_SETSIZE) in relay()
249 if (s_snd >= FD_SETSIZE) in relay()
283 if (s_rcv >= FD_SETSIZE) in relay()
286 if (s_snd >= FD_SETSIZE) in relay()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Ddetach.c67 nbits = FD_SETSIZE; in lutil_detach()
70 #ifdef FD_SETSIZE in lutil_detach()
71 if ( nbits > FD_SETSIZE ) { in lutil_detach()
72 nbits = FD_SETSIZE; in lutil_detach()
/netbsd-src/external/bsd/ntp/dist/include/
H A Dntif.h59 #ifdef FD_SETSIZE
60 #undef FD_SETSIZE
62 #define FD_SETSIZE 512 macro
H A Dntp_select.h24 # define FD_SETSIZE 32 macro
/netbsd-src/sys/sys/
H A Dfd_set.h58 #ifndef FD_SETSIZE
59 #define FD_SETSIZE 256 macro
63 #define __NFD_SIZE __NFD_LEN(FD_SETSIZE)
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dselect.c70 unsigned char in[FD_SETSIZE / CHAR_BIT];
71 unsigned char out[FD_SETSIZE / CHAR_BIT];
273 HANDLE h, handle_array[FD_SETSIZE + 2]; in rpl_select()
276 unsigned char anyfds_in[FD_SETSIZE / CHAR_BIT]; in rpl_select()
282 if (nfds > FD_SETSIZE) in rpl_select()
283 nfds = FD_SETSIZE; in rpl_select()
573 if (nfds < 0 || nfds > FD_SETSIZE) in rpl_select()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dpoll_fd.c164 if (FD_SETSIZE <= fd) { in poll_fd_bsd()
165 if ((temp_fd = dup(fd)) < 0 || temp_fd >= FD_SETSIZE) in poll_fd_bsd()
166 msg_fatal("descriptor %d does not fit FD_SETSIZE %d", fd, FD_SETSIZE); in poll_fd_bsd()
/netbsd-src/external/bsd/openldap/dist/include/ac/
H A Dfdset.h27 #if !defined( OPENLDAP_FD_SETSIZE ) && !defined( FD_SETSIZE )
40 # define FD_SETSIZE OPENLDAP_FD_SETSIZE macro
/netbsd-src/external/ibm-public/postfix/dist/proto/
H A Dstop.double-cc44 FD_SETSIZE FD_SETSIZE
45 FD_SETSIZE FD_SETSIZE
46 FD_SETSIZE FD_SETSIZE
51 FD_SETSIZE FD_SETSIZE
52 FD_SETSIZE FD_SETSIZE
53 FD_SETSIZE FD_SETSIZE
/netbsd-src/lib/libc/rpc/
H A Dsvc_fdset.c182 fds->fdnum = FD_SETSIZE; in svc_pollfd_alloc()
209 pfd = realloc(fds->fdp, (fds->fdnum + FD_SETSIZE) * sizeof(*fds->fdp)); in svc_pollfd_add()
213 svc_pollfd_init(pfd + fds->fdnum, FD_SETSIZE); in svc_pollfd_add()
217 fds->fdnum += FD_SETSIZE; in svc_pollfd_add()
260 fd += FD_SETSIZE; in svc_fdset_resize()
/netbsd-src/regress/sys/kern/select/
H A Dselect.c29 #define FD_SETSIZE 65536 macro
97 if (fd > FD_SETSIZE) { in f()
100 fd, FD_SETSIZE); in f()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dos-ip.c344 #if defined( FD_SETSIZE ) && !defined( HAVE_WINSOCK ) in ldap_int_poll()
345 if ( s >= FD_SETSIZE ) { in ldap_int_poll()
969 struct pollfd si_fds[FD_SETSIZE];
1005 if( sip->si_maxfd >= FD_SETSIZE ) { in ldap_mark_select_write()
1050 if( sip->si_maxfd >= FD_SETSIZE ) { in ldap_mark_select_read()
1226 int tblsize = FD_SETSIZE; in ldap_int_ip_init()
1229 #ifdef FD_SETSIZE in ldap_int_ip_init()
1230 if( tblsize > FD_SETSIZE ) tblsize = FD_SETSIZE; in ldap_int_ip_init()
H A Dos-local.c280 #ifdef FD_SETSIZE in ldap_pvt_connect()
281 if ( s >= FD_SETSIZE ) { in ldap_pvt_connect()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dsession.c120 static struct fd_monitor fd_monitors[FD_SETSIZE];
129 if (fd < 0 || fd >= FD_SETSIZE) { in monitor_fd()
153 if (fd < 0 || fd >= FD_SETSIZE) { in unmonitor_fd()
/netbsd-src/external/bsd/nsd/dist/
H A Dmini_event.c122 #ifdef FD_SETSIZE in event_init()
123 if((int)FD_SETSIZE < base->capfd) in event_init()
124 base->capfd = (int)FD_SETSIZE; in event_init()
/netbsd-src/external/bsd/unbound/dist/util/
H A Dmini_event.c110 #ifdef FD_SETSIZE in event_init()
111 if((int)FD_SETSIZE < base->capfd) in event_init()
112 base->capfd = (int)FD_SETSIZE; in event_init()
/netbsd-src/external/bsd/am-utils/dist/amd/
H A Dnfs_start.c171 nsel = select(FD_SETSIZE, &readfds, (fd_set *) NULL, (fd_set *) NULL, &tvv); in rpc_pending_now()
253 nsel = do_select(smask, FD_SETSIZE, &readfds, &tvv); in run_rpc()
/netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/
H A Dkadm_conn.c186 #ifdef FD_SETSIZE in wait_for_connection()
187 if (socks[i] >= FD_SETSIZE) in wait_for_connection()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/
H A Drl-callbacktest.c94 r = select (FD_SETSIZE, &fds, NULL, NULL, NULL); in main()
H A Dexcallback.c132 if( select(FD_SETSIZE, &fds, NULL, NULL, NULL) < 0) { in main()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/
H A Drl-callbacktest.c94 r = select (FD_SETSIZE, &fds, NULL, NULL, NULL); in main()
H A Dexcallback.c132 if( select(FD_SETSIZE, &fds, NULL, NULL, NULL) < 0) { in main()
/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Dconnection.cc79 int nfds = select (FD_SETSIZE, &read_set, NULL, NULL, NULL); in do_wait()
/netbsd-src/external/gpl3/gcc.old/dist/libcc1/
H A Dconnection.cc88 int nfds = select (FD_SETSIZE, &read_set, NULL, NULL, NULL); in do_wait()

1234