Lines Matching refs:LZ4_dict

904 …int LZ4_compress_forceExtDict(LZ4_stream_t *LZ4_dict, const char *source, char *dest, int srcSize);
1905 int LZ4_loadDict(LZ4_stream_t *LZ4_dict, const char *dictionary, int dictSize) in LZ4_loadDict() argument
1907 LZ4_stream_t_internal *dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict()
1913 DEBUGLOG(4, "LZ4_loadDict (%i bytes from %p into %p)", dictSize, dictionary, LZ4_dict); in LZ4_loadDict()
1919 LZ4_resetStream(LZ4_dict); in LZ4_loadDict()
1980 static void LZ4_renormDictT(LZ4_stream_t_internal *LZ4_dict, int nextSize) in LZ4_renormDictT() argument
1983 if (LZ4_dict->currentOffset + (unsigned)nextSize > 0x80000000) in LZ4_renormDictT()
1986 U32 const delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT()
1987 const BYTE *dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()
1992 if (LZ4_dict->hashTable[i] < delta) in LZ4_renormDictT()
1993 LZ4_dict->hashTable[i] = 0; in LZ4_renormDictT()
1995 LZ4_dict->hashTable[i] -= delta; in LZ4_renormDictT()
1997 LZ4_dict->currentOffset = 64 KB; in LZ4_renormDictT()
1998 if (LZ4_dict->dictSize > 64 KB) in LZ4_renormDictT()
1999 LZ4_dict->dictSize = 64 KB; in LZ4_renormDictT()
2000 LZ4_dict->dictionary = dictEnd - LZ4_dict->dictSize; in LZ4_renormDictT()
2097 int LZ4_compress_forceExtDict(LZ4_stream_t *LZ4_dict, const char *source, char *dest, int srcSize) in LZ4_compress_forceExtDict() argument
2099 LZ4_stream_t_internal *streamPtr = &LZ4_dict->internal_donotuse; in LZ4_compress_forceExtDict()
2126 int LZ4_saveDict(LZ4_stream_t *LZ4_dict, char *safeBuffer, int dictSize) in LZ4_saveDict() argument
2128 LZ4_stream_t_internal *const dict = &LZ4_dict->internal_donotuse; in LZ4_saveDict()