| /dragonfly/contrib/zlib-1.2/ |
| HD | adler32.c | 16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 63 uLong ZEXPORT adler32_z(adler, buf, len) in adler32_z() argument 64 uLong adler; in adler32_z() 72 sum2 = (adler >> 16) & 0xffff; 73 adler &= 0xffff; 77 adler += buf[0]; 78 if (adler >= BASE) 79 adler -= BASE; 80 sum2 += adler; 83 return adler | (sum2 << 16); [all …]
|
| HD | deflate.c | 396 strm->adler = adler32(strm->adler, dictionary, dictLength); 492 strm->adler = 758 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \ 835 putShortMSB(s, (uInt)(strm->adler >> 16)); 836 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 838 strm->adler = adler32(0L, Z_NULL, 0); 851 strm->adler = crc32(0L, Z_NULL, 0); 894 strm->adler = crc32(strm->adler, s->pending_buf, 979 put_byte(s, (Byte)(strm->adler & 0xff)); 980 put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); [all …]
|
| HD | zlib.h | 104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */ member 1688 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); 1707 ZEXTERN uLong ZEXPORT adler32_z OF((uLong adler, const Bytef *buf, 1742 ZEXTERN uLong ZEXPORT crc32_z OF((uLong adler, const Bytef *buf,
|
| HD | inflate.c | 129 strm->adler = state->wrap & 1; 701 strm->adler = state->check = adler32(0L, Z_NULL, 0); 833 strm->adler = state->check = crc32(0L, Z_NULL, 0); 839 strm->adler = state->check = ZSWAP32(hold); 847 strm->adler = state->check = adler32(0L, Z_NULL, 0); 1204 strm->adler = state->check = 1267 strm->adler = state->check =
|
| HD | ChangeLog | 259 - Do not set strm->adler when doing raw inflate 757 - Set adler to 1 in inflateReset() to support Java test suite [Walles]
|
| /dragonfly/sbin/hammer2/zlib/ |
| HD | hammer2_zlib_adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 69 adler32(uLong adler, const Bytef *buf, uInt len) in adler32() argument 75 sum2 = (adler >> 16) & 0xffff; in adler32() 76 adler &= 0xffff; in adler32() 80 adler += buf[0]; in adler32() 81 if (adler >= BASE) in adler32() 82 adler -= BASE; in adler32() 83 sum2 += adler; in adler32() 86 return adler | (sum2 << 16); in adler32() 96 adler += *buf++; in adler32() [all …]
|
| HD | hammer2_zlib.h | 97 uLong adler; /* adler32 value of the uncompressed data */ member 502 uLong adler32(uLong adler, const Bytef *buf, uInt len);
|
| HD | hammer2_zlib_deflate.c | 300 strm->adler = adler32(0L, Z_NULL, 0); in deflateResetKeep() 407 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 408 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 410 strm->adler = adler32(0L, Z_NULL, 0); in deflate() 496 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 497 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 558 strm->adler = adler32(strm->adler, buf, len); in read_buf()
|
| HD | hammer2_zlib_inflate.c | 119 strm->adler = state->wrap & 1; in inflateResetKeep() 609 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 615 strm->adler = state->check = ZSWAP32(hold); in inflate() 624 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 993 strm->adler = state->check = in inflate() 1039 strm->adler = state->check = in inflate()
|
| /dragonfly/usr.sbin/makefs/hammer2/zlib/ |
| HD | hammer2_zlib_adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 69 adler32(uLong adler, const Bytef *buf, uInt len) in adler32() argument 75 sum2 = (adler >> 16) & 0xffff; in adler32() 76 adler &= 0xffff; in adler32() 80 adler += buf[0]; in adler32() 81 if (adler >= BASE) in adler32() 82 adler -= BASE; in adler32() 83 sum2 += adler; in adler32() 86 return adler | (sum2 << 16); in adler32() 96 adler += *buf++; in adler32() [all …]
|
| HD | hammer2_zlib.h | 97 uLong adler; /* adler32 value of the uncompressed data */ member 502 uLong adler32(uLong adler, const Bytef *buf, uInt len);
|
| HD | hammer2_zlib_deflate.c | 305 strm->adler = adler32(0L, Z_NULL, 0); in deflateResetKeep() 412 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 413 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 415 strm->adler = adler32(0L, Z_NULL, 0); in deflate() 501 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 502 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 563 strm->adler = adler32(strm->adler, buf, len); in read_buf()
|
| HD | hammer2_zlib_inflate.c | 124 strm->adler = state->wrap & 1; in inflateResetKeep() 614 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 620 strm->adler = state->check = ZSWAP32(hold); in inflate() 628 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 985 strm->adler = state->check = in inflate() 1030 strm->adler = state->check = in inflate()
|
| /dragonfly/sys/vfs/hammer2/zlib/ |
| HD | hammer2_zlib_adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 69 adler32(uLong adler, const Bytef *buf, uInt len) in adler32() argument 75 sum2 = (adler >> 16) & 0xffff; in adler32() 76 adler &= 0xffff; in adler32() 80 adler += buf[0]; in adler32() 81 if (adler >= BASE) in adler32() 82 adler -= BASE; in adler32() 83 sum2 += adler; in adler32() 86 return adler | (sum2 << 16); in adler32() 96 adler += *buf++; in adler32() [all …]
|
| HD | hammer2_zlib.h | 97 uLong adler; /* adler32 value of the uncompressed data */ member 502 uLong adler32(uLong adler, const Bytef *buf, uInt len);
|
| HD | hammer2_zlib_deflate.c | 305 strm->adler = adler32(0L, Z_NULL, 0); in deflateResetKeep() 412 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 413 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 415 strm->adler = adler32(0L, Z_NULL, 0); in deflate() 501 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 502 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 563 strm->adler = adler32(strm->adler, buf, len); in read_buf()
|
| HD | hammer2_zlib_inflate.c | 124 strm->adler = state->wrap & 1; in inflateResetKeep() 614 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 620 strm->adler = state->check = ZSWAP32(hold); in inflate() 628 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 985 strm->adler = state->check = in inflate() 1030 strm->adler = state->check = in inflate()
|
| /dragonfly/sys/net/ |
| HD | zlib.h | 295 uLong adler; /* adler32 value of the uncompressed data */ member 947 extern uLong EXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
| HD | zlib.c | 841 strm->adler = adler32(strm->adler, dictionary, dictLength); in deflateSetDictionary() 888 strm->adler = 1; in deflateReset() 1010 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 1011 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 1013 strm->adler = 1L; in deflate() 1097 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 1098 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 1215 strm->adler = adler32(strm->adler, strm->next_in, len); in read_buf() 3268 z->adler = z->state->sub.check.need; 3347 if (adler32(1L, dictionary, dictLength) != z->adler) return Z_DATA_ERROR; [all …]
|