Lines Matching refs:dictionary
106 "need dictionary", /* Z_NEED_DICT 2 */
146 #define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
397 * and move to the first half later to keep a dictionary of at least wSize
632 * dictionary are very simple and thus fast, and deletions are avoided
776 * Insert string str in the dictionary and set match_head to the previous head
900 deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
907 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL ||
911 strm->adler = adler32(strm->adler, dictionary, dictLength);
917 dictionary += dictLength - length; /* use the tail of the dictionary */
920 zmemcpy(s->window, dictionary, length);
1077 /* Save the adler32 of the preset dictionary: */
1673 * This function does not insert new strings in the dictionary since
1733 * new strings in the dictionary only for unmatched strings or for short
1757 * dictionary, and set hash_head to the head of the hash chain:
1853 * dictionary, and set hash_head to the head of the hash chain:
3368 const Bytef *d, /* dictionary */
3369 uInt n)); /* dictionary length */
3386 DICT4, /* four dictionary check bytes to go */
3387 DICT3, /* three dictionary check bytes to go */
3388 DICT2, /* two dictionary check bytes to go */
3389 DICT1, /* one dictionary check byte to go */
3586 z->msg = (char*)"need dictionary";
3647 int ZEXPORT inflateSetDictionary(z, dictionary, dictLength)
3649 const Bytef *dictionary;
3659 if (adler32(1L, dictionary, dictLength) != z->adler) return Z_DATA_ERROR;
3665 dictionary += dictLength - length;
3667 inflate_set_dictionary(s->blocks, dictionary, length);