Lines Matching refs:state
84 /* Compression function. Returns the block state after the call. */
224 if (strm->state->wrap == 2)
230 if (strm->state->wrap == 1)
455 strm->state = (struct internal_state FAR *)s;
457 s->status = INIT_STATE; /* to pass state test in deflateReset() */
569 * Check for a valid deflate stream state. Return 0 if ok, 1 if not.
576 s = strm->state;
602 s = strm->state;
661 s = strm->state;
684 s = (deflate_state *)strm->state;
738 lm_init(strm->state);
744 if (deflateStateCheck(strm) || strm->state->wrap != 2)
746 strm->state->gzhead = head;
754 *pending = strm->state->pending;
756 *bits = strm->state->bi_valid;
766 s = strm->state;
795 s = strm->state;
840 s = strm->state;
892 s = strm->state;
939 * IN assertion: the stream state is correct and there is enough room in
955 deflate_state *s = strm->state;
991 s = strm->state;
1302 status = strm->state->status;
1305 TRY_FREE(strm, strm->state->pending_buf);
1306 TRY_FREE(strm, strm->state->head);
1307 TRY_FREE(strm, strm->state->prev);
1308 TRY_FREE(strm, strm->state->window);
1310 ZFREE(strm, strm->state);
1311 strm->state = Z_NULL;
1317 * Copy the source state to the destination state.
1335 ss = source->state;
1341 dest->state = (struct internal_state FAR *) ds;
1671 * the current block state.
1863 * block state.