Lines Matching refs:dstMaxSize

259 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize…  in LZ4F_compressFrame()  argument
267 BYTE* const dstEnd = dstStart + dstMaxSize; in LZ4F_compressFrame()
294 if (dstMaxSize < LZ4F_compressFrameBound(srcSize, &prefs)) in LZ4F_compressFrame()
297 errorCode = LZ4F_compressBegin(&cctxI, dstBuffer, dstMaxSize, &prefs); /* write header */ in LZ4F_compressFrame()
301 dstMaxSize -= errorCode; in LZ4F_compressFrame()
302 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstMaxSize, srcBuffer, srcSize, &options); in LZ4F_compressFrame()
362 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_pref… in LZ4F_compressBegin() argument
371 if (dstMaxSize < LZ4F_MAXHEADERFRAME_SIZE) return (size_t)-ERROR_dstMaxSize_tooSmall; in LZ4F_compressBegin()
519 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* src… in LZ4F_compressUpdate() argument
533 …if (dstMaxSize < LZ4F_compressBound(srcSize, &(cctxPtr->prefs))) return (size_t)-ERROR_dstMaxSize_… in LZ4F_compressUpdate()
628 size_t LZ4F_flush(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize,… in LZ4F_flush() argument
639 if (dstMaxSize < (cctxPtr->tmpInSize + 16)) return (size_t)-ERROR_dstMaxSize_tooSmall; in LZ4F_flush()
671 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_comp… in LZ4F_compressEnd() argument
678 errorCode = LZ4F_flush(compressionContext, dstBuffer, dstMaxSize, compressOptionsPtr); in LZ4F_compressEnd()