Lines Matching defs:thecrc
119 u_int32_t thecrc;
125 thecrc = 0;
129 COMPUTE(thecrc, *p);
138 COMPUTE(thecrc, len & 0xff);
141 *cval = ~thecrc;
148 crc_buf(uint32_t thecrc, const void *buf, size_t len)
153 COMPUTE(thecrc, *p);
154 return thecrc;
158 crc_byte(uint32_t thecrc, unsigned int byte_val)
160 COMPUTE(thecrc, byte_val & 0xff);
161 return thecrc;