Lines Matching refs:buf
47 typedef uLong (*check_func) (uLong check, const Byte *buf,
57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument
58 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument
59 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument
60 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument
61 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument
79 const Byte *buf, in zlib_adler32() argument
86 if (buf == NULL) return 1L; in zlib_adler32()
92 DO16(buf); in zlib_adler32()
93 buf += 16; in zlib_adler32()
97 s1 += *buf++; in zlib_adler32()