Home
last modified time | relevance | path

Searched refs:bitcnt (Results 1 – 12 of 12) sorted by relevance

/external/zlib/contrib/blast/
Dblast.c42 int bitcnt; /* number of bits in bit buffer */ member
72 while (s->bitcnt < need) { in bits()
77 val |= (int)(*(s->in)++) << s->bitcnt; /* load eight bits */ in bits()
79 s->bitcnt += 8; in bits()
84 s->bitcnt -= need; in bits()
135 left = s->bitcnt; in decode()
146 s->bitcnt = (s->bitcnt - len) & 7; in decode()
387 s.bitcnt = 0; in blast()
/external/zlib/contrib/puff/
Dpuff.c108 int bitcnt; /* number of bits in bit buffer */ member
131 while (s->bitcnt < need) { in bits()
134 val |= (long)(s->in[s->incnt++]) << s->bitcnt; /* load eight bits */ in bits()
135 s->bitcnt += 8; in bits()
140 s->bitcnt -= need; in bits()
169 s->bitcnt = 0; in stored()
274 left = s->bitcnt; in decode()
285 s->bitcnt = (s->bitcnt - len) & 7; in decode()
809 s.bitcnt = 0; in puff()
/external/dropbear/libtommath/
Dbn_s_mp_exptmod.c27 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local
140 bitcnt = 1; in s_mp_exptmod()
148 if (--bitcnt == 0) { in s_mp_exptmod()
155 bitcnt = (int) DIGIT_BIT; in s_mp_exptmod()
Dbn_mp_exptmod_fast.c36 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local
195 bitcnt = 1; in mp_exptmod_fast()
203 if (--bitcnt == 0) { in mp_exptmod_fast()
210 bitcnt = (int)DIGIT_BIT; in mp_exptmod_fast()
Dchanges.txt254 …-- Fixed a lingering typo in mp_exptmod* that would set bitcnt to zero then one. Very silly stuff…
/external/dropbear/libtomcrypt/src/pk/ecc/
Dltc_ecc_mulmod_timing.c43 int first, bitbuf, bitcpy, bitcnt, mode, digidx; in ltc_ecc_mulmod() local
98 bitcnt = 1; in ltc_ecc_mulmod()
107 if (--bitcnt == 0) { in ltc_ecc_mulmod()
112 bitcnt = (int) MP_DIGIT_BIT; in ltc_ecc_mulmod()
Dltc_ecc_mulmod.c45 int first, bitbuf, bitcpy, bitcnt, mode, digidx; in ltc_ecc_mulmod() local
109 bitcnt = 1; in ltc_ecc_mulmod()
118 if (--bitcnt == 0) { in ltc_ecc_mulmod()
123 bitcnt = (int) ltc_mp.bits_per_digit; in ltc_ecc_mulmod()
/external/bison/lib/
Dabitset.c149 unsigned int bitcnt; in abitset_list_reverse() local
167 bitcnt = bitno % BITSET_WORD_BITS; in abitset_list_reverse()
174 word = srcp[windex] << (BITSET_WORD_BITS - 1 - bitcnt); in abitset_list_reverse()
175 for (; word; bitcnt--) in abitset_list_reverse()
179 list[count++] = bitoff + bitcnt; in abitset_list_reverse()
182 *next = n_bits - (bitoff + bitcnt); in abitset_list_reverse()
189 bitcnt = BITSET_WORD_BITS - 1; in abitset_list_reverse()
Dvbitset.c172 unsigned int bitcnt; local
190 bitcnt = bitno % BITSET_WORD_BITS;
197 word = srcp[windex] << (BITSET_WORD_BITS - 1 - bitcnt);
198 for (; word; bitcnt--)
202 list[count++] = bitoff + bitcnt;
205 *next = n_bits - (bitoff + bitcnt);
212 bitcnt = BITSET_WORD_BITS - 1;
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c1872 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local
1985 bitcnt = 1; in s_mp_exptmod()
1993 if (--bitcnt == 0) { in s_mp_exptmod()
2000 bitcnt = (int) DIGIT_BIT; in s_mp_exptmod()
2944 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local
3103 bitcnt = 1; in mp_exptmod_fast()
3111 if (--bitcnt == 0) { in mp_exptmod_fast()
3118 bitcnt = (int)DIGIT_BIT; in mp_exptmod_fast()
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c1872 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local
1985 bitcnt = 1; in s_mp_exptmod()
1993 if (--bitcnt == 0) { in s_mp_exptmod()
2000 bitcnt = (int) DIGIT_BIT; in s_mp_exptmod()
2944 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local
3103 bitcnt = 1; in mp_exptmod_fast()
3111 if (--bitcnt == 0) { in mp_exptmod_fast()
3118 bitcnt = (int)DIGIT_BIT; in mp_exptmod_fast()
/external/dropbear/libtommath/pre_gen/
Dmpi.c2653 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local
2812 bitcnt = 1; in mp_exptmod_fast()
2820 if (--bitcnt == 0) { in mp_exptmod_fast()
2827 bitcnt = (int)DIGIT_BIT; in mp_exptmod_fast()
8884 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local
8997 bitcnt = 1; in s_mp_exptmod()
9005 if (--bitcnt == 0) { in s_mp_exptmod()
9012 bitcnt = (int) DIGIT_BIT; in s_mp_exptmod()