Lines Matching refs:buf
15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} argument
16 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument
17 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument
18 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument
19 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument
57 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) in adler32() argument
68 adler += buf[0]; in adler32()
78 if (buf == Z_NULL) in adler32()
84 adler += *buf++; in adler32()
98 DO16(buf); /* 16 sums unrolled */ in adler32()
99 buf += 16; in adler32()
109 DO16(buf); in adler32()
110 buf += 16; in adler32()
113 adler += *buf++; in adler32()