Lines Matching refs:adler
15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
57 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) in adler32() argument
63 sum2 = (adler >> 16) & 0xffff; in adler32()
64 adler &= 0xffff; in adler32()
68 adler += buf[0]; in adler32()
69 if (adler >= BASE) in adler32()
70 adler -= BASE; in adler32()
71 sum2 += adler; in adler32()
74 return adler | (sum2 << 16); in adler32()
84 adler += *buf++; in adler32()
85 sum2 += adler; in adler32()
87 if (adler >= BASE) in adler32()
88 adler -= BASE; in adler32()
90 return adler | (sum2 << 16); in adler32()
101 MOD(adler); in adler32()
113 adler += *buf++; in adler32()
114 sum2 += adler; in adler32()
116 MOD(adler); in adler32()
121 return adler | (sum2 << 16); in adler32()