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

/netbsd-current/sys/lib/libkern/
H A Dcrc32.c37 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
38 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
52 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
68 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
78 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
79 crc_table[6][(c >> 16) & 0xff] ^ crc_table[
[all...]
H A Dcrc32.h7 static const uint32_t crc_table[8][256] = variable
/netbsd-current/external/cddl/osnet/dist/uts/common/zmod/
H A Dcrc32.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
/netbsd-current/external/gpl3/gdb.old/dist/zlib/
H A Dcrc32.c57 local z_crc_t FAR crc_table[TBLS][256]; variable
113 crc_table[0][n] = c;
120 c = crc_table[0][n];
121 crc_table[4][n] = ZSWAP32(c);
123 c = crc_table[0][c & 0xff] ^ (c >> 8);
124 crc_table[k][n] = c;
125 crc_table[k + 4][n] = ZSWAP32(c);
148 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
149 write_table(out, crc_table[0]);
154 write_table(out, crc_table[
[all...]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[TBLS][256] = variable
/netbsd-current/external/zlib/pigz/dist/zopfli/
H A Dgzip_container.c28 static unsigned long crc_table[256]; variable
46 crc_table[n] = c;
64 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
/netbsd-current/common/dist/zlib/
H A Dcrc32.c156 local z_crc_t FAR crc_table[256]; variable
294 crc_table[i] = p;
335 "local const z_crc_t FAR crc_table[] = {\n"
337 write_table(out, crc_table, 256);
602 return (const z_crc_t FAR *)crc_table;
733 data = (data >> 8) ^ crc_table[data & 0xff];
777 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
1053 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
1054 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff];
1055 crc = (crc >> 8) ^ crc_table[(cr
[all...]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[] = { variable
/netbsd-current/external/gpl3/binutils/dist/zlib/
H A Dcrc32.c145 local z_crc_t FAR crc_table[256]; variable
283 crc_table[i] = p;
324 "local const z_crc_t FAR crc_table[] = {\n"
326 write_table(out, crc_table, 256);
591 return (const z_crc_t FAR *)crc_table;
722 data = (data >> 8) ^ crc_table[data & 0xff];
766 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 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[(cr
[all...]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[] = { variable
/netbsd-current/external/gpl3/gdb/dist/zlib/
H A Dcrc32.c145 local z_crc_t FAR crc_table[256]; variable
283 crc_table[i] = p;
324 "local const z_crc_t FAR crc_table[] = {\n"
326 write_table(out, crc_table, 256);
591 return (const z_crc_t FAR *)crc_table;
722 data = (data >> 8) ^ crc_table[data & 0xff];
766 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 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[(cr
[all...]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[] = { variable
/netbsd-current/external/gpl3/binutils.old/dist/zlib/
H A Dcrc32.c145 local z_crc_t FAR crc_table[256]; variable
283 crc_table[i] = p;
324 "local const z_crc_t FAR crc_table[] = {\n"
326 write_table(out, crc_table, 256);
591 return (const z_crc_t FAR *)crc_table;
722 data = (data >> 8) ^ crc_table[data & 0xff];
766 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 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[(cr
[all...]
H A Dcrc32.h5 local const z_crc_t FAR crc_table[] = { variable
/netbsd-current/sys/fs/udf/
H A Dudf_osta.c149 static unsigned short crc_table[256] = { variable
190 crc = crc_table[(crc>>8 ^ *s++) & 0xff] ^ (crc<<8);
204 crc = crc_table[(crc>>8 ^ (*s>>8)) & 0xff] ^ (crc<<8);
205 crc = crc_table[(crc>>8 ^ (*s++ & 0xff)) & 0xff] ^ (crc<<8);
/netbsd-current/sys/dev/iscsi/
H A Discsi_utils.c64 STATIC uint32_t crc_table[256] = { variable
150 crc = ((crc >> 8) & 0x00ffffff) ^ crc_table[(crc ^ *bp++) & 0xff];
175 crc = ((crc >> 8) & 0x00ffffff) ^ crc_table[(crc ^ *bp++) & 0xff];
179 crc = ((crc >> 8) & 0x00ffffff) ^ crc_table[(crc ^ *bp++) & 0xff];
/netbsd-current/sys/dev/dtv/
H A Ddtv_demux.c90 static uint32_t crc_table[256] = { variable
161 const uint32_t *crc_tab = crc_table;

Completed in 512 milliseconds