Lines Matching refs:dictionary

136 #define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
372 * and move to the first half later to keep a dictionary of at least wSize
567 * dictionary are very simple and thus fast, and deletions are avoided
712 * Insert string str in the dictionary and set match_head to the previous head
833 int deflateSetDictionary (strm, dictionary, dictLength)
835 const Bytef *dictionary;
843 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL)
849 strm->adler = adler32(strm->adler, dictionary, dictLength);
855 dictionary += dictLength - length; /* use the tail of the dictionary */
858 zmemcpy((charf *)s->window, dictionary, length);
1020 /* Save the adler32 of the preset dictionary: */
1571 * This function does not insert new strings in the dictionary since
1632 * new strings in the dictionary only for unmatched strings or for short
1657 * dictionary, and set hash_head to the head of the hash chain:
1751 * dictionary, and set hash_head to the head of the hash chain:
3042 const Bytef *d, /* dictionary */
3043 uInt n)); /* dictionary length */
3064 DICT4, /* four dictionary check bytes to go */
3065 DICT3, /* three dictionary check bytes to go */
3066 DICT2, /* two dictionary check bytes to go */
3067 DICT1, /* one dictionary check byte to go */
3266 z->msg = (char*)"need dictionary";
3332 int inflateSetDictionary(z, dictionary, dictLength)
3334 const Bytef *dictionary;
3342 if (adler32(1L, dictionary, dictLength) != z->adler) return Z_DATA_ERROR;
3348 dictionary += dictLength - length;
3350 inflate_set_dictionary(z->state->blocks, dictionary, length);
5148 "need dictionary", /* Z_NEED_DICT 2 */