Lines Matching refs:preserveSize
1503 size_t const preserveSize = (size_t)(dctx->tmpOut - dctx->tmpOutBuffer);
1507 if (copySize > preserveSize) copySize = preserveSize;
1509 memcpy(dctx->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize);
1512 dctx->dictSize = preserveSize + dctx->tmpOutStart + dstSize;
1518 size_t const preserveSize = 64 KB - dstSize;
1519 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - preserveSize, preserveSize);
1520 dctx->dictSize = preserveSize;
1528 { size_t preserveSize = 64 KB - dstSize;
1529 if (preserveSize > dctx->dictSize) preserveSize = dctx->dictSize;
1530 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - preserveSize, preserveSize);
1531 memcpy(dctx->tmpOutBuffer + preserveSize, dstPtr, dstSize);
1533 dctx->dictSize = preserveSize + dstSize;
2032 size_t const preserveSize = (size_t)(dctx->tmpOut - dctx->tmpOutBuffer);
2036 if (copySize > preserveSize) copySize = preserveSize;
2039 memcpy(dctx->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize);
2042 dctx->dictSize = preserveSize + dctx->tmpOutStart;