Lines Matching defs:dstBuffer
277 * The most important rule is that dstBuffer MUST be large enough (dstMaxSize) to ensure compression completion even in worst case.
281 * The result of the function is the number of bytes written into dstBuffer.
284 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr)
291 BYTE* const dstStart = (BYTE*) dstBuffer;
324 errorCode = LZ4F_compressBegin(&cctxI, dstBuffer, dstMaxSize, &prefs); /* write header */
387 * will write the frame header into dstBuffer.
388 * dstBuffer must be large enough to accommodate a header (dstMaxSize). Maximum header size is LZ4F_MAXHEADERFRAME_SIZE bytes.
389 * The result of the function is the number of bytes written into dstBuffer for the header
392 size_t LZ4F_compressBegin(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_preferences_t* preferencesPtr)
396 BYTE* const dstStart = (BYTE*)dstBuffer;
555 * The most important rule is that dstBuffer MUST be large enough (dstMaxSize) to ensure compression completion even in worst case.
559 * The result of the function is the number of bytes written into dstBuffer : it can be zero, meaning input data was just buffered.
562 size_t LZ4F_compressUpdate(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* compressOptionsPtr)
569 BYTE* const dstStart = (BYTE*)dstBuffer;
668 * The result of the function is the number of bytes written into dstBuffer
673 size_t LZ4F_flush(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_compressOptions_t* compressOptionsPtr)
676 BYTE* const dstStart = (BYTE*)dstBuffer;
709 * The result of the function is the number of bytes written into dstBuffer (necessarily >= 4 (endMark size))
714 size_t LZ4F_compressEnd(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_compressOptions_t* compressOptionsPtr)
717 BYTE* const dstStart = (BYTE*)dstBuffer;
721 errorCode = LZ4F_flush(compressionContext, dstBuffer, dstMaxSize, compressOptionsPtr);
972 if (dstPtr - dstPtr0 + dstSize >= 64 KB) /* dstBuffer large enough to become dictionary */
1029 * The function will attempt to decode *srcSizePtr from srcBuffer, into dstBuffer of maximum size *dstSizePtr.
1031 * The number of bytes regenerated into dstBuffer will be provided within *dstSizePtr (necessarily <= original value).
1045 void* dstBuffer, size_t* dstSizePtr,
1054 BYTE* const dstStart = (BYTE*)dstBuffer;
1304 case dstage_flushOut: /* flush decoded data from tmpOut to dstBuffer */