Lines Matching defs:dictionary
359 It is also called to create a window for dictionary data when a dictionary
1278 int ZEXPORT inflateGetDictionary(z_streamp strm, Bytef *dictionary,
1286 /* copy dictionary */
1287 if (state->whave && dictionary != Z_NULL) {
1288 zmemcpy(dictionary, state->window + state->wnext,
1290 zmemcpy(dictionary + state->whave - state->wnext,
1298 int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary,
1310 /* check for correct dictionary identifier */
1313 dictid = adler32(dictid, dictionary, dictLength);
1318 /* copy dictionary to window using updatewindow(), which will amend the
1319 existing dictionary if appropriate */
1320 ret = updatewindow(strm, dictionary + dictLength, dictLength);
1326 Tracev((stderr, "inflate: dictionary set\n"));