Searched refs:ZSTD_e_end (Results 1 - 11 of 11) sorted by relevance

/freebsd-12-stable/sys/contrib/zstd/tests/fuzz/
H A Dstream_round_trip.c83 ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end);
111 size_t const ret = ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end);
H A Dsimple_round_trip.c45 err = ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end);
/freebsd-12-stable/sys/contrib/zstd/tests/
H A Dfullbench.c158 ZSTD_compress_generic(g_cstream, &buffOut, &buffIn, ZSTD_e_end);
175 ZSTD_compress_generic(g_cstream, &buffOut, &buffIn, ZSTD_e_end);
192 while (ZSTD_compress_generic(g_cstream, &buffOut, &buffIn, ZSTD_e_end)) {}
210 while(ZSTD_compress_generic(g_cstream, &buffOut, &buffIn, ZSTD_e_end)) {}
H A DroundTripCrash.c104 CHECK_Z (ZSTD_compress_generic(cctx, &outBuffer, &inBuffer, ZSTD_e_end) );
H A Dzstreamtest.c173 while (din.pos < din.size || (endOp == ZSTD_e_end && cret == 0)) {
601 CHECK_Z(ZSTD_compress_generic(cctx, &outBuff, &inBuff, ZSTD_e_end));
661 CHECK_Z( ZSTD_compress_generic(zc, &outBuff, &inBuff, ZSTD_e_end) );
692 CHECK_Z( ZSTD_compress_generic(zc, &outBuff, &inBuff, ZSTD_e_end) );
759 { size_t const compressResult = ZSTDMT_compressStream_generic(mtctx, &outBuff, &inBuff, ZSTD_e_end);
795 CHECK_Z( ZSTD_compress_generic(zc, &outBuff, &inBuff, ZSTD_e_end) );
863 CHECK_Z(SEQ_roundTrip(zc, zd, &xxh, NULL, 0, ZSTD_e_end));
1756 remainingToFlush = ZSTD_compress_generic(zc, &outBuff, &inBuff, ZSTD_e_end);
1759 "ZSTD_compress_generic w/ ZSTD_e_end error : %s",
H A Dfuzzer.c230 while ( ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end) ) {}
251 while ( ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end) ) {}
1038 size_t const result = ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end);
1055 size_t const result = ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end);
1075 size_t const result = ZSTD_compress_generic(cctx, &out, &in, ZSTD_e_end);
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c1394 int const endFrame = (endOp == ZSTD_e_end);
1446 assert(endOp == ZSTD_e_end); /* only possible case : need to end the frame with an empty last block */
1552 if (end == ZSTD_e_end) return !mtctx->frameEnded; /* for ZSTD_e_end, question becomes : is frame completed ? instead of : are internal buffers fully flushed ? */
1733 && (endOp == ZSTD_e_end) /* end order */
1769 if ((input->pos < input->size) && (endOp == ZSTD_e_end))
1776 || ((endOp == ZSTD_e_end) && (!mtctx->frameEnded)) ) { /* must finish the frame with a zero-size block */
1806 || ((endFrame==ZSTD_e_end) && !mtctx->frameEnded)) { /* need a last 0-size block to end frame */
1830 return ZSTDMT_flushStream_internal(mtctx, output, ZSTD_e_end);
H A Dzstd_compress.c3065 if ( (flushMode == ZSTD_e_end)
3103 unsigned const lastBlock = (flushMode == ZSTD_e_end) && (ip==iend);
3206 if (endOp == ZSTD_e_end) cctx->pledgedSrcSizePlusOne = input->size + 1; /* auto-fix pledgedSrcSize */
3253 || (endOp == ZSTD_e_end && flushMin == 0) ) { /* compression completed */
3297 CHECK_F( ZSTD_compressStream_generic(zcs, output, &input, ZSTD_e_end) );
/freebsd-12-stable/sys/contrib/zstd/programs/
H A Dfileio.c769 directive = ZSTD_e_end;
772 while (inBuff.pos != inBuff.size || (directive == ZSTD_e_end && result != 0)) {
804 } while (directive != ZSTD_e_end);
H A Dbench.c348 &out, &in, ZSTD_e_end);
/freebsd-12-stable/sys/contrib/zstd/lib/
H A Dzstd.h1035 * (note : a strong exception to this rule is when first invocation sets ZSTD_e_end : it becomes a blocking call).
1146 ZSTD_e_end /* flush any remaining data and close current frame. Any additional data starts a new frame. */ enumerator in enum:__anon11826
1159 * - Exception : in multi-threading mode, if the first call requests a ZSTD_e_end directive, it is blocking : it will complete compression before giving back control to caller.
1164 * For ZSTD_e_end, @return == 0 when internal buffers are fully flushed and frame is completed.
1165 * - after a ZSTD_e_end directive, if internal buffer is not fully flushed (@return != 0),
1166 * only ZSTD_e_end or ZSTD_e_flush operations are allowed.

Completed in 266 milliseconds