Lines Matching refs:crc
200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
204 unsigned long ZEXPORT crc32(crc, buf, len) in crc32() argument
205 unsigned long crc; in crc32()
222 return crc32_little(crc, buf, len);
224 return crc32_big(crc, buf, len);
227 crc = crc ^ 0xffffffffUL;
235 return crc ^ 0xffffffffUL;
247 local unsigned long crc32_little(crc, buf, len) in crc32_little() argument
248 unsigned long crc; in crc32_little()
255 c = (z_crc_t)crc;
287 local unsigned long crc32_big(crc, buf, len) in crc32_big() argument
288 unsigned long crc; in crc32_big()
295 c = ZSWAP32((z_crc_t)crc);