Home
last modified time | relevance | path

Searched refs:endOp (Results 1 – 6 of 6) sorted by relevance

/src/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c1351 …tic size_t ZSTDMT_createCompressionJob(ZSTDMT_CCtx* mtctx, size_t srcSize, ZSTD_EndDirective endOp) in ZSTDMT_createCompressionJob() argument
1354 int const endFrame = (endOp == ZSTD_e_end); in ZSTDMT_createCompressionJob()
1406 …assert(endOp == ZSTD_e_end); /* only possible case : need to end the frame with an empty last blo… in ZSTDMT_createCompressionJob()
1792 ZSTD_EndDirective endOp) in ZSTDMT_compressStream_generic() argument
1796 (U32)endOp, (U32)(input->size - input->pos)); in ZSTDMT_compressStream_generic()
1800 if ((mtctx->frameEnded) && (endOp==ZSTD_e_continue)) { in ZSTDMT_compressStream_generic()
1821 if (syncPoint.flush && endOp == ZSTD_e_continue) { in ZSTDMT_compressStream_generic()
1822 endOp = ZSTD_e_flush; in ZSTDMT_compressStream_generic()
1833 if ((input->pos < input->size) && (endOp == ZSTD_e_end)) { in ZSTDMT_compressStream_generic()
1841 endOp = ZSTD_e_flush; in ZSTDMT_compressStream_generic()
[all …]
H A Dzstdmt_compress.h87 ZSTD_EndDirective endOp);
H A Dzstd_compress.c5532 ZSTD_EndDirective endOp) in ZSTD_checkBufferStability() argument
5538 if (endOp != ZSTD_e_end) in ZSTD_checkBufferStability()
5550 ZSTD_EndDirective endOp, in ZSTD_CCtx_init_compressStream2() argument
5565 … if (endOp == ZSTD_e_end) cctx->pledgedSrcSizePlusOne = inSize + 1; /* auto-fix pledgedSrcSize */ in ZSTD_CCtx_init_compressStream2()
5637 ZSTD_EndDirective endOp) in ZSTD_compressStream2() argument
5639 DEBUGLOG(5, "ZSTD_compressStream2, endOp=%u ", (unsigned)endOp); in ZSTD_compressStream2()
5643 RETURN_ERROR_IF((U32)endOp > (U32)ZSTD_e_end, parameter_outOfBound, "invalid endDirective"); in ZSTD_compressStream2()
5648 …FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, endOp, input->size), "CompressStream2 initia… in ZSTD_compressStream2()
5653 FORWARD_IF_ERROR(ZSTD_checkBufferStability(cctx, output, input, endOp), "invalid buffers"); in ZSTD_compressStream2()
5665 flushMin = ZSTDMT_compressStream_generic(cctx->mtctx, output, input, endOp); in ZSTD_compressStream2()
[all …]
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c6329 ZSTD_EndDirective endOp) in ZSTD_checkBufferStability() argument
6336 (void)endOp; in ZSTD_checkBufferStability()
6351 ZSTD_EndDirective endOp, in ZSTD_CCtx_init_compressStream2() argument
6367 …if (endOp == ZSTD_e_end) cctx->pledgedSrcSizePlusOne = inSize + 1; /* auto-determine pledgedSrcSi… in ZSTD_CCtx_init_compressStream2()
6451 ZSTD_EndDirective endOp) in ZSTD_compressStream2() argument
6453 DEBUGLOG(5, "ZSTD_compressStream2, endOp=%u ", (unsigned)endOp); in ZSTD_compressStream2()
6457 RETURN_ERROR_IF((U32)endOp > (U32)ZSTD_e_end, parameter_outOfBound, "invalid endDirective"); in ZSTD_compressStream2()
6465 …&& (endOp == ZSTD_e_continue) /* no flush requested, more input to com… in ZSTD_compressStream2()
6481 …FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, endOp, totalInputSize), "compressStream2 ini… in ZSTD_compressStream2()
6486 FORWARD_IF_ERROR(ZSTD_checkBufferStability(cctx, output, input, endOp), "invalid buffers"); in ZSTD_compressStream2()
[all …]
/src/sys/contrib/zstd/lib/
H A Dzstd.h716 ZSTD_EndDirective endOp);
2034 ZSTD_EndDirective endOp);
/src/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h827 ZSTD_EndDirective endOp);
2442 ZSTD_EndDirective endOp);