Lines Matching refs:index
39 * - Simplify offs[] index in construct()
223 int index; /* index of first code of length len in symbol table */
225 code = first = index = 0;
230 return h->symbol[index + (code - first)];
231 index += count; /* else update for next length */
251 int index; /* index of first code of length len in symbol table */
258 code = first = index = 0;
269 return h->symbol[index + (code - first)];
271 index += count; /* else update for next length */
629 int index; /* index of lengths[] */
647 for (index = 0; index < ncode; index++)
648 lengths[order[index]] = bits(s, 3);
649 for (; index < 19; index++)
650 lengths[order[index]] = 0;
657 index = 0;
658 while (index < nlen + ndist) {
664 lengths[index++] = symbol;
668 if (index == 0) return -5; /* no last length! */
669 len = lengths[index - 1]; /* last length */
676 if (index + symbol > nlen + ndist)
679 lengths[index++] = len;