Lines Matching refs:dictSize

143     size_t dictSize;  member
797 dctxPtr->dictSize = 0; in LZ4F_decodeHeader()
847 …urce, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize) in LZ4F_decompress_safe() argument
850 (void)dictSize; in LZ4F_decompress_safe()
858 if (dctxPtr->dictSize==0) in LZ4F_updateDict()
861 if (dctxPtr->dict + dctxPtr->dictSize == dstPtr) /* dictionary continuity */ in LZ4F_updateDict()
863 dctxPtr->dictSize += dstSize; in LZ4F_updateDict()
870 dctxPtr->dictSize = dstPtr - dstPtr0 + dstSize; in LZ4F_updateDict()
877 dctxPtr->dictSize += dstSize; in LZ4F_updateDict()
885 …memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart- savedDictS… in LZ4F_updateDict()
887 dctxPtr->dictSize = savedDictSize + dctxPtr->tmpOutStart + dstSize; in LZ4F_updateDict()
894 BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart; in LZ4F_updateDict()
901 dctxPtr->dictSize = preserveSize + dctxPtr->tmpOutStart + dstSize; in LZ4F_updateDict()
908 … if (dctxPtr->dictSize + dstSize > dctxPtr->maxBufferSize) /* tmp buffer not large enough */ in LZ4F_updateDict()
911 memcpy(dctxPtr->dict, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()
912 dctxPtr->dictSize = preserveSize; in LZ4F_updateDict()
914 memcpy(dctxPtr->dict + dctxPtr->dictSize, dstPtr, dstSize); in LZ4F_updateDict()
915 dctxPtr->dictSize += dstSize; in LZ4F_updateDict()
922 if (preserveSize > dctxPtr->dictSize) preserveSize = dctxPtr->dictSize; in LZ4F_updateDict()
923 … memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - preserveSize, preserveSize); in LZ4F_updateDict()
926 dctxPtr->dictSize = preserveSize + dstSize; in LZ4F_updateDict()
1158 …xPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)dctxPtr->dict, (int)dctxPtr->dictSize); in LZ4F_decompress()
1187 if (dctxPtr->dictSize > 128 KB) in LZ4F_decompress()
1189 memcpy(dctxPtr->dict, dctxPtr->dict + dctxPtr->dictSize - 64 KB, 64 KB); in LZ4F_decompress()
1190 dctxPtr->dictSize = 64 KB; in LZ4F_decompress()
1192 dctxPtr->tmpOut = dctxPtr->dict + dctxPtr->dictSize; in LZ4F_decompress()
1196 size_t reservedDictSpace = dctxPtr->dictSize; in LZ4F_decompress()
1203 …xPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)dctxPtr->dict, (int)dctxPtr->dictSize); in LZ4F_decompress()
1300 BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart; in LZ4F_decompress()
1307 dctxPtr->dictSize = preserveSize + dctxPtr->tmpOutStart; in LZ4F_decompress()
1311 size_t newDictSize = dctxPtr->dictSize; in LZ4F_decompress()
1312 BYTE* oldDictEnd = dctxPtr->dict + dctxPtr->dictSize; in LZ4F_decompress()
1318 dctxPtr->dictSize = newDictSize; in LZ4F_decompress()