| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
| rand.t | 34 sub bits ($) { subroutine 35 # Takes a small integer and returns the number of one-bits in it. 37 my $bits = sprintf "%o", $_[0]; 38 while (length $bits) { 39 $total += (0,1,1,2,1,2,2,3)[chop $bits]; # Oct to bits 48 my($dev, $bits); # Number of one bits 65 $bits += bits($n * 256); # Don't be greedy; 8 is enoug [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| genmask.c | 17 int bits; local 32 * set x most significant bits 34 bits = (int)strtol(msk, &endptr, 0); 37 ((bits > 32) && !use_inet6) || (bits < 0) || 38 ((bits > 128) && use_inet6)) 40 if (*endptr != '\0' || bits > 32 || bits < 0) 45 fill6bits(bits, mskp); 48 if (bits == 0 [all...] |
| printnat.c | 30 int bits, af; local
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| strict.pm | 11 sub bits { subroutine 12 my $bits = 0; 16 $bits |= $bitmask{$s} || 0; 22 $bits; 25 my $default_bits = bits(qw(refs subs vars)); 29 $^H |= @_ ? bits(@_) : $default_bits; 34 $^H &= ~ (@_ ? bits(@_) : $default_bits);
|
| vmsish.pm | 116 sub bits { subroutine 117 my $bits = 0; 122 $bits |= 0x40000000, next if $sememe eq 'status' || $sememe eq '$?'; 123 $bits |= 0x80000000, next if $sememe eq 'time'; 125 $bits; 132 $^H |= bits(@_ ? @_ : qw(status time)); 145 $^H &= ~ bits(@_ ? @_ : qw(status time));
|
| warnings.pm | 189 our %Bits = ( 301 sub bits subroutine 321 elsif ($catmask = $Bits{$word}) { 344 $mask |= $Bits{'all'} ; 359 elsif ($catmask = $Bits{$word}) { 379 $mask |= $Bits{'all'} ; 389 elsif ($catmask = $Bits{$word}) {
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/re/ |
| re.pm | 98 sub bits { subroutine 100 my $bits = 0; 115 $bits |= $bitmask{$s}; 121 $bits; 126 $^H |= bits(1, @_); 131 $^H &= ~ bits(0, @_);
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/bn/ |
| bn_mpi.c | 65 int bits; local 70 bits=BN_num_bits(a); 71 num=(bits+7)/8; 72 if (bits > 0) 74 ext=((bits & 0x07) == 0);
|
| bn_exp2.c | 122 int i,j,bits,b,bits1,bits2,ret=0,wpos1,wpos2,window1,window2,wvalue1,wvalue2; local 149 bits=(bits1 > bits2)?bits1:bits2; 244 for (b=bits-1; b>=0; b--) 255 /* consider bits b-window1+1 .. b for this window */ 272 /* consider bits b-window2+1 .. b for this window */
|
| /onnv/onnv-gate/usr/src/uts/common/zmod/ |
| inftrees.h | 16 table that indexes more bits of the code. op indicates whether 19 pointer, the low four bits of op is the number of index bits of 20 that table. For a length or distance, the low four bits of op 21 is the number of extra bits to get after the code. bits is 22 the number of bits in this code or part of the code to drop off 27 unsigned char op; /* operation, extra bits, table bits */ 28 unsigned char bits; /* bits in this part of the code * member in struct:__anon8413 [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/rtw/ |
| smc93cx6.c | 46 * **Note: There are 8 address bits for the 93C56/66 chips unlike 47 * the 93C46/26/06 chips which have 6 address bits. 57 * is preceded by an initial zero (leading 0, followed by 16-bits, MSB 70 unsigned char bits[3]; member in struct:seeprom_cmd 120 if (seeprom_read.bits[i] != 0) 126 if (seeprom_read.bits[i] != 0)
|
| /onnv/onnv-gate/usr/src/lib/libast/common/string/ |
| strtoip4.c | 29 * with optional prefix bits 37 * valid bits/masks match the egrep RE: 41 * if pbits!=0 and no bits/mask specified then trailing 0's in addr 52 register unsigned char bits; local 63 bits = 0; 118 bits = z; 128 bits++; 133 bits = 8; 135 bits = 16; 137 bits = 24 [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
| if.c | 74 static struct bits { struct 87 struct bits *p;
|
| trace.c | 142 static struct bits { struct 160 struct bits *p;
|
| /onnv/onnv-gate/usr/src/cmd/eeprom/sparc/ |
| loadlogo.c | 49 int icw = 64, ich = 64, bits = 16; local 77 c = fscanf(f, "alid_bits_per_item=%d", &bits); 95 bits != 16 && bits != 32) { 101 for (count = ((w + (bits - 1)) / bits) * h; count > 0; count--) { 106 switch (bits) {
|
| /onnv/onnv-gate/usr/src/common/crypto/ecc/ |
| ecl.c | 233 int bits; local 257 /* determine number of bits */ 258 bits = mpl_significant_bits(&irr) - 1; 259 if (bits < MP_OKAY) { 260 res = bits;
|
| /onnv/onnv-gate/usr/src/common/mpi/ |
| mplogic.c | 173 - Extracts numBits bits from a, where the least significant extracted bit 175 - Because sign bit is used to indicate error, maximum number of bits to 176 be returned is the lesser of (a) the number of bits in an mp_digit, or 177 (b) one less than the number of bits in an mp_err. 178 - lsbNum + numbits can be greater than the number of significant bits in 202 returns number of significnant bits in abs(a). 207 mp_err bits = 0; local 218 ++bits; 224 bits += ix * MP_DIGIT_BIT; 225 if (!bits) [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| a_bitstr.c | 68 int ret,j,bits,len; local 79 bits=(int)a->flags&0x07; 88 if (j & 0x01) bits=0; 89 else if (j & 0x02) bits=1; 90 else if (j & 0x04) bits=2; 91 else if (j & 0x08) bits=3; 92 else if (j & 0x10) bits=4; 93 else if (j & 0x20) bits=5; 94 else if (j & 0x40) bits=6; 95 else if (j & 0x80) bits=7 [all...] |
| /onnv/onnv-gate/usr/src/head/ |
| nan.h | 61 unsigned bits :20; member in struct:__anon2592::__anon2593 69 unsigned bits :19; member in struct:__anon2592::__anon2594 82 unsigned bits :20; member in struct:__anon2595::__anon2596 88 unsigned bits :19; member in struct:__anon2595::__anon2597 107 #define IsINF(X) (((dnan *)&(X))->inf_parts.bits == 0 && \ 118 * GETNaNPC gets the leftmost 32 bits of the fraction part 120 #define GETNaNPC(dval) (((dnan *)&(dval))->inf_parts.bits << 12 | \
|
| /onnv/onnv-gate/usr/src/lib/libtsnet/common/ |
| tsol_sgetrhent.c | 66 int bits; local 71 for (bits = IP_ABITS; bits > 0 && (addr & 0xFF) == 0; bits -= 8) 74 return (bits); 91 int bits; local 95 for (bits = IP_ABITS; bits > 0 && addr < 0x01000000; bits -= 8) 99 return (bits); [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/ |
| mdb_debug.c | 109 uint_t bits = 0; local 121 bits |= mp->m_bits; 123 bits = 0; 132 if (bits & MDB_DBG_HELP) { 138 return (bits); 142 mdb_dmode(uint_t bits) 148 *libproc_debugp = (bits & MDB_DBG_PROC) != 0; 151 *libctf_debugp = (bits & MDB_DBG_CTF) != 0; 154 rd_logp((bits & MDB_DBG_PSVC) != 0); 156 mdb_lex_debug(bits & MDB_DBG_PARSER) [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
| Select.pm | 69 my $bits = $vec->[VEC_BITS]; 70 $bits = '' unless defined $bits; 85 vec($bits, $fn, 1) = 1; 90 vec($bits, $fn, 1) = 0; 95 $vec->[VEC_BITS] = $vec->[FD_COUNT] ? $bits : undef; 145 sub bits subroutine 155 my $bits = $vec->bits; 157 $str .= defined($bits) ? unpack("b*", $bits) : "undef" [all...] |
| /onnv/onnv-gate/usr/src/cmd/ssh/sshd/ |
| auth-rsa.c | 51 * options bits e n comment 52 * where bits, e and n are decimal numbers, 85 error("auth_rsa_verify_response: RSA modulus too small: %d < minimum %d bits", 159 u_int bits; local 237 if (hostfile_read_key(&cp, &bits, key) == 0) { 248 /* check the real bits */ 249 if (bits != BN_num_bits(key->rsa->n)) 252 file, linenum, BN_num_bits(key->rsa->n), bits);
|
| auth1.c | 77 u_int bits; local 229 bits = packet_get_int(); 233 if (bits != BN_num_bits(client_host_key->rsa->n)) 236 BN_num_bits(client_host_key->rsa->n), bits);
|
| /onnv/onnv-gate/usr/src/common/openssl/apps/ |
| dh.c | 285 int len,l,bits; local 288 bits=BN_num_bits(dh->p); 296 printf("static unsigned char dh%d_p[]={",bits); 305 printf("static unsigned char dh%d_g[]={",bits); 313 printf("DH *get_dh%d()\n\t{\n",bits); 317 bits,bits); 319 bits,bits);
|