Lines Matching refs:dstCapacity
421 void* dstBuffer, size_t dstCapacity, in LZ4F_compressFrame_usingCDict() argument
430 BYTE* const dstEnd = dstStart + dstCapacity; in LZ4F_compressFrame_usingCDict()
447 RETURN_ERROR_IF(dstCapacity < LZ4F_compressFrameBound(srcSize, &prefs), dstMaxSize_tooSmall); in LZ4F_compressFrame_usingCDict()
449 …{ size_t const headerSize = LZ4F_compressBegin_usingCDict(cctx, dstBuffer, dstCapacity, cdict, &pr… in LZ4F_compressFrame_usingCDict()
475 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity, in LZ4F_compressFrame() argument
502 result = LZ4F_compressFrame_usingCDict(cctxPtr, dstBuffer, dstCapacity, in LZ4F_compressFrame()
678 void* dstBuffer, size_t dstCapacity, in LZ4F_compressBegin_usingCDict() argument
686 RETURN_ERROR_IF(dstCapacity < maxFHSize, dstMaxSize_tooSmall); in LZ4F_compressBegin_usingCDict()
796 void* dstBuffer, size_t dstCapacity, in LZ4F_compressBegin() argument
799 return LZ4F_compressBegin_usingCDict(cctxPtr, dstBuffer, dstCapacity, in LZ4F_compressBegin()
853 static int LZ4F_compressBlock(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, … in LZ4F_compressBlock() argument
859 …return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration… in LZ4F_compressBlock()
861 … return LZ4_compress_fast_extState_fastReset(ctx, src, dst, srcSize, dstCapacity, acceleration); in LZ4F_compressBlock()
865 …Block_continue(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level, con… in LZ4F_compressBlock_continue() argument
870 …return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration… in LZ4F_compressBlock_continue()
873 static int LZ4F_compressBlockHC(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity… in LZ4F_compressBlockHC() argument
877 return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstCapacity); in LZ4F_compressBlockHC()
879 return LZ4_compress_HC_extStateHC_fastReset(ctx, src, dst, srcSize, dstCapacity, level); in LZ4F_compressBlockHC()
882 …ockHC_continue(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level, con… in LZ4F_compressBlockHC_continue() argument
885 return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstCapacity); in LZ4F_compressBlockHC_continue()
888 …tCompressBlock(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level, con… in LZ4F_doNotCompressBlock() argument
890 (void)ctx; (void)src; (void)dst; (void)srcSize; (void)dstCapacity; (void)level; (void)cdict; in LZ4F_doNotCompressBlock()
931 void* dstBuffer, size_t dstCapacity, in LZ4F_compressUpdateImpl() argument
947 if (dstCapacity < LZ4F_compressBound_internal(srcSize, &(cctxPtr->prefs), cctxPtr->tmpInSize)) in LZ4F_compressUpdateImpl()
950 if (blockCompression == LZ4B_UNCOMPRESSED && dstCapacity < srcSize) in LZ4F_compressUpdateImpl()
955 bytesWritten = LZ4F_flush(cctxPtr, dstBuffer, dstCapacity, compressOptionsPtr); in LZ4F_compressUpdateImpl()
1061 void* dstBuffer, size_t dstCapacity, in LZ4F_compressUpdate() argument
1066 dstBuffer, dstCapacity, in LZ4F_compressUpdate()
1085 void* dstBuffer, size_t dstCapacity, in LZ4F_uncompressedUpdate() argument
1090 dstBuffer, dstCapacity, in LZ4F_uncompressedUpdate()
1105 void* dstBuffer, size_t dstCapacity, in LZ4F_flush() argument
1114 RETURN_ERROR_IF(dstCapacity < (cctxPtr->tmpInSize + BHSize + BFSize), dstMaxSize_tooSmall); in LZ4F_flush()
1126 assert(((void)"flush overflows dstBuffer!", (size_t)(dstPtr - dstStart) <= dstCapacity)); in LZ4F_flush()
1152 void* dstBuffer, size_t dstCapacity, in LZ4F_compressEnd() argument
1158 size_t const flushSize = LZ4F_flush(cctxPtr, dstBuffer, dstCapacity, compressOptionsPtr); in LZ4F_compressEnd()
1159 DEBUGLOG(5,"LZ4F_compressEnd: dstCapacity=%u", (unsigned)dstCapacity); in LZ4F_compressEnd()
1163 assert(flushSize <= dstCapacity); in LZ4F_compressEnd()
1164 dstCapacity -= flushSize; in LZ4F_compressEnd()
1166 RETURN_ERROR_IF(dstCapacity < 4, dstMaxSize_tooSmall); in LZ4F_compressEnd()
1172 RETURN_ERROR_IF(dstCapacity < 8, dstMaxSize_tooSmall); in LZ4F_compressEnd()