Searched refs:MZ_STREAM_ERROR (Results 1 – 4 of 4) sorted by relevance
209 MZ_DATA_ERROR | MZ_STREAM_ERROR => mem::decompress_failed(), in decompress()305 MZ_STREAM_ERROR => Err(CompressError(())), in compress()369 pub use libz_sys::Z_STREAM_ERROR as MZ_STREAM_ERROR;433 pub use cloudflare_zlib_sys::Z_STREAM_ERROR as MZ_STREAM_ERROR;
279 ffi::MZ_STREAM_ERROR => Err(CompressError(())), in set_dictionary()512 ffi::MZ_STREAM_ERROR => Err(DecompressError(Default::default())), in set_dictionary()
41 MZ_STREAM_ERROR = -2, enumerator238 #define Z_STREAM_ERROR MZ_STREAM_ERROR
258 if (!pStream) return MZ_STREAM_ERROR; in mz_deflateInit2()287 …(!pStream) || (!pStream->state) || (!pStream->zalloc) || (!pStream->zfree)) return MZ_STREAM_ERROR; in mz_deflateReset()299 …ream->state) || (flush < 0) || (flush > MZ_FINISH) || (!pStream->next_out)) return MZ_STREAM_ERROR; in mz_deflate()322 mz_status = MZ_STREAM_ERROR; in mz_deflate()344 if (!pStream) return MZ_STREAM_ERROR; in mz_deflateEnd()409 if (!pStream) return MZ_STREAM_ERROR; in mz_inflateInit2()449 if ((!pStream) || (!pStream->state)) return MZ_STREAM_ERROR; in mz_inflate()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()536 return MZ_STREAM_ERROR; in mz_inflateEnd()[all …]