Searched refs:GETBITS (Results 1 - 3 of 3) sorted by relevance

/ast/src/cmd/codexlib/zip/
H A Ddeflate.c127 #define GETBITS(n) (bit_buf & MASK_BITS(n)) macro
241 t = tl + GETBITS(bl);
250 t = t->v.t + GETBITS(x);
273 l = t->v.n + GETBITS(x);
279 t = td + GETBITS(bd);
288 t = t->v.t + GETBITS(x);
293 d = w - t->v.n - GETBITS(x);
337 l = GETBITS(16);
359 *p++ = state->slide[w++] = (uch)GETBITS(8);
453 nl = 257 + GETBITS(
[all...]
H A Dimplode.c180 x = GETBITS(j)
192 #define GETBITS(p,n) ((ulg)(p)->bit_buf & MASK_BITS(n)) macro
304 d = GETBITS(state, 7);
339 n += GETBITS(state, 8);
444 d = GETBITS(state, 6);
479 n += GETBITS(state, 8);
572 d = GETBITS(state, 7);
607 n += GETBITS(state, 8);
699 d = GETBITS(state, 6);
734 n += GETBITS(stat
[all...]
/ast/src/cmd/codexlib/lzh/
H A Dlzh.c126 #define GETBITS(p,n) ((n)<=(p)->bitcount ? ((((p)->bitbuf)>>((p)->bitcount-=(n)))&((1L<<(n))-1)) : getbits(p,n,0)) macro
144 return GETBITS(state, n);
337 if (!(n = GETBITS(state, nbit)))
339 c = GETBITS(state, nbit);
350 if ((c = GETBITS(state, 3)) == 7)
351 while (GETBITS(state, 1))
356 c = GETBITS(state, 2);
377 n = GETBITS(state, CBIT);
382 c = GETBITS(state, CBIT);
403 c = GETBITS(stat
[all...]

Completed in 16 milliseconds