Searched refs:adler (Results 1 - 12 of 12) sorted by last modified time

/freebsd-11-stable/sys/contrib/zlib/
H A Dzlib.h104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */ member in struct:z_stream_s
341 deflate() sets strm->adler to the Adler-32 checksum of all input read
343 strm->adler will be the CRC-32 checksum of the input read so far. (See
486 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
488 strm->adler to the Adler-32 checksum of all output produced so far (that is,
576 being written, strm->adler is a CRC-32 instead of an Adler-32.
641 Upon return of this function, strm->adler is set to the Adler-32 value
646 Adler-32 value is not computed and strm->adler is not set.
867 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
1689 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, cons
[all...]
H A Dinflate.c129 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 =
H A Ddeflate.c396 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
[all...]
H A Dadler32.c16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
63 uLong ZEXPORT adler32_z(adler, buf, len)
64 uLong adler;
72 sum2 = (adler >> 16) & 0xffff;
73 adler &= 0xffff;
77 adler += buf[0];
78 if (adler >= BASE)
79 adler -= BASE;
80 sum2 += adler;
[all...]
/freebsd-11-stable/sys/contrib/zlib/test/
H A Dexample.c475 dictId = c_stream.adler;
520 if (d_stream.adler != dictId) {
/freebsd-11-stable/sys/libkern/
H A Dzlib.c849 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-stable/sys/contrib/octeon-sdk/
H A Dcvmx-zip.h106 uint64_t adler : 32; member in struct:__anon8833::__anon8834
108 uint64_t adler : 32;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dadler32.c15 #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 Ddeflate.c338 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 Dinflate.c119 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 =
H A Dzlib.h101 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...]
/freebsd-11-stable/sys/sys/
H A Dzlib.h295 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();

Completed in 126 milliseconds