Lines Matching full:dictionary
439 const BYTE* dictionary;
515 const BYTE* const dictionary = dictPtr->dictionary;
516 const BYTE* const dictEnd = dictionary + dictPtr->dictSize;
579 lowLimit = dictionary;
626 if ((dict==usingExtDict) && (lowLimit==dictionary))
675 lowLimit = dictionary;
780 int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize)
783 const BYTE* p = (const BYTE*)dictionary;
791 dict->dictionary = NULL;
798 dict->dictionary = p;
819 const BYTE* dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize;
828 LZ4_dict->dictionary = dictEnd - LZ4_dict->dictSize;
837 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize;
844 /* Check overlapping input/dictionary space */
847 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd))
852 streamPtr->dictionary = dictEnd - streamPtr->dictSize;
856 /* prefix mode : source data follows dictionary */
869 /* external dictionary mode */
876 streamPtr->dictionary = (const BYTE*)source;
894 /* Hidden debug function, to force separate dictionary mode */
899 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize;
907 streamPtr->dictionary = (const BYTE*)source;
918 const BYTE* previousDictEnd = dict->dictionary + dict->dictSize;
920 if ((U32)dictSize > 64 KB) dictSize = 64 KB; /* useless to define a dictionary > 64 KB */
925 dict->dictionary = (const BYTE*)safeBuffer;
1045 /* check external dictionary */
1052 /* match can be copied as a single segment from external dictionary */
1059 /* match encompass external dictionary and current segment */
1166 * Use this function to instruct where to find the dictionary
1168 * Loading a size of 0 is allowed (same effect as no dictionary).
1171 int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize)
1175 lz4sd->prefixEnd = (BYTE*) dictionary + dictSize;
1251 the dictionary must be explicitly provided within parameters