Searched refs:remainingToFlush (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/sys/contrib/zstd/contrib/seekable_format/examples/ |
| H A D | seekable_compression.c | 91 … size_t const remainingToFlush = ZSTD_seekable_endStream(cstream, &output); /* close stream */ in compressFile_orDie() local 92 …if (ZSTD_isError(remainingToFlush)) { fprintf(stderr, "ZSTD_seekable_endStream() error : %s \n", Z… in compressFile_orDie() 94 if (!remainingToFlush) break; in compressFile_orDie()
|
| /freebsd-12.1/sys/contrib/zstd/tests/ |
| H A D | zbufftest.c | 389 { size_t remainingToFlush = (size_t)(-1); in fuzzerTests() local 390 while (remainingToFlush) { in fuzzerTests() 393 U32 const enoughDstSize = dstBuffSize >= remainingToFlush; in fuzzerTests() 394 remainingToFlush = ZBUFF_compressEnd(zc, cBuffer+cSize, &dstBuffSize); in fuzzerTests() 395 … CHECK (ZBUFF_isError(remainingToFlush), "flush error : %s", ZBUFF_getErrorName(remainingToFlush)); in fuzzerTests() 396 …oughDstSize && remainingToFlush, "ZBUFF_compressEnd() not fully flushed (%u remaining), but enough… in fuzzerTests()
|
| H A D | zstreamtest.c | 1125 { size_t remainingToFlush = (size_t)(-1); in fuzzerTests() local 1126 while (remainingToFlush) { in fuzzerTests() 1130 remainingToFlush = ZSTD_endStream(zc, &outBuff); in fuzzerTests() 1131 … CHECK (ZSTD_isError(remainingToFlush), "end error : %s", ZSTD_getErrorName(remainingToFlush)); in fuzzerTests() 1387 { size_t remainingToFlush = (size_t)(-1); in fuzzerTests_MT() local 1388 while (remainingToFlush) { in fuzzerTests_MT() 1395 …CHECK (ZSTD_isError(remainingToFlush), "ZSTDMT_endStream error : %s", ZSTD_getErrorName(remainingT… in fuzzerTests_MT() 1749 { size_t remainingToFlush = 1; in fuzzerTests_newAPI() local 1750 while (remainingToFlush) { in fuzzerTests_newAPI() 1758 CHECK( ZSTD_isError(remainingToFlush), in fuzzerTests_newAPI() [all …]
|
| /freebsd-12.1/sys/contrib/zstd/lib/compress/ |
| H A D | zstdmt_compress.c | 1783 …{ size_t const remainingToFlush = ZSTDMT_flushProduced(mtctx, output, !forwardInputProgress, end… in ZSTDMT_compressStream_generic() local 1784 …if (input->pos < input->size) return MAX(remainingToFlush, 1); /* input not consumed : do not end… in ZSTDMT_compressStream_generic() 1785 return remainingToFlush; in ZSTDMT_compressStream_generic()
|