Searched refs:adler32 (Results 1 - 7 of 7) sorted by relevance

/darwin-on-arm/xnu/libkern/libkern/
H A Dmkext.h68 * - adler32 - checksum from &version to end of file
82 uint32_t adler32; \
99 #define MKEXT_GET_CHECKSUM(hdr) (MKEXT_SWAP(MKEXT_HDR_CAST(hdr)->adler32))
H A Dzconf.h68 # define adler32 z_adler32 macro
H A Dzlib.h126 uLong adler; /* adler32 value of the uncompressed data */
338 deflate() sets strm->adler to the adler32 checksum of all input read
460 below), inflate sets strm->adler to the adler32 checksum of the dictionary
462 strm->adler to the adler32 checksum of all output produced so far (that is,
464 below. At the end of the stream, inflate() checks that its computed adler32
531 with no zlib header or trailer, and will not compute an adler32 check value.
538 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
592 Upon return of this function, strm->adler is set to the adler32 value
594 which dictionary has been used by the compressor. (The adler32 value
597 adler32 valu
[all...]
/darwin-on-arm/xnu/libkern/zlib/
H A Dadler32.c28 /* adler32.c -- compute the Adler-32 checksum of a data stream
94 uLong ZEXPORT adler32(adler, buf, len) function
H A Dinflate.c404 /* check function to use adler32() for zlib or z_crc32() for gzip */
407 (state->flags ? z_crc32(check, buf, len) : adler32(check, buf, len))
409 # define UPDATE(check, buf, len) adler32(check, buf, len)
658 strm->adler = state->check = adler32(0L, Z_NULL, 0);
800 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1214 id = adler32(0L, Z_NULL, 0);
1215 id = adler32(id, dictionary, dictLength);
H A Ddeflate.c361 strm->adler = adler32(strm->adler, dictionary, dictLength);
412 adler32(0L, Z_NULL, 0);
672 /* Save the adler32 of the preset dictionary: */
677 strm->adler = adler32(0L, Z_NULL, 0);
979 * Read a new buffer from the current input stream, update the adler32
998 strm->adler = adler32(strm->adler, strm->next_in, len);
/darwin-on-arm/xnu/libkern/c++/
H A DOSKext.cpp2363 if (OSSwapBigToHostInt32(mkextHeader->adler32) != checksum) {

Completed in 77 milliseconds