/netbsd-src/external/cddl/osnet/dist/uts/common/zmod/ |
H A D | crc32.c | 80 local unsigned long FAR crc_table[TBLS][256]; variable 136 crc_table[0][n] = c; in make_crc_table() 143 c = crc_table[0][n]; in make_crc_table() 144 crc_table[4][n] = REV(c); in make_crc_table() 146 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table() 147 crc_table[k][n] = c; in make_crc_table() 148 crc_table[k + 4][n] = REV(c); in make_crc_table() 172 write_table(out, crc_table[0]); in make_crc_table() 177 write_table(out, crc_table[k]); in make_crc_table() 216 return (const unsigned long FAR *)crc_table; in get_crc_table() [all …]
|
H A D | crc32.h | 7 local const unsigned long FAR crc_table[TBLS][256] = variable
|
/netbsd-src/sys/lib/libkern/ |
H A D | crc32.c | 37 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); in crc32() 68 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8); in crc32() 78 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \ 79 crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24] 93 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8); in crc32() 111 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8); in crc32()
|
H A D | crc32.h | 7 static const uint32_t crc_table[8][256] = variable
|
/netbsd-src/external/gpl3/binutils/dist/zlib/ |
H A D | crc32.c | 145 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]; 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[(crc ^ *buf++) & 0xff]; 1045 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; [all …]
|
H A D | crc32.h | 5 local const z_crc_t FAR crc_table[] = { variable
|
H A D | ChangeLog | 215 - Fix type mismatch between get_crc_table() and crc_table 359 - Use u4 type for crc_table to avoid conversion warnings
|
/netbsd-src/external/gpl3/binutils.old/dist/zlib/ |
H A D | crc32.c | 145 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]; 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[(crc ^ *buf++) & 0xff]; 1045 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; [all …]
|
H A D | crc32.h | 5 local const z_crc_t FAR crc_table[] = { variable
|
H A D | ChangeLog | 215 - Fix type mismatch between get_crc_table() and crc_table 359 - Use u4 type for crc_table to avoid conversion warnings
|
/netbsd-src/external/gpl3/gdb/dist/zlib/ |
H A D | crc32.c | 145 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]; 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[(crc ^ *buf++) & 0xff]; 1045 crc = (crc >> 8) ^ crc_table[(crc ^ *buf++) & 0xff]; [all …]
|
H A D | crc32.h | 5 local const z_crc_t FAR crc_table[] = { variable
|
H A D | ChangeLog | 215 - Fix type mismatch between get_crc_table() and crc_table 359 - Use u4 type for crc_table to avoid conversion warnings
|
/netbsd-src/external/zlib/pigz/dist/zopfli/ |
H A D | gzip_container.c | 28 static unsigned long crc_table[256]; variable 46 crc_table[n] = c; in MakeCRCTable() 64 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8); in UpdateCRC()
|
/netbsd-src/sys/fs/udf/ |
H A D | udf_osta.c | 149 static unsigned short crc_table[256] = { variable 190 crc = crc_table[(crc>>8 ^ *s++) & 0xff] ^ (crc<<8); in udf_cksum() 204 crc = crc_table[(crc>>8 ^ (*s>>8)) & 0xff] ^ (crc<<8); in udf_unicode_cksum() 205 crc = crc_table[(crc>>8 ^ (*s++ & 0xff)) & 0xff] ^ (crc<<8); in udf_unicode_cksum()
|
/netbsd-src/sys/dev/iscsi/ |
H A D | iscsi_utils.c | 64 STATIC uint32_t crc_table[256] = { variable 150 crc = ((crc >> 8) & 0x00ffffff) ^ crc_table[(crc ^ *bp++) & 0xff]; in gen_digest() 175 crc = ((crc >> 8) & 0x00ffffff) ^ crc_table[(crc ^ *bp++) & 0xff]; in gen_digest_2() 179 crc = ((crc >> 8) & 0x00ffffff) ^ crc_table[(crc ^ *bp++) & 0xff]; in gen_digest_2()
|
/netbsd-src/common/dist/zlib/ |
H A D | crc32.h | 5 local const z_crc_t FAR crc_table[] = { variable
|
/netbsd-src/sys/dev/dtv/ |
H A D | dtv_demux.c | 90 static uint32_t crc_table[256] = { variable 161 const uint32_t *crc_tab = crc_table; in dtv_demux_crc32()
|
/netbsd-src/common/dist/zlib/doc/ |
H A D | rfc1952.txt | 606 unsigned long crc_table[256]; 633 crc_table[n] = c; 660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
|
/netbsd-src/external/gpl3/gdb.old/dist/zlib/doc/ |
H A D | rfc1952.txt | 606 unsigned long crc_table[256]; 633 crc_table[n] = c; 660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
|
/netbsd-src/external/gpl3/binutils.old/dist/zlib/doc/ |
H A D | rfc1952.txt | 606 unsigned long crc_table[256]; 633 crc_table[n] = c; 660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
|
/netbsd-src/external/gpl3/binutils/dist/zlib/doc/ |
H A D | rfc1952.txt | 606 unsigned long crc_table[256]; 633 crc_table[n] = c; 660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
|
/netbsd-src/external/gpl3/gdb/dist/zlib/doc/ |
H A D | rfc1952.txt | 606 unsigned long crc_table[256]; 633 crc_table[n] = c; 660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
|
/netbsd-src/external/gpl3/binutils/dist/ld/ |
H A D | pdb.c | 117 static const uint32_t crc_table[] = variable 466 crc = (crc >> 8) ^ crc_table[(crc & 0xff) ^ *data]; in crc32()
|