/macosx-10.10/ntp-92/include/ |
H A D | ntp_select.h | 21 #define NFDBITS 32 macro 23 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) 24 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS))) 25 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
|
/macosx-10.10/OpenSSL098-52/src/apps/ |
H A D | s_apps.h | 137 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask (power of 2!)*/ macro 141 #define FD_SET(n, p) (*(p) |= (1 << ((n) % NFDBITS))) 142 #define FD_CLR(n, p) (*(p) &= ~(1 << ((n) % NFDBITS))) 143 #define FD_ISSET(n, p) (*(p) & (1 << ((n) % NFDBITS)))
|
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/ |
H A D | fdsel.h | 66 inline static int words(int fd) { return (fd - 1) / NFDBITS + 1; }
|
H A D | selector.cpp | 44 fdSetSize = FD_SETSIZE / NFDBITS; 66 unsigned int pos = fd / NFDBITS; 68 int newSize = (fd - 1) / NFDBITS + 2; // as much as needed + 1 spare word
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/ |
H A D | fdsel.h | 66 inline static int words(int fd) { return (fd - 1) / NFDBITS + 1; }
|
H A D | selector.cpp | 44 fdSetSize = FD_SETSIZE / NFDBITS; 66 unsigned int pos = fd / NFDBITS; 68 int newSize = (fd - 1) / NFDBITS + 2; // as much as needed + 1 spare word
|
/macosx-10.10/tcl-105/tk/tk/macosx/ |
H A D | tkMacOSXPort.h | 107 #ifndef NFDBITS 108 # define NFDBITS NBBY*sizeof(fd_mask) macro 110 #define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
|
/macosx-10.10/tcl-105/tk84/tk/macosx/ |
H A D | tkMacOSXPort.h | 104 #ifndef NFDBITS 105 # define NFDBITS NBBY*sizeof(fd_mask) macro 107 #define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
|
/macosx-10.10/tcl-105/tk/tk/unix/ |
H A D | tkUnixPort.h | 120 #ifndef NFDBITS 121 # define NFDBITS NBBY*sizeof(fd_mask) macro 123 #define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
|
/macosx-10.10/tcl-105/tk84/tk/unix/ |
H A D | tkUnixPort.h | 117 #ifndef NFDBITS 118 # define NFDBITS NBBY*sizeof(fd_mask) macro 120 #define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
|
/macosx-10.10/tcl-105/tcl/tcl/unix/ |
H A D | tclUnixPort.h | 424 #ifndef NFDBITS 425 # define NFDBITS NBBY*sizeof(fd_mask) macro 426 #endif /* NFDBITS */ 427 #define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
|
/macosx-10.10/tcl-105/tcl84/tcl/unix/ |
H A D | tclUnixPort.h | 462 #ifndef NFDBITS 463 # define NFDBITS NBBY*sizeof(fd_mask) macro 464 #endif /* NFDBITS */ 465 #define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
|
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/ |
H A D | bsd-poll.c | 57 nmemb = howmany(maxfd + 1 , NFDBITS);
|
/macosx-10.10/sudo-73/src/ |
H A D | exec.c | 386 fdsr = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); 387 fdsw = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); 389 memset(fdsw, 0, howmany(maxfd + 1, NFDBITS) * sizeof(fd_mask)); 390 memset(fdsr, 0, howmany(maxfd + 1, NFDBITS) * sizeof(fd_mask));
|
H A D | exec_pty.c | 917 fdsr = ecalloc(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); 1028 fdsr = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); 1029 fdsw = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); 1031 memset(fdsw, 0, howmany(maxfd + 1, NFDBITS) * sizeof(fd_mask)); 1032 memset(fdsr, 0, howmany(maxfd + 1, NFDBITS) * sizeof(fd_mask));
|
/macosx-10.10/xnu-2782.1.97/bsd/sys/ |
H A D | types.h | 183 #define NFDBITS __DARWIN_NFDBITS /* bits per mask */ macro
|
/macosx-10.10/xnu-2782.1.97/bsd/kern/ |
H A D | sys_generic.c | 989 nw = howmany(uap->nd, NFDBITS); 1257 nw = howmany(uap->nd, NFDBITS); 1326 nw = howmany(nfd, NFDBITS); 1337 for (i = 0; i < nfd; i += NFDBITS) { 1338 bits = iptr[i/NFDBITS]; 1379 optr[fd/NFDBITS] |= (1 << (fd % NFDBITS)); 1658 nw = howmany(nfd, NFDBITS); 1663 for (i = 0; i < nfd; i += NFDBITS) { 1664 bits = iptr[i/NFDBITS]; [all...] |
/macosx-10.10/dcerpc-61/dcerpc/ncklib/ |
H A D | comnlsn.c | 132 # define RPC_C_SELECT_NFDBITS NFDBITS
|
/macosx-10.10/Libinfo-459/rpc.subproj/ |
H A D | svc.c | 461 for (sock = 0; sock <= svc_maxfd; sock += NFDBITS) {
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | ssh-pkcs11-helper.c | 300 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask);
|
H A D | defines.h | 176 # define NFDBITS (8 * sizeof(unsigned long)) macro
|
H A D | packet.c | 1052 NFDBITS), sizeof(fd_mask)); 1077 NFDBITS) * sizeof(fd_mask)); 1739 NFDBITS), sizeof(fd_mask)); 1743 NFDBITS) * sizeof(fd_mask));
|
H A D | sshconnect.c | 277 fdset = (fd_set *)xcalloc(howmany(sockfd + 1, NFDBITS), 475 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask);
|
H A D | ssh-keyscan.c | 721 read_wait_nfdset = howmany(maxfd, NFDBITS);
|
/macosx-10.10/ruby-106/ruby/ |
H A D | thread.c | 3090 #if defined(NFDBITS) && defined(HAVE_RB_FD_INIT) 3134 size_t size = howmany(rb_fd_max(src), NFDBITS) * sizeof(fd_mask); 3155 MEMZERO(fds->fdset, fd_mask, howmany(fds->maxfd, NFDBITS)); 3161 size_t m = howmany(n + 1, NFDBITS) * sizeof(fd_mask); 3162 size_t o = howmany(fds->maxfd, NFDBITS) * sizeof(fd_mask); 3198 size_t size = howmany(max, NFDBITS) * sizeof(fd_mask); 3209 size_t size = howmany(rb_fd_max(src), NFDBITS) * sizeof(fd_mask); 3220 size_t size = howmany(rb_fd_max(src), NFDBITS) * sizeof(fd_mask);
|