Home
last modified time | relevance | path

Searched refs:adler (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-a-3.6.0-3.5.0/lib/zlib/
Dadler32.c16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
63 uLong ZEXPORT adler32_z(adler, buf, len) in adler32_z() argument
64 uLong adler; in adler32_z()
72 sum2 = (adler >> 16) & 0xffff;
73 adler &= 0xffff;
77 adler += buf[0];
78 if (adler >= BASE)
79 adler -= BASE;
80 sum2 += adler;
83 return adler | (sum2 << 16);
[all …]
Dzlib.h104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */ member
1689 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
1709 ZEXTERN uLong ZEXPORT adler32_z OF((uLong adler, const Bytef *buf,
Dinflate.c129 strm->adler = state->wrap & 1;
704 strm->adler = state->check = adler32(0L, Z_NULL, 0);
844 strm->adler = state->check = crc32(0L, Z_NULL, 0);
850 strm->adler = state->check = ZSWAP32(hold);
859 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1228 strm->adler = state->check =
1294 strm->adler = state->check =