Home
last modified time | relevance | path

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

/external/qemu/distrib/zlib-1.2.3/
Dcrc32.c75 local unsigned long FAR crc_table[TBLS][256]; variable
131 crc_table[0][n] = c; in make_crc_table()
138 c = crc_table[0][n]; in make_crc_table()
139 crc_table[4][n] = REV(c); in make_crc_table()
141 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
142 crc_table[k][n] = c; in make_crc_table()
143 crc_table[k + 4][n] = REV(c); in make_crc_table()
167 write_table(out, crc_table[0]); in make_crc_table()
172 write_table(out, crc_table[k]); in make_crc_table()
211 return (const unsigned long FAR *)crc_table; in get_crc_table()
[all …]
Dcrc32.h5 local const unsigned long FAR crc_table[TBLS][256] = variable
/external/zlib/
Dcrc32.c77 local unsigned long FAR crc_table[TBLS][256]; variable
133 crc_table[0][n] = c; in make_crc_table()
140 c = crc_table[0][n]; in make_crc_table()
141 crc_table[4][n] = REV(c); in make_crc_table()
143 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
144 crc_table[k][n] = c; in make_crc_table()
145 crc_table[k + 4][n] = REV(c); in make_crc_table()
169 write_table(out, crc_table[0]); in make_crc_table()
174 write_table(out, crc_table[k]); in make_crc_table()
213 return (const unsigned long FAR *)crc_table; in get_crc_table()
[all …]
Dcrc32.h5 local const unsigned long FAR crc_table[TBLS][256] = variable
/external/bluetooth/bluez/tools/
Dubcsp.c227 static const uint16 crc_table[] = in ubcsp_calc_crc() local
237 crc = (crc >> 4) ^ crc_table[(crc ^ ch) & 0x000f]; in ubcsp_calc_crc()
238 crc = (crc >> 4) ^ crc_table[(crc ^ (ch >> 4)) & 0x000f]; in ubcsp_calc_crc()
/external/zlib/doc/
Drfc1952.txt606 unsigned long crc_table[256];
633 crc_table[n] = c;
660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
/external/bluetooth/bluez/sbc/
Dsbc.c102 static const uint8_t crc_table[256] = { variable
144 crc = crc_table[crc ^ data[i]]; in sbc_crc8()