Lines Matching refs:LZ4_dict
775 int LZ4_loadDict(LZ4_stream_t *LZ4_dict, in LZ4_loadDict() argument
778 LZ4_stream_t_internal *dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict()
786 LZ4_resetStream(LZ4_dict); in LZ4_loadDict()
812 static void LZ4_renormDictT(LZ4_stream_t_internal *LZ4_dict, in LZ4_renormDictT() argument
815 if ((LZ4_dict->currentOffset > 0x80000000) || in LZ4_renormDictT()
816 ((uptrval)LZ4_dict->currentOffset > (uptrval)src)) { in LZ4_renormDictT()
819 U32 const delta = LZ4_dict->currentOffset - 64 * KB; in LZ4_renormDictT()
820 const BYTE *dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()
824 if (LZ4_dict->hashTable[i] < delta) in LZ4_renormDictT()
825 LZ4_dict->hashTable[i] = 0; in LZ4_renormDictT()
827 LZ4_dict->hashTable[i] -= delta; in LZ4_renormDictT()
829 LZ4_dict->currentOffset = 64 * KB; in LZ4_renormDictT()
830 if (LZ4_dict->dictSize > 64 * KB) in LZ4_renormDictT()
831 LZ4_dict->dictSize = 64 * KB; in LZ4_renormDictT()
832 LZ4_dict->dictionary = dictEnd - LZ4_dict->dictSize; in LZ4_renormDictT()
836 int LZ4_saveDict(LZ4_stream_t *LZ4_dict, char *safeBuffer, int dictSize) in LZ4_saveDict() argument
838 LZ4_stream_t_internal * const dict = &LZ4_dict->internal_donotuse; in LZ4_saveDict()