Lines Matching refs:zret
580 size_t zret; in bio_zstd_read() local
608 zret = ZSTD_decompressStream(ctx->decompress.state, &outBuf, &ctx->decompress.inbuf); in bio_zstd_read()
609 if (ZSTD_isError(zret)) { in bio_zstd_read()
611 ERR_add_error_data(1, ZSTD_getErrorName(zret)); in bio_zstd_read()
638 size_t zret; in bio_zstd_write() local
687 zret = ZSTD_compressStream2(ctx->compress.state, &ctx->compress.outbuf, &inBuf, ZSTD_e_end); in bio_zstd_write()
688 if (ZSTD_isError(zret)) { in bio_zstd_write()
690 ERR_add_error_data(1, ZSTD_getErrorName(zret)); in bio_zstd_write()
692 } else if (zret == 0) { in bio_zstd_write()
701 size_t zret; in bio_zstd_flush() local
733 zret = ZSTD_flushStream(ctx->compress.state, &ctx->compress.outbuf); in bio_zstd_flush()
734 if (ZSTD_isError(zret)) { in bio_zstd_flush()
736 ERR_add_error_data(1, ZSTD_getErrorName(zret)); in bio_zstd_flush()
739 if (zret == 0) in bio_zstd_flush()