Searched refs:NFDBITS (Results 1 – 20 of 20) sorted by relevance
/external/grpc-grpc/third_party/cares/config_android/ |
D | ares_config.h | 450 #define GRPC_CARES_FD_MASK(d) ((long int)(1UL << (d) % NFDBITS)) 453 ((void) (GRPC_CARES_FDS_BITS (set)[ (d) / NFDBITS ] |= GRPC_CARES_FD_MASK(d))) 455 ((void) (GRPC_CARES_FDS_BITS (set)[ (d) / NFDBITS ] &= ~GRPC_CARES_FD_MASK(d))) 457 ((GRPC_CARES_FDS_BITS (set)[ (d) / NFDBITS ] & GRPC_CARES_FD_MASK(d)) != 0)
|
/external/grpc-grpc/third_party/cares/config_linux/ |
D | ares_config.h | 450 #define GRPC_CARES_FD_MASK(d) ((long int)(1UL << (d) % NFDBITS)) 453 ((void) (GRPC_CARES_FDS_BITS (set)[ (d) / NFDBITS ] |= GRPC_CARES_FD_MASK(d))) 455 ((void) (GRPC_CARES_FDS_BITS (set)[ (d) / NFDBITS ] &= ~GRPC_CARES_FD_MASK(d))) 457 ((GRPC_CARES_FDS_BITS (set)[ (d) / NFDBITS ] & GRPC_CARES_FD_MASK(d)) != 0)
|
/external/python/cpython2/Include/ |
D | pyport.h | 846 #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/ |
D | traceroute6.c | 280 #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/ |
D | select.c | 67 #ifndef NFDBITS 68 #define NFDBITS (sizeof(fd_mask)*8) macro 76 (DIV_ROUNDUP(n, NFDBITS) * sizeof(fd_mask))
|
D | ChangeLog-2.0 | 255 o Fix select.c compilation on systems with no NFDBITS (49d1136)
|
D | ChangeLog | 1603 o Fix select.c compilation on systems with no NFDBITS (49d1136)
|
/external/python/cpython2/Lib/plat-beos5/ |
D | IN.py | 324 NFDBITS = 32 variable 325 def _FDMSKNO(fd): return ((fd) / NFDBITS) 327 def _FDBITNO(fd): return ((fd) % NFDBITS)
|
/external/openssh/openbsd-compat/ |
D | bsd-poll.c | 58 nmemb = howmany(maxfd + 1 , NFDBITS); in poll()
|
/external/openssh/ |
D | ssh-pkcs11-helper.c | 304 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in main()
|
D | defines.h | 395 # define NFDBITS (8 * sizeof(unsigned long)) macro
|
D | sftp-server.c | 1631 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()
|
D | sshconnect.c | 359 fdset = xcalloc(howmany(sockfd + 1, NFDBITS), in timeout_connect() 559 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask); in ssh_exchange_identification()
|
D | packet.c | 1410 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()
|
D | ssh-keyscan.c | 810 read_wait_nfdset = howmany(maxfd, NFDBITS); in main()
|
D | ssh-agent.c | 1030 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in prepare_select()
|
D | sshd.c | 1176 fdset = xcalloc(howmany(maxfd + 1, NFDBITS),
|
D | config.h.in | 331 /* Define to 1 if you have the declaration of `NFDBITS', and to 0 if you
|
D | channels.c | 2267 nfdset = howmany(n+1, NFDBITS);
|
D | configure.ac | 1909 AC_CHECK_DECLS([howmany, NFDBITS], [], [], [[
|