Searched refs:LZ4_dict (Results 1 – 2 of 2) sorted by relevance
/external/lz4/lib/ |
D | lz4.c | 780 int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize) in LZ4_loadDict() argument 782 LZ4_stream_t_internal* dict = (LZ4_stream_t_internal*) LZ4_dict; in LZ4_loadDict() 787 …if (dict->initCheck) LZ4_resetStream(LZ4_dict); /* Uninitialized structure… in LZ4_loadDict() 812 static void LZ4_renormDictT(LZ4_stream_t_internal* LZ4_dict, const BYTE* src) in LZ4_renormDictT() argument 814 if ((LZ4_dict->currentOffset > 0x80000000) || in LZ4_renormDictT() 815 ((size_t)LZ4_dict->currentOffset > (size_t)src)) /* address space overflow */ in LZ4_renormDictT() 818 U32 delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT() 819 const BYTE* dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT() 823 if (LZ4_dict->hashTable[i] < delta) LZ4_dict->hashTable[i]=0; in LZ4_renormDictT() 824 else LZ4_dict->hashTable[i] -= delta; in LZ4_renormDictT() [all …]
|
/external/lz4/programs/ |
D | fullbench.c | 285 LZ4_stream_t LZ4_dict; variable 289 memset(&LZ4_dict, 0, sizeof(LZ4_stream_t)); in local_LZ4_resetDictT() 293 int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* dest, int inputSiz… 296 return LZ4_compress_forceExtDict(&LZ4_dict, in, out, inSize); in local_LZ4_compress_forceDict() 334 return LZ4_saveDict(&LZ4_dict, out, inSize); in local_LZ4_saveDict() 548 LZ4_loadDict(&LZ4_dict, chunkP[0].origBuffer, chunkP[0].origSize); in fullSpeedBench()
|