Lines Matching refs:dictSize
627 int dictSize) in LZ4_loadDictHC() argument
631 if (dictSize > 64 * KB) { in LZ4_loadDictHC()
632 dictionary += dictSize - 64 * KB; in LZ4_loadDictHC()
633 dictSize = 64 * KB; in LZ4_loadDictHC()
636 if (dictSize >= 4) in LZ4_loadDictHC()
637 LZ4HC_Insert(ctxPtr, (const BYTE *)dictionary + (dictSize - 3)); in LZ4_loadDictHC()
638 ctxPtr->end = (const BYTE *)dictionary + dictSize; in LZ4_loadDictHC()
639 return dictSize; in LZ4_loadDictHC()
683 size_t dictSize = (size_t)(ctxPtr->end - ctxPtr->base) in LZ4_compressHC_continue_generic() local
685 if (dictSize > 64 * KB) in LZ4_compressHC_continue_generic()
686 dictSize = 64 * KB; in LZ4_compressHC_continue_generic()
688 (const char *)(ctxPtr->end) - dictSize, (int)dictSize); in LZ4_compressHC_continue_generic()
737 int dictSize) in LZ4_saveDictHC() argument
743 if (dictSize > 64 * KB) in LZ4_saveDictHC()
744 dictSize = 64 * KB; in LZ4_saveDictHC()
745 if (dictSize < 4) in LZ4_saveDictHC()
746 dictSize = 0; in LZ4_saveDictHC()
747 if (dictSize > prefixSize) in LZ4_saveDictHC()
748 dictSize = prefixSize; in LZ4_saveDictHC()
750 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
755 streamPtr->end = (const BYTE *)safeBuffer + dictSize; in LZ4_saveDictHC()
757 streamPtr->dictLimit = endIndex - dictSize; in LZ4_saveDictHC()
758 streamPtr->lowLimit = endIndex - dictSize; in LZ4_saveDictHC()
763 return dictSize; in LZ4_saveDictHC()