Home
last modified time | relevance | path

Searched refs:crctab (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsctp_crc32.c42 static uint32_t crctab[4][256]; variable
86 crctab[3 - k][i] = flip32(reflect_32(crc)); in sctp_crc32_init()
88 crctab[k][i] = reflect_32(crc); in sctp_crc32_init()
103 crc = (crc << 8) ^ crctab[3][buf[i] ^ (crc >> 24)]; in sctp_crc_byte()
105 crc = (crc >> 8) ^ crctab[0][buf[i] ^ (crc & 0xff)]; in sctp_crc_byte()
120 crc = crctab[0][w >> 24] ^ crctab[1][(w >> 16) & 0xff] ^ in sctp_crc_word()
121 crctab[2][(w >> 8) & 0xff] ^ crctab[3][w & 0xff]; in sctp_crc_word()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/mks/
H A Dm_crcpos.c51 static const unsigned int crctab[256] = { variable
53 static const unsigned long crctab[256] = {
120 *crcp = (*crcp << 8) ^ crctab[(unsigned char)((*crcp>>24)^*bp++)]; in m_crcposix()
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_crcpos.c46 static ulong crctab[256] = { /* layout is from the POSIX.2 Rationale */ variable
111 *crcp = (*crcp<<8) ^ crctab[(uchar)((*crcp>>24)^*bp++)];
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c534 static unsigned short crctab[] = { variable
575 crc = (crc << 8) ^ crctab[((crc >> 8) ^ *buf++) & 0xff]; in crc16()
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c1462 static unsigned crctab[256] = { variable
1520 *crcp = (*crcp<<8) ^ crctab[(unsigned char)((*crcp>>24)^val)]; in crc()