Lines Matching refs:rc

612 	int rc;  in uncompresszlib()  local
625 rc = zlib ? inflateInit(&z) : inflateInit2(&z, -15); in uncompresszlib()
626 if (rc != Z_OK) in uncompresszlib()
629 rc = inflate(&z, Z_SYNC_FLUSH); in uncompresszlib()
630 if (rc != Z_OK && rc != Z_STREAM_END) { in uncompresszlib()
636 rc = inflateEnd(&z); in uncompresszlib()
637 if (rc != Z_OK) in uncompresszlib()
645 return makeerror(newch, n, "%s", z.msg ? z.msg : zError(rc)); in uncompresszlib()
654 int rc; in uncompressbzlib() local
659 rc = BZ2_bzDecompressInit(&bz, 0, 0); in uncompressbzlib()
660 if (rc != BZ_OK) in uncompressbzlib()
668 rc = BZ2_bzDecompress(&bz); in uncompressbzlib()
669 if (rc != BZ_OK && rc != BZ_STREAM_END) { in uncompressbzlib()
677 rc = BZ2_bzDecompressEnd(&bz); in uncompressbzlib()
678 if (rc != BZ_OK) in uncompressbzlib()
686 return makeerror(newch, n, "bunzip error %d", rc); in uncompressbzlib()
695 int rc; in uncompressxzlib() local
700 rc = lzma_auto_decoder(&xz, UINT64_MAX, 0); in uncompressxzlib()
701 if (rc != LZMA_OK) in uncompressxzlib()
709 rc = lzma_code(&xz, LZMA_RUN); in uncompressxzlib()
710 if (rc != LZMA_OK && rc != LZMA_STREAM_END) { in uncompressxzlib()
724 return makeerror(newch, n, "unxz error %d", rc); in uncompressxzlib()
733 size_t rc; in uncompresszstd() local
744 rc = ZSTD_DCtx_reset(zstd, ZSTD_reset_session_only); in uncompresszstd()
745 if (ZSTD_isError(rc)) in uncompresszstd()
755 rc = ZSTD_decompressStream(zstd, &out, &in); in uncompresszstd()
756 if (ZSTD_isError(rc)) in uncompresszstd()
769 return makeerror(newch, n, "zstd error %d", ZSTD_getErrorCode(rc)); in uncompresszstd()