Home
last modified time | relevance | path

Searched refs:dictLength (Results 1 – 8 of 8) sorted by relevance

/NextBSD/lib/libz/
HDinflate.c1268 int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength) in inflateGetDictionary() argument
1271 uInt *dictLength;
1286 if (dictLength != Z_NULL)
1287 *dictLength = state->whave;
1291 int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength) in inflateSetDictionary() argument
1294 uInt dictLength;
1309 dictid = adler32(dictid, dictionary, dictLength);
1316 ret = updatewindow(strm, dictionary + dictLength, dictLength);
HDzlib.h589 uInt dictLength));
821 uInt dictLength));
844 uInt *dictLength));
HDdeflate.c323 int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength) in deflateSetDictionary() argument
326 uInt dictLength;
343 strm->adler = adler32(strm->adler, dictionary, dictLength);
347 if (dictLength >= s->w_size) {
354 dictionary += dictLength - s->w_size; /* use the tail */
355 dictLength = s->w_size;
361 strm->avail_in = dictLength;
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/zmod/
HDinflate.c1196 int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength) in inflateSetDictionary() argument
1199 uInt dictLength;
1213 id = adler32(id, dictionary, dictLength);
1223 if (dictLength > state->wsize) {
1224 zmemcpy(state->window, dictionary + dictLength - state->wsize,
1229 zmemcpy(state->window + state->wsize - dictLength, dictionary,
1230 dictLength);
1231 state->whave = dictLength;
HDzlib.h542 uInt dictLength));
740 uInt dictLength));
HDdeflate.c321 int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength) in deflateSetDictionary() argument
324 uInt dictLength;
327 uInt length = dictLength;
338 strm->adler = adler32(strm->adler, dictionary, dictLength);
343 dictionary += dictLength - length; /* use the tail of the dictionary */
/NextBSD/sys/sys/
HDzlib.h653 uInt dictLength));
776 uInt dictLength));
/NextBSD/sys/libkern/
HDzlib.c833 int deflateSetDictionary (strm, dictionary, dictLength) in deflateSetDictionary() argument
836 uInt dictLength;
839 uInt length = dictLength;
849 strm->adler = adler32(strm->adler, dictionary, dictLength);
855 dictionary += dictLength - length; /* use the tail of the dictionary */
3332 int inflateSetDictionary(z, dictionary, dictLength) in inflateSetDictionary() argument
3335 uInt dictLength;
3337 uInt length = dictLength;
3342 if (adler32(1L, dictionary, dictLength) != z->adler) return Z_DATA_ERROR;
3348 dictionary += dictLength - length;