/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/ |
H A D | detach.c | 55 int i, sd, nbits, pid; local 58 nbits = sysconf( _SC_OPEN_MAX ); 60 nbits = getdtablesize(); 62 nbits = FD_SETSIZE; 66 if ( nbits > FD_SETSIZE ) { 67 nbits = FD_SETSIZE; 116 for ( i = 0; i < nbits; i++ ) {
|
/macosx-10.10/Libc-1044.1.2/include/ |
H A D | bitstring.h | 54 /* bytes in a bitstring of nbits bits */ 55 #define bitstr_size(nbits) \ 56 (((nbits) + 7) >> 3) 59 #define bit_alloc(nbits) \ 60 (bitstr_t *)calloc((size_t)bitstr_size(nbits), sizeof(bitstr_t)) 63 #define bit_decl(name, nbits) \ 64 ((name)[bitstr_size(nbits)]) 113 #define bit_ffc(name, nbits, value) do { \ 115 int _byte, _nbits = (nbits); \ 126 if (_value >= nbits) \ [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/sys/ |
H A D | bitstring.h | 79 /* bytes in a bitstring of nbits bits */ 80 #define bitstr_size(nbits) \ 81 (((nbits) + 7) >> 3) 84 #define bit_decl(name, nbits) \ 85 ((name)[bitstr_size(nbits)]) 142 #define bit_ffc(name, nbits, value) do { \ 144 int _byte, _nbits = (nbits); \ 155 if (_value >= nbits) \ 161 #define bit_ffs(name, nbits, value) do { \ 163 int _byte, _nbits = (nbits); \ [all...] |
/macosx-10.10/dtrace-147/sys/ |
H A D | bitmap.h | 117 #define BT_BITOUL(nbits) \ 118 (((nbits) + BT_NBIPUL - 1l) / BT_NBIPUL) 119 #define BT_SIZEOFMAP(nbits) \ 120 (BT_BITOUL(nbits) * sizeof (ulong_t)) 129 #define BT_BITOUL32(nbits) \ 130 (((nbits) + BT_NBIPUL32 - 1l) / BT_NBIPUL32) 131 #define BT_SIZEOFMAP32(nbits) \ 132 (BT_BITOUL32(nbits) * sizeof (uint_t)) 156 extern index_t bt_availbit(ulong_t *bitmap, size_t nbits);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/ |
H A D | BitSet.cpp | 14 BitSet::BitSet(unsigned int nbits) argument 15 : storage(nbits) 17 for (unsigned int i = 0; i < nbits ; i++ )
|
/macosx-10.10/Libc-1044.1.2/gdtoa/FreeBSD/ |
H A D | gdtoa-hexnan.c | 64 int nbits, len; local 71 int havedig, hd0, i, nbits; local 80 nbits = fpi->nbits; 81 x = x0 + (nbits >> kshift); 82 if (nbits & kmask) 156 nbits = fpi->nbits; 158 if (nbits == 52) { /* double */ 177 else if (nbits < 5 [all...] |
H A D | gdtoa-gethex.c | 53 int big, esign, havedig, irv, j, k, n, n0, nbits, up, zret; local 193 nbits = fpi->nbits; 194 n0 = n = nbits >> kshift; 195 if (nbits & kmask) 203 b->x[j] = ULbits >> (ULbits - (nbits & kmask)); 214 int maxdigits = ((fpi->nbits + 3) >> 2) + 2; 289 nbits = fpi->nbits; 292 if (n > nbits) { [all...] |
H A D | gdtoa-strtodg.c | 202 bdif -= nb = fpi->nbits; 345 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; local 381 nbits = fpi->nbits; 548 TRUNCATE_DIGITS(s0, strunc, nd, nd0, nf, fpi->nbits, fpi->emin, dplen); 576 if (nbits <= P && nd <= DBL_DIG) { 691 if ((j = rvbits - nbits) > 0) { 693 rvbits = nbits; 697 e2 = rve + rvbits - nbits; 700 rve1 = rve + rvbits - nbits; [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/antlr/ |
H A D | BitSet.hpp | 45 BitSet( unsigned int nbits=64 );
|
/macosx-10.10/OpenSSL098-52/src/crypto/aes/ |
H A D | aes_cfb.c | 159 /* This expects a single block of size nbits for both in and out. Note that 162 const int nbits,const AES_KEY *key, 168 if (nbits<=0 || nbits>128) return; 174 num = (nbits+7)/8; 182 rem = nbits%8; 183 num = nbits/8; 161 AES_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const AES_KEY *key, unsigned char *ivec,const int enc) argument
|
/macosx-10.10/OpenSSL098-52/src/crypto/camellia/ |
H A D | cmll_cfb.c | 169 /* This expects a single block of size nbits for both in and out. Note that 172 const int nbits,const CAMELLIA_KEY *key, 178 if (nbits<=0 || nbits>128) return; 184 num = (nbits+7)/8; 192 rem = nbits%8; 193 num = nbits/8; 171 Camellia_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const CAMELLIA_KEY *key, unsigned char *ivec,const int enc) argument
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | kexgexc.c | 62 int min, max, nbits; local 65 nbits = dh_estimate(kex->we_need * 8); 70 packet_put_int(nbits); 74 debug("SSH2_MSG_KEX_DH_GEX_REQUEST_OLD(%u) sent", nbits); 81 packet_put_int(nbits); 85 min, nbits, max); 88 fprintf(stderr, "\nmin = %d, nbits = %d, max = %d\n", 89 min, nbits, max); 183 min, nbits, max,
|
H A D | kexgexs.c | 65 int omin = -1, min = -1, omax = -1, max = -1, onbits = -1, nbits = -1; local 85 onbits = nbits = packet_get_int(); 89 nbits = MAX(DH_GRP_MIN, nbits); 90 nbits = MIN(DH_GRP_MAX, nbits); 94 onbits = nbits = packet_get_int(); 109 dh = PRIVSEP(choose_dh(min, nbits, max));
|
H A D | kexgsss.c | 73 int min = -1, max = -1, nbits = -1; local 111 nbits = packet_get_int(); 116 if (max < min || nbits < min || max < nbits) 118 min, nbits, max); 119 dh = PRIVSEP(choose_dh(min, nbits, max)); 236 min, nbits, max,
|
/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | CommonECCryptor.c | 49 ccMallocECCryptor(size_t nbits, CCECKeyType keyType) argument 55 if(!ccec_keysize_is_supported(nbits)) return NULL; 56 ccec_const_cp_t cp = ccec_get_cp(nbits); 61 retval->keySize = nbits; 91 size_t nbits = theKey->keySize; local 94 ccec_const_cp_t cp = ccec_get_cp(nbits); 152 CCECCryptorGeneratePair(size_t nbits, CCECCryptorRef *publicKey, CCECCryptorRef *privateKey) argument 160 if(!ccec_keysize_is_supported(nbits)) return kCCParamError; 161 ccec_const_cp_t cp = ccec_get_cp(nbits); 163 __Require_Action((privateCryptor = ccMallocECCryptor(nbits, ccECKeyPrivat 235 CCECCryptorCreateFromData(size_t nbits, uint8_t *qX, size_t qXLength, uint8_t *qY, size_t qYLength, CCECCryptorRef *ref) argument 299 size_t nbits = ccec_x963_import_priv_size(keyPackageLen); local 305 size_t nbits = ccec_x963_import_pub_size(keyPackageLen); local [all...] |
/macosx-10.10/OpenSSL098-52/src/crypto/bn/ |
H A D | bn_x931p.c | 193 * Note: nbits paramter is sum of number of bits in both. 196 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx) argument 203 if ((nbits < 1024) || (nbits & 0xff)) 205 nbits >>= 1; 206 /* The random value Xp must be between sqrt(2) * 2^(nbits-1) and 207 * 2^nbits - 1. By setting the top two bits we ensure that the lower 210 if (!BN_rand(Xp, nbits, 1, 0)) 218 if (!BN_rand(Xq, nbits, 1, 0)) 220 /* Check that |Xp - Xq| > 2^(nbits [all...] |
/macosx-10.10/dtrace-147/libdtrace/ |
H A D | dt_regset.c | 74 ulong_t nbits = drp->dr_size - 1; local 75 ulong_t maxw = nbits >> BT_ULSHIFT; 84 ulong_t maxb = (wx == maxw) ? nbits & BT_ULMASK : BT_NBIPUL - 1;
|
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/ |
H A D | tif_lzw.c | 94 unsigned short nbits; /* # of bits/code */ member in struct:__anon13144 103 #define lzw_nbits base.nbits 177 if ((_sp)->dec_bitsleft < nbits) { \ 184 (_sp)->dec_bitsleft -= nbits; \ 333 if (nextbits < nbits) { \ 337 code = (hcode_t)((nextdata >> (nextbits-nbits)) & nbitsmask); \ 338 nextbits -= nbits; \ 359 long nbits, nextbits, nextdata, nbitsmask; local 409 nbits = sp->lzw_nbits; 425 nbits 568 int code, nbits; local 835 int free_ent, maxcode, nbits; local 997 int nbits = sp->lzw_nbits; local [all...] |
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libjpeg/ |
H A D | jchuff.c | 441 unsigned int nbits) 446 while (nbits > 0) { 449 nbits--; 461 register int temp, nbits; local 465 nbits = 0; 467 nbits++; 469 if (nbits > 14) 472 emit_ac_symbol(entropy, entropy->ac_tbl_no, nbits << 4); 473 if (nbits) 474 emit_bits_e(entropy, entropy->EOBRUN, nbits); 440 emit_buffered_bits(huff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument 545 register int nbits; local 632 register int nbits; local 920 register int nbits; local 1126 register int nbits; local [all...] |
H A D | jdhuff.c | 135 #define CHECK_BIT_BUFFER(state,nbits,action) \ 136 { if (bits_left < (nbits)) { \ 137 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 141 #define GET_BITS(nbits) \ 142 (((int) (get_buffer >> (bits_left -= (nbits)))) & BIT_MASK(nbits)) 144 #define PEEK_BITS(nbits) \ 145 (((int) (get_buffer >> (bits_left - (nbits)))) & BIT_MASK(nbits)) 147 #define DROP_BITS(nbits) \ [all...] |
/macosx-10.10/ntp-92/lib/isc/ |
H A D | netaddr.c | 75 unsigned int nbits; /* Number of significant leftover bits */ local 109 nbits = prefixlen % 8; 115 if (nbits > 0) { 118 INSIST(nbits < 8); 121 mask = (0xFF << (8-nbits)) & 0xFF; 215 unsigned int nbits, nbytes, ipbytes; local 236 nbits = prefixlen % 8; 237 if (nbits != 0) { 238 if ((p[nbytes] & (0xff>>nbits)) != 0U) 249 unsigned int nbits, nbyte local [all...] |
/macosx-10.10/bind9-45.101/bind9/lib/isc/ |
H A D | netaddr.c | 75 unsigned int nbits; /* Number of significant leftover bits */ local 107 nbits = prefixlen % 8; 113 if (nbits > 0) { 116 INSIST(nbits < 8); 119 mask = (0xFF << (8-nbits)) & 0xFF; 216 unsigned int nbits, nbytes, ipbytes = 0; local 236 nbits = prefixlen % 8; 237 if (nbits != 0) { 238 if ((p[nbytes] & (0xff>>nbits)) != 0U) 249 unsigned int nbits local [all...] |
/macosx-10.10/OpenSSL098-52/src/fips/des/ |
H A D | fips_desmovs.c | 140 static void shiftin(unsigned char *dst,unsigned char *src,int nbits) argument 145 memmove(dst,dst+nbits/8,3*8-nbits/8); 147 memcpy(dst+3*8-nbits/8,src,(nbits+7)/8); 149 if(nbits%8) 151 dst[n]=(dst[n] << (nbits%8))|(dst[n+1] >> (8-nbits%8));
|
/macosx-10.10/OpenSSL098-52/src/test/ |
H A D | fips_desmovs.c | 140 static void shiftin(unsigned char *dst,unsigned char *src,int nbits) argument 145 memmove(dst,dst+nbits/8,3*8-nbits/8); 147 memcpy(dst+3*8-nbits/8,src,(nbits+7)/8); 149 if(nbits%8) 151 dst[n]=(dst[n] << (nbits%8))|(dst[n+1] >> (8-nbits%8));
|
/macosx-10.10/vim-55/src/ |
H A D | os_beos.c | 80 beos_select(int nbits, argument 88 if (nbits == 0) {
|