Lines Matching refs:MZ_FINISH
299 …if ((!pStream) || (!pStream->state) || (flush < 0) || (flush > MZ_FINISH) || (!pStream->next_out))… in mz_deflate()
305 return (flush == MZ_FINISH) ? MZ_STREAM_END : MZ_BUF_ERROR; in mz_deflate()
332 else if ((!pStream->avail_in) && (flush != MZ_FINISH)) in mz_deflate()
377 status = mz_deflate(&stream, MZ_FINISH); in mz_compress2()
451 if ((flush) && (flush != MZ_SYNC_FLUSH) && (flush != MZ_FINISH)) return MZ_STREAM_ERROR; in mz_inflate()
460 if (pState->m_has_flushed && (flush != MZ_FINISH)) return MZ_STREAM_ERROR; in mz_inflate()
461 pState->m_has_flushed |= (flush == MZ_FINISH); in mz_inflate()
463 if ((flush == MZ_FINISH) && (first_call)) in mz_inflate()
484 if (flush != MZ_FINISH) decomp_flags |= TINFL_FLAG_HAS_MORE_INPUT; in mz_inflate()
517 else if (flush == MZ_FINISH) in mz_inflate()
563 status = mz_inflate(&stream, MZ_FINISH); in mz_uncompress()