Lines Matching refs:code_t
101 the symbols in a flat code. The code_t type identifies where the bit-pattern
117 typedef uintmax_t code_t; // type for bit pattern counting
284 int most = (((code_t)left << (g.max - len)) - syms) /
285 (((code_t)1 << (g.max - len)) - 1);
421 int most = (((code_t)left << (g.max - len)) - syms) /
422 (((code_t)1 << (g.max - len)) - 1);
527 // determine the number of bits in a code_t
529 for (code_t word = 1; word; word <<= 1)
533 if (g.max > bits || (code_t)(syms - 2) >= ((code_t)-1 >> (g.max - 1))) {
539 if ((code_t)(syms - 1) > ((code_t)1 << g.max) - 1) {
589 if ((code_t)syms < ((code_t)1 << (g.root + 1)))