Home
last modified time | relevance | path

Searched refs:bitsleft (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c561 uint_t bitsleft = CRYPTO_BYTES2BITS(dst_len_bytes); in bitrepeat() local
570 while (bitsleft != 0) { in bitrepeat()
571 if (bitsleft >= len_bits) { in bitrepeat()
587 bitsleft -= len_bits; in bitrepeat()
589 currentbits = bitsleft; in bitrepeat()
591 for (i = 0; i < len_bytes && bitsleft != 0; i++) { in bitrepeat()
597 bitsleft -= 8; in bitrepeat()
600 bitsleft -= bitoffset; in bitrepeat()
608 bitsleft = 0; in bitrepeat()
/titanic_44/usr/src/cmd/pack/
H A Dpack.c148 register int bitsleft; in output() local
174 bitsleft = 8; in output()
188 mask.lint.lng = bits[c]<<bitsleft; in output()
190 if (bitsleft == 8) in output()
194 bitsleft -= length[c]; in output()
195 while (bitsleft < 0) { in output()
197 bitsleft += 8; in output()
213 if (bitsleft < 8) in output()
/titanic_44/usr/src/cmd/unpack/
H A Dunpack.c172 register int bitsleft, c, i; in decode() local
197 bitsleft = 8; in decode()
198 while (--bitsleft >= 0) { in decode()
/titanic_44/usr/src/uts/common/io/
H A Dtem_safe.c2051 int bitsleft, nbits; in bit_to_pix8() local
2060 bitsleft = tems.ts_font.width; in bit_to_pix8()
2064 nbits = MIN(8, bitsleft); in bit_to_pix8()
2065 bitsleft -= nbits; in bit_to_pix8()
2110 int bitsleft, nbits; in bit_to_pix24() local
2124 bitsleft = tems.ts_font.width; in bit_to_pix24()
2127 nbits = MIN(8, bitsleft); in bit_to_pix24()
2128 bitsleft -= nbits; in bit_to_pix24()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dspd.c1930 int bitsleft = pfxlen & 7; in ip_addr_match() local
1939 ((bitsleft == 0) || in ip_addr_match()
1940 (((addr1[offset] ^ addr2[offset]) & (0xff<<(8-bitsleft))) == 0))); in ip_addr_match()