Lines Matching defs:dictionary
16 * dictionary are very simple and thus fast, and deletions are avoided
141 * Insert string str in the dictionary and set match_head to the previous head
546 int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary,
554 if (deflateStateCheck(strm) || dictionary == Z_NULL)
561 /* when using zlib wrappers, compute Adler-32 for provided dictionary */
563 strm->adler = adler32(strm->adler, dictionary, dictLength);
566 /* if dictionary would fill window, just replace the history */
574 dictionary += dictLength - s->w_size; /* use the tail */
578 /* insert dictionary into window and hash */
582 strm->next_in = (z_const Bytef *)dictionary;
612 int ZEXPORT deflateGetDictionary(z_streamp strm, Bytef *dictionary,
623 if (dictionary != Z_NULL && len)
624 zmemcpy(dictionary, s->window + s->strstart + s->lookahead - len, len);
1019 /* Save the adler32 of the preset dictionary: */
1817 * new strings in the dictionary only for unmatched strings or for short
1839 * dictionary, and set hash_head to the head of the hash chain:
1939 * dictionary, and set hash_head to the head of the hash chain: