Lines Matching refs:adler
18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
65 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument
66 uLong adler; in adler32()
74 sum2 = (adler >> 16) & 0xffff;
75 adler &= 0xffff;
79 adler += buf[0];
80 if (adler >= BASE)
81 adler -= BASE;
82 sum2 += adler;
85 return adler | (sum2 << 16);
95 adler += *buf++;
96 sum2 += adler;
98 if (adler >= BASE)
99 adler -= BASE;
101 return adler | (sum2 << 16);
112 MOD(adler);
124 adler += *buf++;
125 sum2 += adler;
127 MOD(adler);
132 return adler | (sum2 << 16);