Lines Matching refs:crc_table
77 local unsigned long FAR crc_table[TBLS][256]; variable
133 crc_table[0][n] = c; in make_crc_table()
140 c = crc_table[0][n]; in make_crc_table()
141 crc_table[4][n] = REV(c); in make_crc_table()
143 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
144 crc_table[k][n] = c; in make_crc_table()
145 crc_table[k + 4][n] = REV(c); in make_crc_table()
169 write_table(out, crc_table[0]); in make_crc_table()
174 write_table(out, crc_table[k]); in make_crc_table()
213 return (const unsigned long FAR *)crc_table; in get_crc_table()
217 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
259 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
260 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
275 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
291 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
299 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
300 crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24]
315 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
331 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);