Searched refs:bitbuf (Results 1 – 4 of 4) sorted by relevance
/external/zlib/src/contrib/blast/ |
D | blast.c | 47 int bitbuf; /* bit buffer */ member 77 val = s->bitbuf; in bits() 89 s->bitbuf = val >> need; in bits() 136 int bitbuf; /* bits from stream */ in decode() local 140 bitbuf = s->bitbuf; in decode() 147 code |= (bitbuf & 1) ^ 1; /* invert code */ in decode() 148 bitbuf >>= 1; in decode() 151 s->bitbuf = bitbuf; in decode() 167 bitbuf = *(s->in)++; in decode() 398 s.bitbuf = 0; in blast()
|
/external/zlib/src/contrib/puff/ |
D | puff.c | 108 int bitbuf; /* bit buffer */ member 131 val = s->bitbuf; in bits() 140 s->bitbuf = (int)(val >> need); in bits() 169 s->bitbuf = 0; in stored() 270 int bitbuf; /* bits from stream */ in decode() local 274 bitbuf = s->bitbuf; in decode() 281 code |= bitbuf & 1; in decode() 282 bitbuf >>= 1; in decode() 285 s->bitbuf = bitbuf; in decode() 300 bitbuf = s->in[s->incnt++]; in decode() [all …]
|
/external/toybox/lib/ |
D | deflate.c | 34 struct bitbuf { struct 40 struct bitbuf *bitbuf_init(int fd, int size) in bitbuf_init() 42 struct bitbuf *bb = xzalloc(sizeof(struct bitbuf)+size); in bitbuf_init() 52 void bitbuf_skip(struct bitbuf *bb, int bits) in bitbuf_skip() 65 static inline int bitbuf_bit(struct bitbuf *bb) in bitbuf_bit() 78 unsigned bitbuf_get(struct bitbuf *bb, int bits) in bitbuf_get() 101 void bitbuf_flush(struct bitbuf *bb) in bitbuf_flush() 110 void bitbuf_put(struct bitbuf *bb, int data, int len) in bitbuf_put() 177 static unsigned huff_and_puff(struct bitbuf *bb, struct huff *huff) in huff_and_puff() 194 static void inflate(struct deflate *dd, struct bitbuf *bb) in inflate() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | libtommath.c | 1887 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local 2004 bitbuf = 0; in s_mp_exptmod() 2043 bitbuf |= (y << (winsize - ++bitcpy)); in s_mp_exptmod() 2059 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod() 2068 bitbuf = 0; in s_mp_exptmod() 2084 bitbuf <<= 1; in s_mp_exptmod() 2085 if ((bitbuf & (1 << winsize)) != 0) { in s_mp_exptmod() 2963 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local 3126 bitbuf = 0; in mp_exptmod_fast() 3165 bitbuf |= (y << (winsize - ++bitcpy)); in mp_exptmod_fast() [all …]
|