Lines Matching defs:preserveSize
988 size_t preserveSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer;
992 if (copySize > preserveSize) copySize = preserveSize;
994 memcpy(dctxPtr->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize);
997 dctxPtr->dictSize = preserveSize + dctxPtr->tmpOutStart + dstSize;
1005 size_t preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */
1006 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize);
1007 dctxPtr->dictSize = preserveSize;
1016 size_t preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */
1017 if (preserveSize > dctxPtr->dictSize) preserveSize = dctxPtr->dictSize;
1018 memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize);
1019 memcpy(dctxPtr->tmpOutBuffer + preserveSize, dstPtr, dstSize);
1021 dctxPtr->dictSize = preserveSize + dstSize;
1445 size_t preserveSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer;
1449 if (copySize > preserveSize) copySize = preserveSize;
1451 memcpy(dctxPtr->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize);
1454 dctxPtr->dictSize = preserveSize + dctxPtr->tmpOutStart;