/external/zstd/tests/ |
D | bigdict.c | 37 if (end == ZSTD_e_end && rc == 0) in compress() 117 if (compress(cctx, dctx, out, outSize, buffer, dataSize, roundtrip, ZSTD_e_end)) in main()
|
D | zstreamtest.c | 188 while (din.pos < din.size || (endOp == ZSTD_e_end && cret == 0)) { in SEQ_roundTrip() 776 CHECK(!(ZSTD_compressStream2(cctx2, &out, &in, ZSTD_e_end) == 0), "Not finished"); in basicUnitTests() 818 CHECK(!(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end) == 0), "Not finished"); in basicUnitTests() 835 size_t const ret = ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in basicUnitTests() 847 CHECK_Z(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end)); in basicUnitTests() 851 { size_t const ret = ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in basicUnitTests() 892 CHECK(!(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end) == 0), "Not finished"); in basicUnitTests() 1009 CHECK_Z(ZSTD_compressStream2(cctx, &outBuff, &inBuff, ZSTD_e_end)); in basicUnitTests() 1219 CHECK_Z( ZSTD_compressStream2(zc, &outBuff, &inBuff, ZSTD_e_end) ); in basicUnitTests() 1250 CHECK_Z( ZSTD_compressStream2(zc, &outBuff, &inBuff, ZSTD_e_end) ); in basicUnitTests() [all …]
|
D | fullbench.c | 261 ZSTD_compressStream2(g_cstream, &buffOut, &buffIn, ZSTD_e_end); in local_ZSTD_compressStream2_end() 280 ZSTD_compressStream2(g_cstream, &buffOut, &buffIn, ZSTD_e_end); in local_ZSTD_compressStream2_continue() 310 while(ZSTD_compressStream2(g_cstream, &buffOut, &buffIn, ZSTD_e_end)) {} in local_ZSTD_compress_generic_T2_continue()
|
D | fuzzer.c | 266 while ( ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end) ) {} in FUZ_mallocTests_internal() 761 CHECK_Z(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end)); in basicUnitTests() 819 CHECK_Z(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end)); in basicUnitTests() 827 CHECK_Z(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end)); in basicUnitTests() 947 CHECK_Z(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end)); in basicUnitTests() 956 CHECK_Z(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end)); in basicUnitTests() 1117 CHECK_Z( ZSTD_compressStream2(cctx, &outb, &inb, ZSTD_e_end) ); in basicUnitTests() 1141 …CHECK_Z( ZSTD_compressStream2(cctx, &outb, &inb, ZSTD_e_end) ); /* will break internal assert if… in basicUnitTests() 1161 …CHECK_Z( ZSTD_compressStream2(cctx, &outb, &inb, ZSTD_e_end) ); /* will break internal assert if… in basicUnitTests() 2523 size_t const result = ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in basicUnitTests() [all …]
|
D | roundTripCrash.c | 104 CHECK_Z (ZSTD_compressStream2(cctx, &outBuffer, &inBuffer, ZSTD_e_end) ); in cctxParamRoundTripTest()
|
/external/zstd/tests/fuzz/ |
D | stream_round_trip.c | 87 ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in compress() 122 size_t const ret = ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in compress()
|
D | dictionary_stream_round_trip.c | 101 ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in compress() 136 size_t const ret = ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in compress()
|
/external/zstd/tests/regression/ |
D | method.c | 414 input.size > 0 ? ZSTD_e_continue : ZSTD_e_end; in advanced_streaming_compress() 416 while (in.pos < in.size || (op == ZSTD_e_end && ret != 0)) { in advanced_streaming_compress() 547 input.size > 0 ? ZSTD_e_continue : ZSTD_e_end; in old_streaming_compress_internal() 549 while (in.pos < in.size || (op == ZSTD_e_end && zret != 0)) { in old_streaming_compress_internal()
|
/external/zstd/examples/ |
D | streaming_compression.c | 57 ZSTD_EndDirective const mode = lastChunk ? ZSTD_e_end : ZSTD_e_continue; in compressFile_orDie()
|
D | multiple_streaming_compression.c | 76 ZSTD_EndDirective const mode = lastChunk ? ZSTD_e_end : ZSTD_e_continue; in compressFile_orDie()
|
D | streaming_compression_thread_pool.c | 74 ZSTD_EndDirective const mode = lastChunk ? ZSTD_e_end : ZSTD_e_continue; in compressFile_orDie()
|
/external/zstd/lib/compress/ |
D | zstdmt_compress.c | 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() 1488 …if (end == ZSTD_e_end) return !mtctx->frameEnded; /* for ZSTD_e_end, question becomes : is frame … in ZSTDMT_flushProduced() 1785 if ((input->pos < input->size) && (endOp == ZSTD_e_end)) { in ZSTDMT_compressStream_generic() 1799 …|| ((endOp == ZSTD_e_end) && (!mtctx->frameEnded)) ) { /* must finish the frame with a zero-size… in ZSTDMT_compressStream_generic()
|
D | zstd_compress.c | 4150 assert((U32)flushMode <= (U32)ZSTD_e_end); in ZSTD_compressStream_generic() 4159 if ( (flushMode == ZSTD_e_end) in ZSTD_compressStream_generic() 4208 unsigned const lastBlock = (flushMode == ZSTD_e_end) && (ip==iend); in ZSTD_compressStream_generic() 4227 assert(flushMode == ZSTD_e_end /* Already validated */); in ZSTD_compressStream_generic() 4335 if (endOp != ZSTD_e_end) in ZSTD_checkBufferStability() 4357 … if (endOp == ZSTD_e_end) cctx->pledgedSrcSizePlusOne = inSize + 1; /* auto-fix pledgedSrcSize */ in ZSTD_CCtx_init_compressStream2() 4430 RETURN_ERROR_IF((U32)endOp > (U32)ZSTD_e_end, parameter_outOfBound, "invalid endDirective"); in ZSTD_compressStream2() 4454 || (endOp == ZSTD_e_end && flushMin == 0) ) { /* compression completed */ in ZSTD_compressStream2() 4467 assert(endOp == ZSTD_e_flush || endOp == ZSTD_e_end); in ZSTD_compressStream2() 4521 ZSTD_e_end); in ZSTD_compress2() [all …]
|
/external/zstd/programs/ |
D | fileio.c | 1323 directive = ZSTD_e_end; in FIO_compressZstdFrame() 1327 || (directive == ZSTD_e_end && stillToFlush != 0) ) { in FIO_compressZstdFrame() 1472 } while (directive != ZSTD_e_end); in FIO_compressZstdFrame()
|
/external/zstd/lib/ |
D | zstd.h | 677 ZSTD_e_end=2 /* flush any remaining data _and_ close current frame. enumerator
|
/external/zstd/ |
D | CHANGELOG | 156 api: Make ZSTD_e_flush and ZSTD_e_end block for maximum forward progress
|