Lines Matching refs:state
71 /* Compression function. Returns the block state after the call. */
229 if (strm->state->wrap == 1) {
233 else if (strm->state->wrap == 2) {
437 strm->state = (struct internal_state FAR *)s;
439 s->status = INIT_STATE; /* to pass state test in deflateReset() */
530 * Check for a valid deflate stream state. Return 0 if ok, 1 if not.
538 s = strm->state;
564 s = strm->state;
627 s = strm->state;
650 s = (deflate_state *)strm->state;
705 lm_init(strm->state);
711 if (deflateStateCheck(strm) || strm->state->wrap != 2)
713 strm->state->gzhead = head;
721 *pending = strm->state->pending;
723 *bits = strm->state->bi_valid;
733 s = strm->state;
762 s = strm->state;
807 s = strm->state;
860 s = strm->state;
907 * IN assertion: the stream state is correct and there is enough room in
925 deflate_state *s = strm->state;
961 s = strm->state;
1271 status = strm->state->status;
1274 TRY_FREE(strm, strm->state->pending_buf);
1275 TRY_FREE(strm, strm->state->head);
1276 TRY_FREE(strm, strm->state->prev);
1277 TRY_FREE(strm, strm->state->window);
1279 ZFREE(strm, strm->state);
1280 strm->state = Z_NULL;
1286 * Copy the source state to the destination state.
1304 ss = source->state;
1310 dest->state = (struct internal_state FAR *) ds;
1625 * the current block state.
1818 * block state.