Searched refs:zerr (Results 1 – 3 of 3) sorted by relevance
53 int zerr; in zisofs_uncompress_block() local107 zerr = zlib_inflateInit(&stream); in zisofs_uncompress_block()108 if (zerr != Z_OK) { in zisofs_uncompress_block()109 if (zerr == Z_MEM_ERROR) in zisofs_uncompress_block()114 zerr); in zisofs_uncompress_block()119 zerr != Z_STREAM_END) { in zisofs_uncompress_block()147 zerr = zlib_inflate(&stream, Z_SYNC_FLUSH); in zisofs_uncompress_block()148 if (zerr == Z_BUF_ERROR && stream.avail_in == 0) in zisofs_uncompress_block()150 if (zerr == Z_STREAM_END) in zisofs_uncompress_block()152 if (zerr != Z_OK) { in zisofs_uncompress_block()[all …]
112 int zerr, err; in z_erofs_deflate_decompress() local136 zerr = zlib_inflateInit2(&strm->z, -MAX_WBITS); in z_erofs_deflate_decompress()137 if (zerr != Z_OK) { in z_erofs_deflate_decompress()160 zerr = zlib_inflate(&strm->z, Z_SYNC_FLUSH); in z_erofs_deflate_decompress()161 if (zerr != Z_OK || !(rq->outputsize + strm->z.avail_out)) { in z_erofs_deflate_decompress()162 if (zerr == Z_OK && rq->partial_decoding) in z_erofs_deflate_decompress()164 if (zerr == Z_STREAM_END && !rq->outputsize) in z_erofs_deflate_decompress()167 zerr, rq->inputsize, rq->outputsize); in z_erofs_deflate_decompress()
153 int zerr, err; in z_erofs_zstd_decompress() local196 zerr = zstd_decompress_stream(stream, &out_buf, &in_buf); in z_erofs_zstd_decompress()197 if (zstd_is_error(zerr) || (!zerr && rq->outputsize)) { in z_erofs_zstd_decompress()200 zerr ? zstd_get_error_name(zerr) : "unexpected end of stream"); in z_erofs_zstd_decompress()