Searched refs:adler (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/sys/contrib/zlib/
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...]
H A Ddeflate.c399 strm->adler = adler32(strm->adler, dictionary, dictLength);
495 strm->adler =
761 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \
838 putShortMSB(s, (uInt)(strm->adler >> 16));
839 putShortMSB(s, (uInt)(strm->adler & 0xffff));
841 strm->adler = adler32(0L, Z_NULL, 0);
854 strm->adler = crc32(0L, Z_NULL, 0);
897 strm->adler
[all...]
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
1692 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 =
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-zip.h106 uint64_t adler : 32; member in struct:__anon10413::__anon10414
108 uint64_t adler : 32;
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c276 strm->adler = 0;
308 strm->adler = 0;
604 strm->adler = 0;
1147 ZEXTERN uLong ZEXPORT z_adler32 OF((uLong adler, const Bytef *buf, uInt len)) argument
1149 return adler32(adler, buf, len);
1159 ZEXTERN uLong ZEXPORT z_adler32_z OF((uLong adler, const Bytef *buf, z_size_t len)) argument
1161 return adler32_z(adler, buf, len);
/freebsd-13-stable/sys/contrib/zlib/test/
H A Dexample.c475 dictId = c_stream.adler;
520 if (d_stream.adler != dictId) {
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dexample.c500 dictId = c_stream.adler;
545 if (d_stream.adler != dictId) {
H A Dexample_original.c492 dictId = c_stream.adler;
537 if (d_stream.adler != dictId) {

Completed in 142 milliseconds