Lines Matching refs:wrap
228 int wrap = 1;
256 wrap = 0;
261 wrap = 2; /* write gzip wrapper instead */
276 s->wrap = wrap;
326 strm->state->wrap == 2 ||
327 (strm->state->wrap == 1 && strm->state->status != INIT_STATE))
331 if (s->wrap)
375 if (s->wrap < 0) {
376 s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */
378 s->status = s->wrap ? INIT_STATE : BUSY_STATE;
381 s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
398 if (strm->state->wrap != 2) return Z_STREAM_ERROR;
485 * for every combination of windowBits and memLevel, as well as wrap.
579 if (s->wrap == 2) {
830 if (s->wrap <= 0) return Z_STREAM_END;
834 if (s->wrap == 2) {
854 if (s->wrap > 0) s->wrap = -s->wrap; /* write the trailer only once! */
968 if (strm->state->wrap == 1) {
972 else if (strm->state->wrap == 2) {