Lines Matching defs:size
1 /* enough.c -- determine the maximum size of inflate's Huffman code tables over
14 1.3 17 Feb 2008 Add argument for initial root table size
15 Fix bug for initial root table size == max - 1
24 maximum code length in bits to determine the maximum table size for zilb's
50 level table. The size of that table is determined by the longest code with
52 has size 1 << (len - root), to index the remaining bits in that set of
79 size is recalled in order to avoid recalculating from the same juncture.
141 count() for the index, and the calculation of size in main() for the size
157 vector is of a variable size, and grows as needed to accommodate the visited
171 local int root; /* size of base code table in bits */
173 local size_t size; /* number of elements in num and done */
187 for (n = 0; n < size; n++)
256 has a variable size bit vector indexed by (mem,rem). The bit vector is
438 maximum number of symbols, initial root table size, and maximum code length
517 /* determine size of saved results array, checking for overflows,
522 size = syms >> 1;
523 if (size > ((size_t)0 - 1) / (n = (syms - 1) >> 1) ||
524 (size *= n, size > ((size_t)0 - 1) / (n = max - 1)) ||
525 (size *= n, size > ((size_t)0 - 1) / sizeof(big_t)) ||
526 (num = calloc(size, sizeof(big_t))) == NULL) {
554 else if (size > ((size_t)0 - 1) / sizeof(struct tab) ||
555 (done = calloc(size, sizeof(struct tab))) == NULL) {