Searched refs:preserveSize (Results 1 – 1 of 1) sorted by relevance
1256 size_t const preserveSize = dctx->tmpOut - dctx->tmpOutBuffer; in LZ4F_updateDict() local1260 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() local1272 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() local1282 if (preserveSize > dctx->dictSize) preserveSize = dctx->dictSize; in LZ4F_updateDict()1283 memcpy(dctx->tmpOutBuffer, dctx->dict + dctx->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()[all …]