Searched refs:ZSTD_e_end (Results 1 - 2 of 2) sorted by relevance
/linux-master/lib/zstd/compress/ |
H A D | zstd_compress.c | 5234 assert((U32)flushMode <= (U32)ZSTD_e_end); 5243 if ( (flushMode == ZSTD_e_end) 5292 unsigned const lastBlock = (flushMode == ZSTD_e_end) && (ip==iend); 5311 assert(flushMode == ZSTD_e_end /* Already validated */); 5413 if (endOp != ZSTD_e_end) 5414 RETURN_ERROR(srcBuffer_wrong, "ZSTD_c_stableInBuffer can only be used with ZSTD_e_end!"); 5440 if (endOp == ZSTD_e_end) cctx->pledgedSrcSizePlusOne = inSize + 1; /* auto-fix pledgedSrcSize */ 5489 RETURN_ERROR_IF((U32)endOp > (U32)ZSTD_e_end, parameter_outOfBound, "invalid endDirective"); 5538 ZSTD_e_end); 5926 FORWARD_IF_ERROR(ZSTD_CCtx_init_compressStream2(cctx, ZSTD_e_end, srcSiz [all...] |
/linux-master/include/linux/ |
H A D | zstd_lib.h | 375 * (note : a strong exception to this rule is when first invocation of ZSTD_compressStream2() sets ZSTD_e_end : 476 * or invoking immediately ZSTD_compressStream2(,,,ZSTD_e_end), 648 * Calling ZSTD_compressStream2() with ZSTD_e_end instructs to finish a frame. 652 * You must continue calling ZSTD_compressStream2() with ZSTD_e_end until it returns 0, at which point you are free to 654 * note: ZSTD_e_end will flush as much output as possible, meaning when compressing with multiple threads, it will 675 ZSTD_e_end=2 /* flush any remaining data _and_ close current frame. enumerator in enum:__anon93 693 * - Exception : if the first call requests a ZSTD_e_end directive and provides enough dstCapacity, the function delegates to ZSTD_compress2() which is always blocking. 698 * For ZSTD_e_end, @return == 0 when internal buffers are fully flushed and frame is completed. 699 * - after a ZSTD_e_end directive, if internal buffer is not fully flushed (@return != 0), 700 * only ZSTD_e_end o [all...] |
Completed in 164 milliseconds