/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | 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( [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | 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));
|
H A D | 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);
|
H A D | warnings.pm | 301 sub bits subroutine
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/re/ |
H A D | re.pm | 98 sub bits { subroutine 100 my $bits = 0; 115 $bits |= $bitmask{$s}; 121 $bits; 126 $^H |= bits(1, @_); 131 $^H &= ~ bits(0, @_);
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtip4.c | 28 * and optional prefix bits (if 0 <= bits <= 32) 32 fmtip4(register uint32_t addr, int bits) argument 40 if (bits >= 0 && bits <= 32) 41 sfsprintf(buf + i, z - i, "/%d", bits);
|
H A D | 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 [all...] |
H A D | strtoip6.c | 35 * with optional prefix bits 46 strtoip6(register const char* s, char** e, unsigned char* addr, unsigned char* bits) argument 188 if (bits) 194 *bits = a;
|
H A D | fmtip6.c | 74 * with optional prefix bits if 0 < bits <= 128 79 fmtip6(unsigned char* addr, int bits) argument 171 if (bits > 0 && bits <= 128) 172 s = dec(s, "/", bits);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | ffs.c | 32 ffs_impl(uint64_t bits) argument 37 if (bits == 0) 40 if ((bits32 = (uint32_t)bits) == 0) { 41 bits32 = (uint32_t)(bits >> 32); 68 ffs(int bits) argument 70 return (ffs_impl((uint64_t)(uint_t)bits)); 74 ffsl(long bits) argument 76 return (ffs_impl((uint64_t)(ulong_t)bits)); 80 ffsll(long long bits) argument 82 return (ffs_impl((uint64_t)(u_longlong_t)bits)); [all...] |
H A D | fls.c | 32 fls_impl(uint64_t bits) argument 37 if (bits == 0) 40 if ((bits32 = (uint32_t)(bits >> 32)) != 0) 43 bits32 = (uint32_t)bits; 68 fls(int bits) argument 70 return (fls_impl((uint64_t)(uint_t)bits)); 74 flsl(long bits) argument 76 return (fls_impl((uint64_t)(ulong_t)bits)); 80 flsll(long long bits) argument 82 return (fls_impl((uint64_t)(u_longlong_t)bits)); [all...] |
/osnet-11/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_cidr_ntop.c | 44 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size); 46 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size); 50 * inet_cidr_ntop(af, src, bits, dst, size) 63 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { argument 66 return (inet_cidr_ntop_ipv4(src, bits, dst, size)); 68 return (inet_cidr_ntop_ipv6(src, bits, dst, size)); 97 * inet_cidr_ntop_ipv4(src, bits, dst, size) 109 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) { argument 115 if ((bits < -1) || (bits > 3 153 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument [all...] |
H A D | inet_net_ntop.c | 42 static char * inet_net_ntop_ipv4 __P((const u_char *src, int bits, 44 static char * inet_net_ntop_ipv6 __P((const u_char *src, int bits, 49 * inet_net_ntop(af, src, bits, dst, size) 58 inet_net_ntop(af, src, bits, dst, size) 61 int bits; 67 return (inet_net_ntop_ipv4(src, bits, dst, size)); 69 return (inet_net_ntop_ipv6(src, bits, dst, size)); 78 * inet_net_ntop_ipv4(src, bits, dst, size) 90 inet_net_ntop_ipv4(src, bits, dst, size) 92 int bits; 169 inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument [all...] |
H A D | inet_cidr_pton.c | 46 int *bits, int ipv6)); 48 int *bits)); 54 * inet_cidr_pton(af, src, dst, *bits) 57 * "dst" is assumed large enough for its "af". "bits" is set to the 70 inet_cidr_pton(int af, const char *src, void *dst, int *bits) { argument 73 return (inet_cidr_pton_ipv4(src, dst, bits, 0)); 75 return (inet_cidr_pton_ipv6(src, dst, bits)); 87 int n, ch, tmp, bits; local 111 bits = -1; 113 bits 159 int bits; local 256 int bits = 0; local [all...] |
H A D | inet_net_pton.c | 52 * number of bits, either imputed classfully or specified with /CIDR, 65 int n, ch, tmp = 0, dirty, bits; local 125 bits = -1; 130 bits = 0; 134 bits *= 10; 135 bits += n; 136 if (bits > 32) 151 if (bits == -1) { 153 bits = 32; 155 bits 271 int bits; local [all...] |
/osnet-11/usr/src/common/crypto/ecc/ |
H A D | ecl.c | 231 int bits; local 255 /* determine number of bits */ 256 bits = mpl_significant_bits(&irr) - 1; 257 if (bits < MP_OKAY) { 258 res = bits;
|
/osnet-11/usr/src/common/mpi/ |
H A D | 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...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
H A D | 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) [all...] |
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetrhent.c | 65 int bits; local 70 for (bits = IP_ABITS; bits > 0 && (addr & 0xFF) == 0; bits -= 8) 73 return (bits); 90 int bits; local 94 for (bits = IP_ABITS; bits > 0 && addr < 0x01000000; bits -= 8) 98 return (bits); [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getnetent.c | 149 int bits; local 161 bits = 8; 164 bits = 16; 167 bits = 24; 169 bits = 32; 177 /* reduce bits to as close to natural number as possible */ 178 if ((bits == 32) && (addr[0] < 224) && (addr[3] == 0)) { 181 bits = 8; 183 bits = 16; 185 bits [all...] |
/osnet-11/usr/src/lib/libldap4/util/ |
H A D | line64.c | 276 unsigned int bits; local 318 bits = (byte[0] & 0xff) << 16; 319 bits |= (byte[1] & 0xff) << 8; 320 bits |= (byte[2] & 0xff); 322 for ( i = 0; i < 4; i++, len++, bits <<= 6 ) { 329 /* get b64 digit from high order 6 bits */ 330 *(*out)++ = nib2b64[ (bits & 0xfc0000) >> 18 ]; 343 bits = (byte[0] & 0xff) << 16; 344 bits |= (byte[1] & 0xff) << 8; 345 bits | [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | ntfscomp.c | 84 grub_uint32_t bits, copied; local 86 bits = copied = tag = 0; 93 if (!bits) 98 bits = 8; 146 bits--;
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | rfc2268.c | 200 int bits = keylen * 8; local 212 if (keylen < 40 / 8) /* We want at least 40 bits. */ 225 /* Phase 2 - reduce effective key size to "bits". This was not 230 len = (bits + 7) >> 3; 232 x = rfc2268_sbox[S[i] & (255 >> (7 & -bits))];
|
/osnet-11/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 71 * the number of significant bits used. 74 * max_bits The maximum possible significant bits. 76 * N The number of significant bits in str. 84 int bits; local 85 for (bits = max_bits; *p == 0x00 && bits > 0; p++) 86 bits -= 8; 88 bits--; 89 return (bits);
|
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | md5.c | 102 /* ROTATE_LEFT rotates x left n bits. 147 /* Update number of bits */ 186 unsigned char bits[8]; local 189 /* Save number of bits */ 190 Encode (bits, context->count, 8); 198 _sasl_MD5Update (context, bits, 8);
|