Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstdmt_compress.c1321 …tic size_t ZSTDMT_createCompressionJob(ZSTDMT_CCtx* mtctx, size_t srcSize, ZSTD_EndDirective endOp) in ZSTDMT_createCompressionJob() argument
1324 int const endFrame = (endOp == ZSTD_e_end); in ZSTDMT_createCompressionJob()
1376 …assert(endOp == ZSTD_e_end); /* only possible case : need to end the frame with an empty last blo… in ZSTDMT_createCompressionJob()
1744 ZSTD_EndDirective endOp) in ZSTDMT_compressStream_generic() argument
1748 (U32)endOp, (U32)(input->size - input->pos)); in ZSTDMT_compressStream_generic()
1752 if ((mtctx->frameEnded) && (endOp==ZSTD_e_continue)) { in ZSTDMT_compressStream_generic()
1773 if (syncPoint.flush && endOp == ZSTD_e_continue) { in ZSTDMT_compressStream_generic()
1774 endOp = ZSTD_e_flush; in ZSTDMT_compressStream_generic()
1785 if ((input->pos < input->size) && (endOp == ZSTD_e_end)) { in ZSTDMT_compressStream_generic()
1793 endOp = ZSTD_e_flush; in ZSTDMT_compressStream_generic()
[all …]
Dzstdmt_compress.h84 ZSTD_EndDirective endOp);
Dzstd_compress.c4329 ZSTD_EndDirective endOp) in ZSTD_checkBufferStability() argument
4335 if (endOp != ZSTD_e_end) in ZSTD_checkBufferStability()
4347 ZSTD_EndDirective endOp, in ZSTD_CCtx_init_compressStream2() argument
4357 … if (endOp == ZSTD_e_end) cctx->pledgedSrcSizePlusOne = inSize + 1; /* auto-fix pledgedSrcSize */ in ZSTD_CCtx_init_compressStream2()
4424 ZSTD_EndDirective endOp) in ZSTD_compressStream2() argument
4426 DEBUGLOG(5, "ZSTD_compressStream2, endOp=%u ", (unsigned)endOp); in ZSTD_compressStream2()
4430 RETURN_ERROR_IF((U32)endOp > (U32)ZSTD_e_end, parameter_outOfBound, "invalid endDirective"); in ZSTD_compressStream2()
4435 …FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, endOp, input->size), "CompressStream2 initia… in ZSTD_compressStream2()
4440 FORWARD_IF_ERROR(ZSTD_checkBufferStability(cctx, output, input, endOp), "invalid buffers"); in ZSTD_compressStream2()
4452 flushMin = ZSTDMT_compressStream_generic(cctx->mtctx, output, input, endOp); in ZSTD_compressStream2()
[all …]
/external/zstd/lib/
Dzstd.h709 ZSTD_EndDirective endOp);
1882 ZSTD_EndDirective endOp);
/external/zstd/tests/
Dzstreamtest.c170 ZSTD_EndDirective endOp) in SEQ_roundTrip() argument
183 cret = ZSTD_compressStream2(cctx, &cout, &cin, endOp); in SEQ_roundTrip()
188 while (din.pos < din.size || (endOp == ZSTD_e_end && cret == 0)) { in SEQ_roundTrip()
200 } while (cin.pos < cin.size || (endOp != ZSTD_e_continue && cret != 0)); in SEQ_roundTrip()