Home
last modified time | relevance | path

Searched refs:NFDBITS (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Include/
Dpyport.h846 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */
852 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
855 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
856 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
857 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
/external/iputils/
Dtraceroute6.c280 #define NFDBITS (8*sizeof(fd_set)) macro
281 #define FD_SETSIZE NFDBITS
282 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
283 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
284 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
/external/libevent/
Dselect.c58 #ifndef NFDBITS
59 #define NFDBITS (sizeof(fd_mask)*8) macro
67 (DIV_ROUNDUP(n, NFDBITS) * sizeof(fd_mask))
DChangeLog319 o Fix select.c compilation on systems with no NFDBITS (49d1136)
/external/python/cpython2/Lib/plat-beos5/
DIN.py324 NFDBITS = 32 variable
325 def _FDMSKNO(fd): return ((fd) / NFDBITS)
327 def _FDBITNO(fd): return ((fd) % NFDBITS)
/external/openssh/openbsd-compat/
Dbsd-poll.c58 nmemb = howmany(maxfd + 1 , NFDBITS); in poll()
/external/openssh/
Dssh-pkcs11-helper.c304 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in main()
Ddefines.h395 # define NFDBITS (8 * sizeof(unsigned long)) macro
Dsftp-server.c1631 rset = xcalloc(howmany(max + 1, NFDBITS), sizeof(fd_mask)); in sftp_server_main()
1632 wset = xcalloc(howmany(max + 1, NFDBITS), sizeof(fd_mask)); in sftp_server_main()
1641 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in sftp_server_main()
Dsshconnect.c359 fdset = xcalloc(howmany(sockfd + 1, NFDBITS), in timeout_connect()
559 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask); in ssh_exchange_identification()
Dpacket.c1410 NFDBITS), sizeof(fd_mask)); in ssh_packet_read_seqnr()
1442 NFDBITS) * sizeof(fd_mask)); in ssh_packet_read_seqnr()
2234 NFDBITS), sizeof(fd_mask)); in ssh_packet_write_wait()
2243 NFDBITS) * sizeof(fd_mask)); in ssh_packet_write_wait()
Dssh-keyscan.c810 read_wait_nfdset = howmany(maxfd, NFDBITS); in main()
Dssh-agent.c1030 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in prepare_select()
Dsshd.c1125 fdset = xcalloc(howmany(maxfd + 1, NFDBITS),
Dconfig.h.in331 /* Define to 1 if you have the declaration of `NFDBITS', and to 0 if you
Dchannels.c2267 nfdset = howmany(n+1, NFDBITS);
Dconfigure.ac1909 AC_CHECK_DECLS([howmany, NFDBITS], [], [], [[