Home | History | Annotate | Download | only in src

Lines Matching defs:adler

4   Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
22 Jean-loup Gailly Mark Adler
104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */
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,
490 below. At the end of the stream, inflate() checks that its computed Adler-32
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
643 which dictionary has been used by the compressor. (The Adler-32 value
646 Adler-32 value is not computed and strm->adler is not set.
859 recommended that a check value such as an Adler-32 or a CRC-32 be applied to
867 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
868 CRC-32 instead of an Adler-32. Unlike the gunzip utility and gzread() (see
892 can be determined from the Adler-32 value returned by that call of inflate.
903 expected one (incorrect Adler-32 value). inflateSetDictionary does not
1689 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
1691 Update a running Adler-32 checksum with the bytes buf[0..len-1] and
1695 An Adler-32 checksum is almost as reliable as a CRC-32 but can be computed
1700 uLong adler = adler32(0L, Z_NULL, 0);
1703 adler = adler32(adler, buffer, length);
1705 if (adler != original_adler) error();
1708 ZEXTERN uLong ZEXPORT adler32_z OF((uLong adler, const Bytef *buf,
1718 Combine two Adler-32 checksums into one. For two sequences of bytes, seq1
1719 and seq2 with lengths len1 and len2, Adler-32 checksums were calculated for
1720 each, adler1 and adler2. adler32_combine() returns the Adler-32 checksum of
1743 ZEXTERN uLong ZEXPORT crc32_z OF((uLong adler, const Bytef *buf,