Home | History | Annotate | Download | only in zlib

Lines Matching refs:crc_table

59 local z_crc_t FAR crc_table[TBLS][256];

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[k]);
196 return (const z_crc_t FAR *)crc_table;
200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
242 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
243 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
258 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
274 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
282 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
283 crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24]
298 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
316 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);