Lines Matching refs:preserveSize
1256 size_t const preserveSize = dctx->tmpOut - dctx->tmpOutBuffer; in LZ4F_updateDict() local
1260 if (copySize > preserveSize) copySize = preserveSize; in LZ4F_updateDict()
1262 memcpy(dctx->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize); in LZ4F_updateDict()
1265 dctx->dictSize = preserveSize + dctx->tmpOutStart + dstSize; in LZ4F_updateDict()
1271 size_t const preserveSize = 64 KB - dstSize; in LZ4F_updateDict() local
1272 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()
1273 dctx->dictSize = preserveSize; in LZ4F_updateDict()
1281 { size_t preserveSize = 64 KB - dstSize; in LZ4F_updateDict() local
1282 if (preserveSize > dctx->dictSize) preserveSize = dctx->dictSize; in LZ4F_updateDict()
1283 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()
1284 memcpy(dctx->tmpOutBuffer + preserveSize, dstPtr, dstSize); in LZ4F_updateDict()
1286 dctx->dictSize = preserveSize + dstSize; in LZ4F_updateDict()
1735 size_t const preserveSize = dctx->tmpOut - dctx->tmpOutBuffer; in LZ4F_decompress() local
1739 if (copySize > preserveSize) copySize = preserveSize; in LZ4F_decompress()
1742 … memcpy(dctx->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize); in LZ4F_decompress()
1745 dctx->dictSize = preserveSize + dctx->tmpOutStart; in LZ4F_decompress()