/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/ |
H A D | fdsel.cpp | 46 // Given the old and desired new sizes (in fd_mask words), grow 58 void FDSet::grow(fd_mask * &bits, int oldWords, int newWords) 60 fd_mask *newBits = new fd_mask[newWords]; 61 memcpy(newBits, bits, oldWords * sizeof(fd_mask)); 62 memset(newBits + oldWords, 0, (newWords - oldWords) * sizeof(fd_mask)); 84 // Copy only the first words fd_mask words from mBits to mUseBits 90 memcpy(mUseBits, mBits, words * sizeof(fd_mask));
|
H A D | fdsel.h | 49 // are fd_mask arrays? Some implementations use optimized assembly 69 fd_mask *mBits; // base bits 70 fd_mask *mUseBits; // mutable copy for select(2) 72 void grow(fd_mask * &bits, int oldWords, int newWords);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/ |
H A D | fdsel.cpp | 46 // Given the old and desired new sizes (in fd_mask words), grow 58 void FDSet::grow(fd_mask * &bits, int oldWords, int newWords) 60 fd_mask *newBits = new fd_mask[newWords]; 61 memcpy(newBits, bits, oldWords * sizeof(fd_mask)); 62 memset(newBits + oldWords, 0, (newWords - oldWords) * sizeof(fd_mask)); 84 // Copy only the first words fd_mask words from mBits to mUseBits 90 memcpy(mUseBits, mBits, words * sizeof(fd_mask));
|
H A D | fdsel.h | 49 // are fd_mask arrays? Some implementations use optimized assembly 69 fd_mask *mBits; // base bits 70 fd_mask *mUseBits; // mutable copy for select(2) 72 void grow(fd_mask * &bits, int oldWords, int newWords);
|
/macosx-10.10/tcl-105/tcl_ext/expect/expect/ |
H A D | exp_simple.c | 25 static fd_mask checkMasks[3*MASK_SIZE]; 30 static fd_mask readyMasks[3*MASK_SIZE]; 73 fd_mask bit; 85 index = fd/(NBBY*sizeof(fd_mask)); 86 bit = 1 << (fd%(NBBY*sizeof(fd_mask))); 132 fd_mask bit; 139 index = fd/(NBBY*sizeof(fd_mask)); 140 bit = 1 << (fd%(NBBY*sizeof(fd_mask))); 188 3*MASK_SIZE*sizeof(fd_mask)); 206 memset((VOID *) readyMasks, 0, 3*MASK_SIZE*sizeof(fd_mask)); [all...] |
H A D | exp_poll.c | 94 fd_mask checkMasks[3*MASK_SIZE]; 99 fd_mask readyMasks[3*MASK_SIZE];
|
/macosx-10.10/OpenSSL098-52/src/apps/ |
H A D | s_apps.h | 136 typedef int fd_mask; /* int here! VMS prototypes int, not long */ typedef 137 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask (power of 2!)*/ 140 typedef fd_mask fd_set;
|
/macosx-10.10/tcl-105/tk/tk/unix/ |
H A D | tkUnixEvent.c | 477 static fd_mask readMask[MASK_SIZE]; 481 fd_mask bit, *readMaskPtr = readMask; 521 memset(readMask, 0, MASK_SIZE*sizeof(fd_mask)); 530 index = fd/(NBBY*sizeof(fd_mask)); 531 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask))); 546 memset(readMask, 0, MASK_SIZE*sizeof(fd_mask)); 556 index = fd/(NBBY*sizeof(fd_mask)); 557 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask))); [all...] |
H A D | tkUnixPort.h | 97 typedef long fd_mask; typedef 121 # define NFDBITS NBBY*sizeof(fd_mask)
|
/macosx-10.10/tcl-105/tk84/tk/unix/ |
H A D | tkUnixEvent.c | 501 static fd_mask readMask[MASK_SIZE]; 505 fd_mask bit; 545 memset((VOID *) readMask, 0, MASK_SIZE*sizeof(fd_mask)); 559 index = fd/(NBBY*sizeof(fd_mask)); 560 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask))); 575 memset((VOID *) readMask, 0, MASK_SIZE*sizeof(fd_mask)); 585 index = fd/(NBBY*sizeof(fd_mask)); 586 bit = ((fd_mask)1) << (fd%(NBBY*sizeof(fd_mask))); [all...] |
H A D | tkUnixPort.h | 94 typedef long fd_mask; typedef 118 # define NFDBITS NBBY*sizeof(fd_mask)
|
H A D | configure.in | 182 AC_CACHE_CHECK([for fd_mask in sys/select], tcl_cv_grep_fd_mask, [ 183 AC_EGREP_HEADER(fd_mask, sys/select.h,
|
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/ |
H A D | bsd-poll.c | 58 if ((readfds = calloc(nmemb, sizeof(fd_mask))) == NULL || 59 (writefds = calloc(nmemb, sizeof(fd_mask))) == NULL || 60 (exceptfds = calloc(nmemb, sizeof(fd_mask))) == NULL) {
|
/macosx-10.10/tcl-105/tk/tk/macosx/ |
H A D | tkMacOSXPort.h | 84 typedef long fd_mask; typedef 108 # define NFDBITS NBBY*sizeof(fd_mask)
|
/macosx-10.10/tcl-105/tk84/tk/macosx/ |
H A D | tkMacOSXPort.h | 81 typedef long fd_mask; typedef 105 # define NFDBITS NBBY*sizeof(fd_mask)
|
/macosx-10.10/tcl-105/tcl/tcl/unix/ |
H A D | tclUnixPort.h | 393 typedef long fd_mask; typedef 425 # define NFDBITS NBBY*sizeof(fd_mask)
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | ssh-keyscan.c | 544 r = xcalloc(read_wait_nfdset, sizeof(fd_mask)); 545 e = xcalloc(read_wait_nfdset, sizeof(fd_mask)); 546 memcpy(r, read_wait, read_wait_nfdset * sizeof(fd_mask)); 547 memcpy(e, read_wait, read_wait_nfdset * sizeof(fd_mask)); 722 read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask));
|
H A D | ssh-pkcs11-helper.c | 300 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask);
|
/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 | 185 typedef __int32_t fd_mask; typedef
|
/macosx-10.10/tcl-105/tcl84/tcl/unix/ |
H A D | tclUnixPort.h | 431 typedef long fd_mask; typedef 463 # define NFDBITS NBBY*sizeof(fd_mask)
|
H A D | configure.in | 196 AC_CACHE_CHECK([for fd_mask in sys/select], tcl_cv_grep_fd_mask, [ 197 AC_EGREP_HEADER(fd_mask, sys/select.h,
|
H A D | tclUnixChan.c | 3240 fd_mask bit; 3241 fd_mask readyMasks[3*MASK_SIZE]; 3275 memset((VOID *) readyMasks, 0, 3*MASK_SIZE*sizeof(fd_mask)); 3276 index = fd/(NBBY*sizeof(fd_mask)); 3277 bit = ((fd_mask) 1) << (fd%(NBBY*sizeof(fd_mask)));
|
/macosx-10.10/dcerpc-61/dcerpc/ncklib/ |
H A D | comnlsn.c | 136 # define RPC_SELECT_FD_MASK_T fd_mask
|