Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/zlib/
H A Dcrc32.c145 local z_crc_t FAR crc_table[256]; variable
283 crc_table[i] = p; in make_crc_table()
326 write_table(out, crc_table, 256); in make_crc_table()
591 return (const z_crc_t FAR *)crc_table; in get_crc_table()
722 data = (data >> 8) ^ crc_table[data & 0xff];
1042 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
1043 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
1044 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
1045 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
1046 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
[all …]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[] = { variable
H A DChangeLog215 - Fix type mismatch between get_crc_table() and crc_table
359 - Use u4 type for crc_table to avoid conversion warnings
/freebsd-13.1/sys/fs/udf/
H A Dosta.c178 static unsigned short crc_table[256] = { variable
221 crc = crc_table[(crc>>8 ^ *s++) & 0xff] ^ (crc<<8);
237 crc = crc_table[(crc>>8 ^ (*s>>8)) & 0xff] ^ (crc<<8);
238 crc = crc_table[(crc>>8 ^ (*s++ & 0xff)) & 0xff] ^ (crc<<8);
/freebsd-13.1/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-13.1/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-13.1/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);