Lines Matching defs:dictionary
16 * dictionary are very simple and thus fast, and deletions are avoided
145 * Insert string str in the dictionary and set match_head to the previous head
550 int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary,
558 if (deflateStateCheck(strm) || dictionary == Z_NULL)
565 /* when using zlib wrappers, compute Adler-32 for provided dictionary */
567 strm->adler = adler32(strm->adler, dictionary, dictLength);
570 /* if dictionary would fill window, just replace the history */
578 dictionary += dictLength - s->w_size; /* use the tail */
582 /* insert dictionary into window and hash */
586 strm->next_in = (z_const Bytef *)dictionary;
616 int ZEXPORT deflateGetDictionary(z_streamp strm, Bytef *dictionary,
627 if (dictionary != Z_NULL && len)
628 zmemcpy(dictionary, s->window + s->strstart + s->lookahead - len, len);
1015 /* Save the adler32 of the preset dictionary: */
1808 * new strings in the dictionary only for unmatched strings or for short
1830 * dictionary, and set hash_head to the head of the hash chain:
1930 * dictionary, and set hash_head to the head of the hash chain: