Searched defs:bits (Results 26 - 50 of 60) sorted by relevance

123

/osnet-11/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c432 unsigned long bits; local
441 bits = (byte[0] & 0xff) << 16;
442 bits |= (byte[1] & 0xff) << 8;
443 bits |= (byte[2] & 0xff);
445 for ( i = 0; i < 4; i++, bits <<= 6 ) {
452 /* get b64 digit from high order 6 bits */
453 *out++ = nib2b64[ (bits & 0xfc0000L) >> 18 ];
466 bits = (byte[0] & 0xff) << 16;
467 bits |= (byte[1] & 0xff) << 8;
468 bits |
[all...]
/osnet-11/usr/src/lib/libcpc/i386/
H A Dconf_pentium.c56 * map from "cpu version" to flag bits
67 const uint8_t bits; member in struct:nametable
329 switch (n->bits) {
390 action(arg, regno, n->name, n->bits);
394 __cpc_reg_to_name(int cpuver, int regno, uint8_t bits) argument
401 if (bits == n->bits && versionmatch(cpuver, regno, n))
410 __cpc_name_to_reg(int cpuver, int regno, const char *name, uint8_t *bits) argument
421 *bits = n->bits;
[all...]
H A Devent_pentium.c110 const struct keyval *kv, int cpuver, char *value, uint32_t *bits)
125 bits[kv->kv_regno] |= ((uint8_t)l & kv->kv_mask) << kv->kv_shift;
131 const struct keyval *kv, int cpuver, char *value, uint32_t *bits)
163 bits[kv->kv_regno] |= (val8 & kv->kv_mask) << kv->kv_shift;
170 const struct keyval *kv, int cpuver, char *value, uint32_t *bits)
176 bits[kv->kv_regno] &= ~(kv->kv_mask << kv->kv_shift);
183 const struct keyval *kv, int cpuver, char *value, uint32_t *bits)
189 bits[kv->kv_regno] |= (kv->kv_mask << kv->kv_shift);
195 const struct keyval *kv, int cpuver, char *value, uint32_t *bits)
204 if ((rv = kv->kv_action(fn, kv, cpuver, value, bits)) !
109 eightbits(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument
130 picbits(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument
169 bitclr(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument
182 bitset(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument
194 nextpair(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument
377 uint32_t *bits; local
510 masktostr(char *buf, uint8_t bits, char *tok) argument
519 val8tostr(uint8_t bits) argument
527 regtostr(int cpuver, int regno, uint8_t bits) argument
[all...]
/osnet-11/usr/src/lib/libcpc/sparc/
H A Dconf_ultra.c67 * map from "cpu version" to flag bits
80 const uint8_t bits; member in struct:nametable
463 action(arg, regno, n->name, n->bits);
467 __cpc_reg_to_name(int cpuver, int regno, uint8_t bits) argument
474 if (bits == n->bits && versionmatch(cpuver, regno, n))
483 __cpc_name_to_reg(int cpuver, int regno, const char *name, uint8_t *bits) argument
495 *bits = n->bits;
501 *bits
[all...]
H A Devent_ultra.c97 const struct keyval *kv, int cpuver, char *value, uint64_t *bits)
114 *bits |= (((uint64_t)val8 & kv->kv_mask) << kv->kv_shift);
121 const struct keyval *kv, int cpuver, char *value, uint64_t *bits)
127 *bits &= ~(kv->kv_mask << kv->kv_shift);
134 const struct keyval *kv, int cpuver, char *value, uint64_t *bits)
140 *bits |= (kv->kv_mask << kv->kv_shift);
213 uint64_t *bits; local
224 bits = &event->ce_pcr;
225 *bits = UINT64_C(1) << CPC_ULTRA_PCR_USR;
233 bits
96 picbits(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument
120 bitclr(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument
133 bitset(const char *fn, const struct keyval *kv, int cpuver, char *value, uint64_t *bits) argument
331 val8tostr(uint8_t bits) argument
339 regtostr(int cpuver, int regno, uint8_t bits) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Drfc2268.c201 int bits = keylen * 8; local
213 if (keylen < 40 / 8) /* We want at least 40 bits. */
226 /* Phase 2 - reduce effective key size to "bits". This was not
231 len = (bits + 7) >> 3;
233 x = rfc2268_sbox[S[i] & (255 >> (7 & -bits))];
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dvstafs.h63 unsigned char bits[7]; member in struct:prot
/osnet-11/usr/src/lib/libsqlite/src/
H A Dmd5.c52 uint32 bits[2]; member in struct:Context
178 ctx->bits[0] = 0;
179 ctx->bits[1] = 0;
193 t = ctx->bits[0];
194 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t)
195 ctx->bits[1]++; /* Carry from low to high */
196 ctx->bits[1] += len >> 29;
234 * 1 0* (64-bit count of bits processed, MSB-first)
242 count = (ctx->bits[0] >> 3) & 0x3F;
267 /* Append length in bits an
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Ddns_nw.c523 make1101inaddr(const u_char *net, int bits, char *name, int size) { argument
530 for (n = (32 - bits) / 8; n > 0; n--) {
538 if ((n = bits % 8) != 0) {
542 net[bits / 8] & ~((1 << (8 - n)) - 1)));
547 for (n = bits / 8; n > 0; n--) {
H A Dirpmarshall.c1384 int bits; local
1439 bits = inet_net_pton(naddrtype, tmpbuf, &nnet, sizeof nnet);
1440 if (bits < 0) {
1449 ne->n_length = bits;
1558 int bits; local
1612 bits = inet_net_pton(naddrtype, tmpbuf, &nnet, sizeof nnet);
1613 if (bits < 0) {
/osnet-11/usr/src/lib/libsum/common/
H A Dsum-md5.c62 UINT4 count[2]; /* # bits handled mod 2^64 (lsb)*/
172 /* ROTATE_LEFT rotates x left n bits */
299 /* update number of bits */
327 unsigned char bits[8]; local
331 /* save number of bits */
332 md5_encode(bits, context->count, sizeof(bits));
340 md5_block(p, bits, sizeof(bits));
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c79 const int bits);
155 * bits: the size of the key
162 const int protocol, const int bits)
181 new_key->dk_key_size = bits;
928 *\par bits Size of the new key in bits.
934 * section 3.3. The field has 16 bits.
938 * section 3.4. The field has 8 bits.
951 dst_generate_key(const char *name, const int bits, const int exp, argument
966 new_key = dst_s_get_key_struct(name, alg, flags, protocol, bits);
161 dst_s_get_key_struct(const char *name, const int alg, const int flags, const int protocol, const int bits) argument
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlflow.c701 int bits; local
720 bits = ffs(ntohl(mask->_S6_un._S6_u32[i])) - 1;
721 if (bits == 0)
723 plen -= bits;
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_module.c812 int fd, err, bits; local
852 bits = 32;
856 bits = 64;
901 bits, dmp->dm_name, dmp->dm_file, dmp->dm_modid);
1019 uint_t bits = 0; /* flag bits that must be present */ local
1033 mask = bits = DT_DM_KERNEL;
1045 if ((dmp->dm_flags & mask) != bits)
1149 uint_t bits = 0; /* flag bits tha local
[all...]
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c85 u_char n_bits; /* current bits/code */
195 * with 8 fractional bits.
291 int bits; local
299 bits = BSD_NBITS(options[2]);
300 switch (bits) {
328 maxmaxcode = MAXCODE(bits);
349 db->maxbits = bits;
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c1137 CK_ULONG bits = 0L; local
1172 *(CK_ULONG *)modulus_bits_attr->pValue = bits;
/osnet-11/usr/src/lib/libshell/common/sh/
H A Darray.c49 unsigned char *bits; /* bit array for child subscripts */ member in struct:index_array
116 ar->bits = (unsigned char*)&ar->val[ar->maxi];
230 nofree = array_isbit(ap->bits,ap->cur,ARRAY_NOFREE);
372 if(up->np && array_isbit(ap->bits,ap->cur,ARRAY_CHILD))
490 ar->bits = (unsigned char*)&ar->val[ar->maxi];
515 array_setbit(aq->bits,aq->cur,ARRAY_NOFREE);
613 array_clrbit(aq->bits,aq->cur,ARRAY_CHILD);
643 array_clrbit(aq->bits,aq->cur,ARRAY_CHILD);
696 array_clrbit(aq->bits,aq->cur,ARRAY_NOFREE);
791 ap->bits
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dcertgetsetop.c276 * Check standard KeyUsage bits
1812 int critical, uint32_t bits)
1819 uint16_t kubits = (uint16_t)(bits & 0x0000ffff);
1811 set_key_usage_extension(KMF_X509_EXTENSIONS *extns, int critical, uint32_t bits) argument
/osnet-11/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c72 int databits; /* number of bits used to hold dictionary value */
74 int csumbits; /* number of bits used for checksum */
111 static void bitv_shift(bitv *bv, unsigned bits);
112 static void bitv_setlo(bitv *bv, unsigned bits, unsigned val);
113 static void bitv_shiftin(bitv *bv, unsigned bits, unsigned val);
114 static void bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv);
121 static bitv *bitv_strparse(const char *s, int bits);
709 int bit; /* for looping through bits */
775 /* assemble all the bits for the diagcode */
840 int bit; /* for looping through bits */
1131 bitv_shift(bitv *bv, unsigned bits) argument
1153 bitv_setlo(bitv *bv, unsigned bits, unsigned val) argument
1185 bitv_shiftin(bitv *bv, unsigned bits, unsigned val) argument
1193 bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv) argument
1396 bitv_strparse(const char *s, int bits) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dmisc.c568 represents the high 64 bits in 128-bits space. */
569 unsigned bits = 64; local
582 while (bits--)
/osnet-11/usr/src/grub/grub2/grub-core/video/i386/pc/
H A Dvbe.c106 grub_uint64_t bits; local
119 return; /* over 36 bits, so out of range */
161 bits = bits_lo | ((grub_uint64_t) bits_hi << 32);
183 real_base + (~real_mask & bits) >= fb_base)
1088 /* Select mode with most of "volume" (size of framebuffer in bits). */
/osnet-11/usr/src/lib/libproc/common/
H A DPcontrol.c1570 uint32_t bits; local
1607 bits = *((uint32_t *)&lsp->pr_lwppend);
1608 if (bits)
1609 dprintf("%s: pr_lwppend = 0x%.8X\n", caller, bits);
1616 uint32_t bits; local
1620 bits = *((uint32_t *)&P->status.pr_sigpend);
1621 if (bits)
1622 dprintf("Pstopstatus: pr_sigpend = 0x%.8X\n", bits);
/osnet-11/usr/src/lib/libscf/common/
H A Dmidlevel.c2854 uint64_t *bits = prop->pv_ptr; local
2855 *bits = b ? (*bits | prop->pv_aux) :
2856 (*bits & ~prop->pv_aux);
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_util.c540 uint_t bits; local
549 * in the least significant bits of the address, e.g.
554 bits = atoi(maskstr);
555 mask = bits ? ~0 << ((sizeof (struct in_addr) * NBBY) - bits)
/osnet-11/usr/src/lib/libdisasm/sparc/
H A Ddis_sparc_fmt.c721 * print out val (which is 'bitlen' bits long) in binary
2323 * len is the length of the field (in bits)
2344 * sign extend a val (that is 'bits' bits in length) to a 32-bit signed
2348 sign_extend(int32_t val, int32_t bits) argument
2350 if ((val & (1L << (bits - 1))) == 0)
2353 return ((-1L << bits) | val);

Completed in 125 milliseconds

123