Lines Matching refs:dict
183 const dict_directive dict, in LZ4_compress_generic() argument
211 switch (dict) { in LZ4_compress_generic()
268 if (dict == usingExtDict) { in LZ4_compress_generic()
337 if ((dict == usingExtDict) in LZ4_compress_generic()
403 if (dict == usingExtDict) { in LZ4_compress_generic()
777 LZ4_stream_t_internal *dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict() local
782 if ((dict->initCheck) in LZ4_loadDict()
783 || (dict->currentOffset > 1 * GB)) { in LZ4_loadDict()
789 dict->dictionary = NULL; in LZ4_loadDict()
790 dict->dictSize = 0; in LZ4_loadDict()
796 dict->currentOffset += 64 * KB; in LZ4_loadDict()
797 base = p - dict->currentOffset; in LZ4_loadDict()
798 dict->dictionary = p; in LZ4_loadDict()
799 dict->dictSize = (U32)(dictEnd - p); in LZ4_loadDict()
800 dict->currentOffset += dict->dictSize; in LZ4_loadDict()
803 LZ4_putPosition(p, dict->hashTable, byU32, base); in LZ4_loadDict()
807 return dict->dictSize; in LZ4_loadDict()
837 LZ4_stream_t_internal * const dict = &LZ4_dict->internal_donotuse; in LZ4_saveDict() local
838 const BYTE * const previousDictEnd = dict->dictionary + dict->dictSize; in LZ4_saveDict()
844 if ((U32)dictSize > dict->dictSize) in LZ4_saveDict()
845 dictSize = dict->dictSize; in LZ4_saveDict()
849 dict->dictionary = (const BYTE *)safeBuffer; in LZ4_saveDict()
850 dict->dictSize = (U32)dictSize; in LZ4_saveDict()