Searched defs:MAXBITS (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libz/
H A Dinftrees.c9 #define MAXBITS 15 macro
64 unsigned short count[MAXBITS+1]; /* number of codes of each length */
65 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */
95 lens[] are in the range 0..MAXBITS. The caller must assure this.
96 1..MAXBITS is interpreted as that code length. zero means that that
112 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
113 for (len = 0; len <= MAXBITS; len++)
120 for (max = MAXBITS; max >= 1; max--)
132 for (min = 1; min <= MAXBITS; min++)
138 for (len = 1; len <= MAXBITS; le
[all...]
/ast/src/cmd/codexlib/lzd/
H A Dlzd.c18 #define MAXBITS 13 macro
118 if (++state->free_code >= state->max_code && state->nbits < MAXBITS)
/ast/src/cmd/codexlib/compress/
H A Dcompress.c67 #define MAXBITS 16 macro
69 #define BITS MAXBITS /* Default bits. */
459 else if ((maxbits = strton(s, &e, NiL, 0)) < MINBITS || maxbits > MAXBITS || *e)
462 (*p->disc->errorf)(NiL, p->disc, 2, "%s: maximum bits per code must be in [%d..%d]", s, MINBITS, MAXBITS); local
/ast/src/cmd/INIT/
H A Dratz.c1682 #define MAXBITS 15 macro
1731 unsigned short count[MAXBITS+1]; /* number of codes of each length */
1732 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */
1762 lens[] are in the range 0..MAXBITS. The caller must assure this.
1763 1..MAXBITS is interpreted as that code length. zero means that that
1779 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
1780 for (len = 0; len <= MAXBITS; len++)
1787 for (max = MAXBITS; max >= 1; max--)
1799 for (min = 1; min <= MAXBITS; min++)
1805 for (len = 1; len <= MAXBITS; le
[all...]

Completed in 22 milliseconds