Searched refs:bits (Results 1 - 25 of 166) sorted by relevance

1234567

/osnet-11/usr/src/lib/libast/common/stdio/
H A Dfwide.c33 f->bits &= ~SF_MB;
34 f->bits |= SF_WC;
38 f->bits &= ~SF_WC;
39 f->bits |= SF_MB;
41 if (f->bits & SF_MB)
43 if (f->bits & SF_WC)
47 f->bits |= SF_MB;
/osnet-11/usr/src/lib/libc/port/gen/
H A Dffs.c32 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 Dfls.c32 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/libast/common/string/
H A Dfmtip4.c28 * 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 Dstrtoip4.c29 * 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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dhash.t55 # the minimum of bits required to mount the attack on a hash
59 # of entries the number of mask bits can be higher
61 my $bits = $keys ? log($keys)/log(2) : 0;
62 $bits = $min_bits if $min_bits > $bits;
64 $bits = int($bits) < $bits ? int($bits) + 1 : int($bits);
[all...]
H A Drand.t34 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/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c42 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 Dinet_net_pton.c52 * 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...]
H A Dinet_cidr_pton.c46 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 Dinet_cidr_ntop.c44 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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/re/t/
H A Dre.t23 # bits
29 eval { re::bits(1) };
30 like( $warn, qr/Useless use/, 'bits() should warn with no args' );
33 re::bits(0, 'debug');
36 re::bits(0, 'debugcolor');
39 re::bits(0, 'nosuchsubpragma');
42 ok( re::bits(0, 'taint') & 0x00100000, '... should set taint bits' );
43 ok( re::bits(0, 'eval') & 0x00200000, '... should set eval bits' );
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dutf8_heavy.pl163 my $bits = 0;
192 $bits =
197 $bits = $minbits if $bits < $minbits;
217 $bits = $subobj->{BITS} if $bits < $subobj->{BITS};
222 print STDERR "CLASS = $class, TYPE => $type, BITS => $bits, NONE => $none\nEXTRAS =>\n$extras\nLIST =>\n$list\n" if DEBUG;
226 BITS => $bits,
247 my $bits = $self->{BITS};
249 print STDERR "SWASHGET @_ [$type/$bits/
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dsfio_t.h39 unsigned short bits; /* private flags */ \
80 0, /* bits */ \
108 (f)->bits = 0, /* bits */ \
121 #define SFDCNEXT(sp,f) (((f)=(sp)->bits&SF_DCDOWN),(sp)->bits|=SF_DCDOWN)
124 #define SFDCPREV(sp,f) ((f)?(0):((sp)->bits&=~SF_DCDOWN))
/osnet-11/usr/src/lib/libast/common/include/
H A Dsfio_t.h39 unsigned short bits; /* private flags */ \
80 0, /* bits */ \
108 (f)->bits = 0, /* bits */ \
121 #define SFDCNEXT(sp,f) (((f)=(sp)->bits&SF_DCDOWN),(sp)->bits|=SF_DCDOWN)
124 #define SFDCPREV(sp,f) ((f)?(0):((sp)->bits&=~SF_DCDOWN))
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dsfio_t.h39 unsigned short bits; /* private flags */ \
80 0, /* bits */ \
108 (f)->bits = 0, /* bits */ \
121 #define SFDCNEXT(sp,f) (((f)=(sp)->bits&SF_DCDOWN),(sp)->bits|=SF_DCDOWN)
124 #define SFDCPREV(sp,f) ((f)?(0):((sp)->bits&=~SF_DCDOWN))
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dsfio_t.h39 unsigned short bits; /* private flags */ \
80 0, /* bits */ \
108 (f)->bits = 0, /* bits */ \
121 #define SFDCNEXT(sp,f) (((f)=(sp)->bits&SF_DCDOWN),(sp)->bits|=SF_DCDOWN)
124 #define SFDCPREV(sp,f) ((f)?(0):((sp)->bits&=~SF_DCDOWN))
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dsfio_t.h39 unsigned short bits; /* private flags */ \
80 0, /* bits */ \
108 (f)->bits = 0, /* bits */ \
121 #define SFDCNEXT(sp,f) (((f)=(sp)->bits&SF_DCDOWN),(sp)->bits|=SF_DCDOWN)
124 #define SFDCPREV(sp,f) ((f)?(0):((sp)->bits&=~SF_DCDOWN))
/osnet-11/usr/src/common/mpi/
H A Dmplogic.c173 - 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/lib/libc/sparc/fp/
H A Dfpgetmask.s38 set 0x0f800000, %o4 ! mask of trap enable bits
41 and %o0, %o4, %o0 ! mask off bits of interest
H A Dfpgetsticky.s38 set 0x000003e0, %o4 ! mask of accrued exception bits
41 and %o0, %o4, %o0 ! mask off bits of interest
H A Dfpsetmask.s47 set 0x0f800000, %o4 ! mask of trap enable bits
48 sll %o0, 23, %o1 ! move input bits into position
56 and %o0, %o4, %o0 ! mask off bits of interest in old fsr
/osnet-11/usr/src/lib/libc/sparcv9/fp/
H A Dfpgetmask.s38 set 0x0f800000, %o4 ! mask of trap enable bits
41 and %o0, %o4, %o0 ! mask off bits of interest
H A Dfpgetsticky.s38 set 0x000003e0, %o4 ! mask of accrued exception bits
41 and %o0, %o4, %o0 ! mask off bits of interest
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Digest/
H A Dbase.pm37 my $bits;
41 $bits = pack("B*", $arg);
45 ($bits, $nbits) = @_;
49 Carp::croak("Number of bits must be multiple of 8 for this algorithm");
51 return $self->add(substr($bits, 0, $nbits/8));

Completed in 70 milliseconds

1234567