Home
last modified time | relevance | path

Searched refs:LZ4_dict (Results 1 – 1 of 1) sorted by relevance

/third_party/lz4/lib/
Dlz4.c741 int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* dest, int srcSize);
1541 int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize) in LZ4_loadDict() argument
1543 LZ4_stream_t_internal* dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict()
1549 DEBUGLOG(4, "LZ4_loadDict (%i bytes from %p into %p)", dictSize, dictionary, LZ4_dict); in LZ4_loadDict()
1555 LZ4_resetStream(LZ4_dict); in LZ4_loadDict()
1612 static void LZ4_renormDictT(LZ4_stream_t_internal* LZ4_dict, int nextSize) in LZ4_renormDictT() argument
1615 …if (LZ4_dict->currentOffset + (unsigned)nextSize > 0x80000000) { /* potential ptrdiff_t overflow… in LZ4_renormDictT()
1617 U32 const delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT()
1618 const BYTE* dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()
1622 if (LZ4_dict->hashTable[i] < delta) LZ4_dict->hashTable[i]=0; in LZ4_renormDictT()
[all …]