Searched refs:LZ4_dict (Results 1 – 1 of 1) sorted by relevance
936 int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize) in LZ4_loadDict() argument938 LZ4_stream_t_internal* dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict()944 LZ4_resetStream(LZ4_dict); in LZ4_loadDict()968 static void LZ4_renormDictT(LZ4_stream_t_internal* LZ4_dict, const BYTE* src) in LZ4_renormDictT() argument970 if ((LZ4_dict->currentOffset > 0x80000000) || in LZ4_renormDictT()971 ((uptrval)LZ4_dict->currentOffset > (uptrval)src)) { /* address space overflow */ in LZ4_renormDictT()973 U32 const delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT()974 const BYTE* dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()977 if (LZ4_dict->hashTable[i] < delta) LZ4_dict->hashTable[i]=0; in LZ4_renormDictT()978 else LZ4_dict->hashTable[i] -= delta; in LZ4_renormDictT()[all …]