Lines Matching defs:dstSize
496 typedef int (*compressFunc_t)(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level);
515 static int LZ4F_localLZ4_compress_limitedOutput_withState(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level)
518 return LZ4_compress_limitedOutput_withState(ctx, src, dst, srcSize, dstSize);
521 static int LZ4F_localLZ4_compress_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level)
524 return LZ4_compress_limitedOutput_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstSize);
527 static int LZ4F_localLZ4_compressHC_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level)
530 return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstSize);
961 static void LZ4F_updateDict(LZ4F_dctx_t* dctxPtr, const BYTE* dstPtr, size_t dstSize, const BYTE* dstPtr0, unsigned withinTmp)
968 dctxPtr->dictSize += dstSize;
972 if (dstPtr - dstPtr0 + dstSize >= 64 KB) /* dstBuffer large enough to become dictionary */
975 dctxPtr->dictSize = dstPtr - dstPtr0 + dstSize;
982 dctxPtr->dictSize += dstSize;
997 dctxPtr->dictSize = preserveSize + dctxPtr->tmpOutStart + dstSize;
1003 if (dctxPtr->dictSize + dstSize > dctxPtr->maxBufferSize) /* tmp buffer not large enough */
1005 size_t preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */
1009 memcpy(dctxPtr->tmpOutBuffer + dctxPtr->dictSize, dstPtr, dstSize);
1010 dctxPtr->dictSize += dstSize;
1016 size_t preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */
1019 memcpy(dctxPtr->tmpOutBuffer + preserveSize, dstPtr, dstSize);
1021 dctxPtr->dictSize = preserveSize + dstSize;