Searched defs:NFDBITS (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/ |
H A D | fd_set.h | 89 #define NFDBITS __NFDBITS macro
|
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/ |
H A D | Xpoll.h | 80 #ifndef NFDBITS 81 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */ macro 90 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)]; 105 #define FD_SET(n, p) (__XFDS_BITS(p, ((n)/NFDBITS)) |= ((fd_mask)1 << ((n) % NFDBITS))) 108 #define FD_CLR(n, p) (__XFDS_BITS((p), ((n)/NFDBITS)) &= ~((fd_mask)1 << ((n) % NFDBITS))) 111 #define FD_ISSET(n, p) ((__XFDS_BITS((p), ((n)/NFDBITS))) & ((fd_mask)1 << ((n) % NFDBITS))) 118 * The howmany(FD_SETSIZE, NFDBITS) compute [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/ |
H A D | macsocket.h | 113 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */ macro 120 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)]; 123 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) 124 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS))) 125 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
|
Completed in 66 milliseconds