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

/barrelfish-master/lib/zlib/
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.c332 strm->adler = adler32(strm->adler, dictionary, dictLength);
379 strm->adler =
580 strm->adler = crc32(0L, Z_NULL, 0);
616 strm->adler = crc32(strm->adler, s->pending_buf,
645 putShortMSB(s, (uInt)(strm->adler >> 16));
646 putShortMSB(s, (uInt)(strm->adler & 0xffff));
648 strm->adler = adler32(0L, Z_NULL, 0);
659 strm->adler
[all...]
H A Dinflate.c112 strm->adler = 1; /* to support ill-conceived Java test suite */
629 strm->adler = state->check = adler32(0L, Z_NULL, 0);
757 strm->adler = state->check = crc32(0L, Z_NULL, 0);
763 strm->adler = state->check = REVERSE(hold);
771 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1084 strm->adler = state->check =
1146 strm->adler = state->check =
/barrelfish-master/include/
H A Dzlib.h99 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s
309 deflate() sets strm->adler to the adler32 checksum of all input read
431 below), inflate sets strm->adler to the adler32 checksum of the dictionary
433 strm->adler to the adler32 checksum of all output produced so far (that is,
509 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
563 Upon return of this function, strm->adler is set to the adler32 value
568 adler32 value is not computed and strm->adler is not set.
725 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is
1260 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
1268 uLong adler
[all...]

Completed in 42 milliseconds