Lines Matching defs:srcBuffer
276 * Compress an entire srcBuffer into a valid LZ4 frame, as defined by specification v1.5.0, in a single step.
284 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr)
328 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstEnd-dstPtr, srcBuffer, srcSize, &options);
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)
567 const BYTE* srcPtr = (const BYTE*)srcBuffer;
590 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, srcSize);
599 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, sizeToCopy);
658 XXH32_update(&(cctxPtr->xxh), srcBuffer, srcSize);
923 * The number of bytes read from srcBuffer will be provided within *srcSizePtr (necessarily <= original value).
924 * You are expected to resume decompression from where it stopped (srcBuffer + *srcSizePtr)
929 const void* srcBuffer, size_t* srcSizePtr)
944 size_t nextSrcSize = LZ4F_decompress(dCtx, NULL, &o, srcBuffer, srcSizePtr, NULL);
1028 * Call this function repetitively to regenerate data compressed within srcBuffer.
1029 * The function will attempt to decode *srcSizePtr from srcBuffer, into dstBuffer of maximum size *dstSizePtr.
1033 * The number of bytes effectively read from srcBuffer will be provided within *srcSizePtr (necessarily <= original value).
1046 const void* srcBuffer, size_t* srcSizePtr,
1051 const BYTE* const srcStart = (const BYTE*)srcBuffer;