Lines Matching refs:stage
65 ZSTD_compressionStage_e stage; member
225 cctx->stage = ZSTDcs_init; in ZSTD_continueCCtx()
325 zc->stage = ZSTDcs_init; in ZSTD_resetCCtx_advanced()
350 if (srcCCtx->stage != ZSTDcs_init) in ZSTD_copyCCtx()
2427 cctx->stage = ZSTDcs_ending; in ZSTD_compress_generic()
2495 if (cctx->stage == ZSTDcs_created) in ZSTD_compressContinue_internal()
2498 if (frame && (cctx->stage == ZSTDcs_init)) { in ZSTD_compressContinue_internal()
2504 cctx->stage = ZSTDcs_ongoing; in ZSTD_compressContinue_internal()
2771 if (cctx->stage == ZSTDcs_created) in ZSTD_writeEpilogue()
2775 if (cctx->stage == ZSTDcs_init) { in ZSTD_writeEpilogue()
2781 cctx->stage = ZSTDcs_ongoing; in ZSTD_writeEpilogue()
2784 if (cctx->stage != ZSTDcs_ending) { in ZSTD_writeEpilogue()
2802 cctx->stage = ZSTDcs_created; /* return to "created but no init" status */ in ZSTD_writeEpilogue()
2964 ZSTD_cStreamStage stage; member
3040 zcs->stage = zcss_load; in ZSTD_resetCStream_internal()
3140 switch (zcs->stage) { in ZSTD_compressStream_generic()
3183 zcs->stage = zcss_flush; /* pass-through to flush stage */ in ZSTD_compressStream_generic()
3196 zcs->stage = zcss_load; in ZSTD_compressStream_generic()
3259 if (zcs->stage != zcss_final) { in ZSTD_endStream()
3272 zcs->stage = zcss_final; in ZSTD_endStream()
3285 zcs->stage = zcss_init; /* end reached */ in ZSTD_endStream()