Home | History | Annotate | Download | only in zlib

Lines Matching defs:next

38  * - Use local copies of stream next and avail values, as well as local bit
123 state->lencode = state->distcode = state->next = state->codes;
251 static code *next;
259 next = fixed;
260 lenfix = next;
262 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
267 distfix = next;
269 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
442 next = strm->next_in; \
453 strm->next_in = next; \
472 hold += (unsigned long)(*next++) << bits; \
525 next state. The NEEDBITS() macro is usually the way the state evaluates
540 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream.
544 PULLBYTE() directly in order to pull just enough bytes to decode the next
562 As shown above, if the next state is also the next case, then the break
576 output to the window for the next call of inflate().
594 unsigned char FAR *next; /* next input */
595 unsigned char FAR *put; /* next output */
725 zmemcpy(state->head->extra + len, next,
730 state->check = crc32(state->check, next, copy);
732 next += copy;
744 len = (unsigned)(next[copy++]);
751 state->check = crc32(state->check, next, copy);
753 next += copy;
765 len = (unsigned)(next[copy++]);
772 state->check = crc32(state->check, next, copy);
774 next += copy;
870 zmemcpy(put, next, copy);
872 next += copy;
907 state->next = state->codes;
908 state->lencode = (code const FAR *)(state->next);
910 ret = inflate_table(CODES, state->lens, 19, &(state->next),
982 state->next = state->codes;
983 state->lencode = (code const FAR *)(state->next);
985 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next),
992 state->distcode = (code const FAR *)(state->next);
995 &(state->next), &(state->distbits), state->work);
1328 unsigned next;
1331 next = 0;
1332 while (next < len && got < 4) {
1333 if ((int)(buf[next]) == (got < 2 ? 0 : 0xff))
1335 else if (buf[next])
1339 next++;
1342 return next;
1443 copy->next = copy->codes + (state->next - state->codes);