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