Home
last modified time | relevance | path

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

/netbsd/src/external/cddl/osnet/dist/uts/common/zmod/
Dinflate.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;
Dzlib.h542 uInt dictLength));
740 uInt dictLength));
Ddeflate.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 */
/netbsd/src/common/dist/zlib/
Dzlib.h615 uInt dictLength);
659 uInt *dictLength);
892 uInt dictLength);
915 uInt *dictLength);
Dinflate.c1288 uInt *dictLength) { in inflateGetDictionary() argument
1302 if (dictLength != Z_NULL) in inflateGetDictionary()
1303 *dictLength = state->whave; in inflateGetDictionary()
1308 uInt dictLength) { in inflateSetDictionary() argument
1322 dictid = adler32(dictid, dictionary, dictLength); in inflateSetDictionary()
1329 ret = updatewindow(strm, dictionary + dictLength, dictLength); in inflateSetDictionary()
Ddeflate.c553 uInt dictLength) { in deflateSetDictionary() argument
569 strm->adler = adler32(strm->adler, dictionary, dictLength); in deflateSetDictionary()
573 if (dictLength >= s->w_size) { in deflateSetDictionary()
580 dictionary += dictLength - s->w_size; /* use the tail */ in deflateSetDictionary()
581 dictLength = s->w_size; in deflateSetDictionary()
587 strm->avail_in = dictLength; in deflateSetDictionary()
619 uInt *dictLength) { in deflateGetDictionary() argument
631 if (dictLength != Z_NULL) in deflateGetDictionary()
632 *dictLength = len; in deflateGetDictionary()
/netbsd/src/common/dist/zlib/contrib/pascal/
Dzlibpas.pas117 dictLength: Integer): Integer;
128 dictLength: Integer): Integer;
/netbsd/src/common/dist/zlib/contrib/ada/
Dzlib-thin.ads136 dictLength : UInt)
153 dictLength : UInt)
/netbsd/src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
Dzlib.c2055 inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength) in inflateSetDictionary() argument
2069 id = adler32(id, dictionary, dictLength); in inflateSetDictionary()
2079 if (dictLength > state->wsize) { in inflateSetDictionary()
2080 zmemcpy(state->window, dictionary + dictLength - state->wsize, in inflateSetDictionary()
2085 zmemcpy(state->window + state->wsize - dictLength, dictionary, in inflateSetDictionary()
2086 dictLength); in inflateSetDictionary()
2087 state->whave = dictLength; in inflateSetDictionary()
Dzlib.h885 uInt dictLength));
1083 uInt dictLength));
/netbsd/src/sys/net/
Dzlib.c900 uInt dictLength)
903 uInt length = dictLength;
913 strm->adler = adler32(strm->adler, dictionary, dictLength);
919 dictionary += dictLength - length; /* use the tail of the dictionary */
3649 uInt dictLength) in _tr_flush_block()
3651 uInt length = dictLength; in _tr_flush_block()
3656 if (adler32(1L, dictionary, dictLength) != z->adler) return Z_DATA_ERROR; in _tr_flush_block()
3662 dictionary += dictLength - length; in _tr_flush_block()