Searched refs:crc_table (Results 1 - 6 of 6) sorted by relevance

/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dopensolaris_crc32.c80 local unsigned long FAR crc_table[TBLS][256]; variable
136 crc_table[0][n] = c;
143 c = crc_table[0][n];
144 crc_table[4][n] = REV(c);
146 c = crc_table[0][c & 0xff] ^ (c >> 8);
147 crc_table[k][n] = c;
148 crc_table[k + 4][n] = REV(c);
171 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
172 write_table(out, crc_table[0]);
177 write_table(out, crc_table[
[all...]
H A Dcrc32.h7 local const unsigned long FAR crc_table[TBLS][256] = variable
/freebsd-10.0-release/lib/libz/
H A Dcrc32.c59 local z_crc_t FAR crc_table[TBLS][256]; variable
115 crc_table[0][n] = c;
122 c = crc_table[0][n];
123 crc_table[4][n] = ZSWAP32(c);
125 c = crc_table[0][c & 0xff] ^ (c >> 8);
126 crc_table[k][n] = c;
127 crc_table[k + 4][n] = ZSWAP32(c);
150 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
151 write_table(out, crc_table[0]);
156 write_table(out, crc_table[
[all...]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[TBLS][256] = variable
/freebsd-10.0-release/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-10.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_trap_rcv.c165 static uint32_t crc_table[256]; local
179 crc_table[i] = crc;
188 temp2 = crc_table[((int)crc ^ *p++) & 0xFF];

Completed in 93 milliseconds