Lines Matching defs:MZ_FINISH
998 // Flush values. For typical usage you only need MZ_NO_FLUSH and MZ_FINISH. The
1005 MZ_FINISH = 4,
1103 // MZ_FINISH.
1125 // MZ_NO_FLUSH or MZ_FINISH.
1155 // flush may be MZ_NO_FLUSH, MZ_SYNC_FLUSH, or MZ_FINISH.
1156 // On the first call, if flush is MZ_FINISH it's assumed the input and output
1159 // MZ_FINISH implies that there are no more source bytes available beside
1212 #define Z_FINISH MZ_FINISH
2091 if ((!pStream) || (!pStream->state) || (flush < 0) || (flush > MZ_FINISH) ||
2100 return (flush == MZ_FINISH) ? MZ_STREAM_END : MZ_BUF_ERROR;
2129 else if ((!pStream->avail_in) && (flush != MZ_FINISH)) {
2173 status = mz_deflate(&stream, MZ_FINISH);
2246 if ((flush) && (flush != MZ_SYNC_FLUSH) && (flush != MZ_FINISH))
2257 if (pState->m_has_flushed && (flush != MZ_FINISH)) return MZ_STREAM_ERROR;
2258 pState->m_has_flushed |= (flush == MZ_FINISH);
2260 if ((flush == MZ_FINISH) && (first_call)) {
2261 // MZ_FINISH on the first call implies that the input and output buffers are
2286 // flush != MZ_FINISH then we must assume there's more input.
2287 if (flush != MZ_FINISH) decomp_flags |= TINFL_FLAG_HAS_MORE_INPUT;
2334 // to MZ_FINISH.
2335 else if (flush == MZ_FINISH) {
2337 // when flush==MZ_FINISH.
2381 status = mz_inflate(&stream, MZ_FINISH);