Searched refs:preserveSize (Results 1 – 1 of 1) sorted by relevance
991 size_t const preserveSize = dctxPtr->tmpOut - dctxPtr->tmpOutBuffer; in LZ4F_updateDict() local995 if (copySize > preserveSize) copySize = preserveSize; in LZ4F_updateDict()997 memcpy(dctxPtr->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize); in LZ4F_updateDict()1000 dctxPtr->dictSize = preserveSize + dctxPtr->tmpOutStart + dstSize; in LZ4F_updateDict()1006 size_t const preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */ in LZ4F_updateDict() local1007 … memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()1008 dctxPtr->dictSize = preserveSize; in LZ4F_updateDict()1016 { size_t preserveSize = 64 KB - dstSize; /* note : dstSize < 64 KB */ in LZ4F_updateDict() local1017 if (preserveSize > dctxPtr->dictSize) preserveSize = dctxPtr->dictSize; in LZ4F_updateDict()1018 … memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()[all …]