/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 57 uLong ZEXPORT adler32(adler, buf, len) 58 uLong adler; 66 sum2 = (adler >> 16) & 0xffff; 67 adler &= 0xffff; 71 adler += buf[0]; 72 if (adler >= BASE) 73 adler -= BASE; 74 sum2 += adler; [all...] |
H A D | deflate.c | 338 strm->adler = adler32(strm->adler, dictionary, dictLength); 385 strm->adler = 586 strm->adler = crc32(0L, Z_NULL, 0); 622 strm->adler = crc32(strm->adler, s->pending_buf, 651 putShortMSB(s, (uInt)(strm->adler >> 16)); 652 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 654 strm->adler = adler32(0L, Z_NULL, 0); 665 strm->adler [all...] |
H A D | zlib.h | 101 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 311 deflate() sets strm->adler to the adler32 checksum of all input read 433 below), inflate sets strm->adler to the adler32 checksum of the dictionary 435 strm->adler to the adler32 checksum of all output produced so far (that is, 511 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 565 Upon return of this function, strm->adler is set to the adler32 value 570 adler32 value is not computed and strm->adler is not set. 727 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is 1262 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); 1270 uLong adler [all...] |
H A D | inflate.c | 119 strm->adler = 1; /* to support ill-conceived Java test suite */ 636 strm->adler = state->check = adler32(0L, Z_NULL, 0); 771 strm->adler = state->check = crc32(0L, Z_NULL, 0); 777 strm->adler = state->check = REVERSE(hold); 786 strm->adler = state->check = adler32(0L, Z_NULL, 0); 1109 strm->adler = state->check = 1173 strm->adler = state->check =
|
/freebsd-11.0-release/lib/libz/ |
H A D | adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 65 uLong ZEXPORT adler32(adler, buf, len) 66 uLong adler; 74 sum2 = (adler >> 16) & 0xffff; 75 adler &= 0xffff; 79 adler += buf[0]; 80 if (adler >= BASE) 81 adler -= BASE; 82 sum2 += adler; [all...] |
H A D | deflate.c | 343 strm->adler = adler32(strm->adler, dictionary, dictLength); 414 strm->adler = 693 strm->adler = crc32(0L, Z_NULL, 0); 729 strm->adler = crc32(strm->adler, s->pending_buf, 758 putShortMSB(s, (uInt)(strm->adler >> 16)); 759 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 761 strm->adler = adler32(0L, Z_NULL, 0); 772 strm->adler [all...] |
H A D | inflate.c | 114 strm->adler = state->wrap & 1; 682 strm->adler = state->check = adler32(0L, Z_NULL, 0); 810 strm->adler = state->check = crc32(0L, Z_NULL, 0); 816 strm->adler = state->check = ZSWAP32(hold); 824 strm->adler = state->check = adler32(0L, Z_NULL, 0); 1181 strm->adler = state->check = 1244 strm->adler = state->check =
|
H A D | zlib.h | 102 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 334 deflate() sets strm->adler to the adler32 checksum of all input read 475 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary 477 strm->adler to the Adler-32 checksum of all output produced so far (that is, 556 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 617 Upon return of this function, strm->adler is set to the adler32 value 622 adler32 value is not computed and strm->adler is not set. 804 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a 1569 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); 1580 uLong adler [all...] |
/freebsd-11.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-zip.h | 106 uint64_t adler : 32; member in struct:__anon8829::__anon8830 108 uint64_t adler : 32;
|
/freebsd-11.0-release/sys/sys/ |
H A D | zlib.h | 295 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 570 In the Z_NEED_DICT case, strm->adler is set to the Adler32 value of the 667 Upon return of this function, strm->adler is set to the Adler32 value 947 extern uLong EXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); 956 uLong adler = adler32(0L, Z_NULL, 0); 959 adler = adler32(adler, buffer, length); 961 if (adler != original_adler) error();
|
/freebsd-11.0-release/sys/libkern/ |
H A D | zlib.c | 849 strm->adler = adler32(strm->adler, dictionary, dictLength); 896 strm->adler = 1; 1022 putShortMSB(s, (uInt)(strm->adler >> 16)); 1023 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 1025 strm->adler = 1L; 1109 putShortMSB(s, (uInt)(strm->adler >> 16)); 1110 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 1230 strm->adler = adler32(strm->adler, str [all...] |
/freebsd-11.0-release/lib/libz/test/ |
H A D | example.c | 475 dictId = c_stream.adler; 520 if (d_stream.adler != dictId) {
|