Lines Matching refs:index
39 * - Simplify offs[] index in construct()
241 int index; /* index of first code of length len in symbol table */
243 code = first = index = 0;
248 return h->symbol[index + (code - first)];
249 index += count; /* else update for next length */
269 int index; /* index of first code of length len in symbol table */
276 code = first = index = 0;
287 return h->symbol[index + (code - first)];
289 index += count; /* else update for next length */
668 int index; /* index of lengths[] */
691 for (index = 0; index < ncode; index++)
692 lengths[order[index]] = bits(s, 3);
693 for (; index < 19; index++)
694 lengths[order[index]] = 0;
702 index = 0;
703 while (index < nlen + ndist) {
711 lengths[index++] = symbol;
715 if (index == 0)
717 len = lengths[index - 1]; /* last length */
724 if (index + symbol > nlen + ndist)
727 lengths[index++] = len;