Home
last modified time | relevance | path

Searched refs:crc_table (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/zlib/
H A Dcrc32.c194 local z_crc_t FAR crc_table[256]; variable
319 crc_table[i] = p; in make_crc_table()
362 write_table(out, crc_table, 256); in make_crc_table()
553 return (const z_crc_t FAR *)crc_table; in get_crc_table()
679 data = (data >> 8) ^ crc_table[data & 0xff]; in crc_word()
718 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; in crc32_z()
994 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; in crc32_z()
995 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; in crc32_z()
996 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; in crc32_z()
997 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; in crc32_z()
[all …]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[] = { variable
H A DChangeLog255 - Fix type mismatch between get_crc_table() and crc_table
399 - Use u4 type for crc_table to avoid conversion warnings
/freebsd/sys/fs/udf/
H A Dosta.c176 static unsigned short crc_table[256] = { variable
217 crc = crc_table[(crc>>8 ^ *s++) & 0xff] ^ (crc<<8); in udf_cksum()
231 crc = crc_table[(crc>>8 ^ (*s>>8)) & 0xff] ^ (crc<<8); in udf_unicode_cksum()
232 crc = crc_table[(crc>>8 ^ (*s++ & 0xff)) & 0xff] ^ (crc<<8); in udf_unicode_cksum()
/freebsd/sys/contrib/ncsw/inc/Peripherals/
H A Dcrc_mac_addr_ext.h49 static uint32_t crc_table[256] = variable
321 crc = crc_table[crc&0xff] ^ (crc>>8); \
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_trap_rcv.c155 static uint32_t crc_table[256]; in trap_calc_crc32() local
169 crc_table[i] = crc; in trap_calc_crc32()
178 temp2 = crc_table[((int)crc ^ *p++) & 0xFF]; in trap_calc_crc32()
/freebsd/sys/contrib/zlib/doc/
H A Drfc1952.txt606 unsigned long crc_table[256];
633 crc_table[n] = c;
660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);