Home
last modified time | relevance | path

Searched refs:LZ4F_compressEnd (Results 1 - 7 of 7) sorted by relevance

/third_party/lz4/ossfuzz/
H A Dround_trip_frame_uncompressed_fuzzer.c99 lz4Return = LZ4F_compressEnd(ctx, dst + compressedSize, dstCapacity, NULL); in compress_round_trip()
/third_party/lz4/lib/
H A Dlz4frame.h292 * When srcSize==0, LZ4F_compressBound() provides an upper bound for LZ4F_flush() and LZ4F_compressEnd() instead.
301 * It also includes frame footer (ending + checksum), since it might be generated by LZ4F_compressEnd().
336 /*! LZ4F_compressEnd() :
337 * To properly finish an LZ4 frame, invoke LZ4F_compressEnd().
343 * Note : LZ4F_compressEnd() is guaranteed to be successful when dstCapacity >= LZ4F_compressBound(0, prefsPtr).
344 * A successful call to LZ4F_compressEnd() makes `cctx` available again for another compression task.
346 LZ4FLIB_API size_t LZ4F_compressEnd(LZ4F_cctx* cctx,
H A Dlz4file.c294 ret = LZ4F_compressEnd(lz4fWrite->cctxPtr, in LZ4F_writeClose()
H A Dlz4frame.c369 * When srcSize==0, LZ4F_compressBound() provides an upper bound for LZ4F_flush() and LZ4F_compressEnd() operations.
459 { size_t const tailSize = LZ4F_compressEnd(cctx, dstPtr, (size_t)(dstEnd-dstPtr), &options); /* flush last block, and generate suffix */ in LZ4F_compressFrame_usingCDict()
1142 /*! LZ4F_compressEnd() :
1143 * When you want to properly finish the compressed frame, just call LZ4F_compressEnd().
1151 size_t LZ4F_compressEnd(LZ4F_cctx* cctxPtr, in LZ4F_compressEnd() function
1159 DEBUGLOG(5,"LZ4F_compressEnd: dstCapacity=%u", (unsigned)dstCapacity); in LZ4F_compressEnd()
/third_party/lz4/tests/
H A Dframetest.c535 CHECK( LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL) ); in basicTests()
545 CHECK( LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL) ); in basicTests()
555 cErr = LZ4F_compressEnd(cctx, op, testSize, NULL); in basicTests()
1135 flushedSize = LZ4F_compressEnd(cCtx, op, dstEndSize, &cOptions); in fuzzerTests()
1136 CHECK(op[dstEndSize] != canaryByte, "LZ4F_compressEnd writes beyond dstCapacity !"); in fuzzerTests()
/third_party/lz4/examples/
H A DframeCompress.c131 { size_t const compressedSize = LZ4F_compressEnd(ctx, in compress_file_internal()
/third_party/lz4/programs/
H A Dlz4io.c750 { size_t const endSize = LZ4F_compressEnd(ctx, dstBuffer, dstBufferSize, NULL); in LZ4IO_compressFilename_extRess()

Completed in 13 milliseconds