Searched refs:endOp (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstdmt_compress.c | 1351 …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 D | zstdmt_compress.h | 87 ZSTD_EndDirective endOp);
|
H A D | zstd_compress.c | 5532 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 …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.c | 3966 ZSTD_EndDirective endOp) in ZSTD_compressStream2() argument 3968 DEBUGLOG(5, "ZSTD_compressStream2, endOp=%u ", (unsigned)endOp); in ZSTD_compressStream2() 3982 …if (endOp == ZSTD_e_end) cctx->pledgedSrcSizePlusOne = input->size + 1; /* auto-fix pledgedSrcSiz… in ZSTD_compressStream2() 4021 int const forceMaxProgress = (endOp == ZSTD_e_flush || endOp == ZSTD_e_end); in ZSTD_compressStream2() 4023 assert(forceMaxProgress || endOp == ZSTD_e_continue /* Protection for a new flush type */); in ZSTD_compressStream2() 4029 flushMin = ZSTDMT_compressStream_generic(cctx->mtctx, output, input, endOp); in ZSTD_compressStream2() 4031 || (endOp == ZSTD_e_end && flushMin == 0) ) { /* compression completed */ in ZSTD_compressStream2() 4044 FORWARD_IF_ERROR( ZSTD_compressStream_generic(cctx, output, input, endOp) , ""); in ZSTD_compressStream2() 4053 ZSTD_EndDirective endOp) in ZSTD_compressStream2_simpleArgs() argument 4058 size_t const cErr = ZSTD_compressStream2(cctx, &output, &input, endOp); in ZSTD_compressStream2_simpleArgs()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/ |
H A D | zstd.h | 685 ZSTD_EndDirective endOp); 1601 ZSTD_EndDirective endOp);
|
/freebsd/sys/contrib/zstd/lib/ |
H A D | zstd.h | 716 ZSTD_EndDirective endOp); 2034 ZSTD_EndDirective endOp);
|