Lines Matching defs:dictionary
359 It is also called to create a window for dictionary data when a dictionary
1365 int ZEXPORT inflateGetDictionary(z_streamp strm, Bytef *dictionary,
1373 /* copy dictionary */
1374 if (state->whave && dictionary != Z_NULL) {
1375 zmemcpy(dictionary, state->window + state->wnext,
1377 zmemcpy(dictionary + state->whave - state->wnext,
1385 int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary,
1397 /* check for correct dictionary identifier */
1400 dictid = adler32(dictid, dictionary, dictLength);
1405 /* copy dictionary to window using updatewindow(), which will amend the
1406 existing dictionary if appropriate */
1407 ret = updatewindow(strm, dictionary + dictLength, dictLength);
1413 Tracev((stderr, "inflate: dictionary set\n"));