Lines Matching refs:dict
184 const dict_directive dict, in LZ4_compress_generic() argument
212 switch (dict) { in LZ4_compress_generic()
269 if (dict == usingExtDict) { in LZ4_compress_generic()
338 if ((dict == usingExtDict) in LZ4_compress_generic()
404 if (dict == usingExtDict) { in LZ4_compress_generic()
778 LZ4_stream_t_internal *dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict() local
783 if ((dict->initCheck) in LZ4_loadDict()
784 || (dict->currentOffset > 1 * GB)) { in LZ4_loadDict()
790 dict->dictionary = NULL; in LZ4_loadDict()
791 dict->dictSize = 0; in LZ4_loadDict()
797 dict->currentOffset += 64 * KB; in LZ4_loadDict()
798 base = p - dict->currentOffset; in LZ4_loadDict()
799 dict->dictionary = p; in LZ4_loadDict()
800 dict->dictSize = (U32)(dictEnd - p); in LZ4_loadDict()
801 dict->currentOffset += dict->dictSize; in LZ4_loadDict()
804 LZ4_putPosition(p, dict->hashTable, byU32, base); in LZ4_loadDict()
808 return dict->dictSize; in LZ4_loadDict()
838 LZ4_stream_t_internal * const dict = &LZ4_dict->internal_donotuse; in LZ4_saveDict() local
839 const BYTE * const previousDictEnd = dict->dictionary + dict->dictSize; in LZ4_saveDict()
845 if ((U32)dictSize > dict->dictSize) in LZ4_saveDict()
846 dictSize = dict->dictSize; in LZ4_saveDict()
850 dict->dictionary = (const BYTE *)safeBuffer; in LZ4_saveDict()
851 dict->dictSize = (U32)dictSize; in LZ4_saveDict()