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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dcrc32.c24 uint32_t* crc32_filltable(uint32_t *crc_table, int endian) argument
30 if (!crc_table)
31 crc_table = xmalloc(256 * sizeof(uint32_t));
41 *crc_table++ = c;
44 return crc_table - 256;
47 uint32_t crc32_block_endian1(uint32_t val, const void *buf, unsigned len, uint32_t *crc_table) argument
52 val = (val << 8) ^ crc_table[(val >> 24) ^ *(uint8_t*)buf];
58 uint32_t crc32_block_endian0(uint32_t val, const void *buf, unsigned len, uint32_t *crc_table) argument
63 val = crc_table[(uint8_t)val ^ *(uint8_t*)buf] ^ (val >> 8);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/zlib-1.2.3/
H A Dcrc32.c75 local unsigned long FAR crc_table[TBLS][256]; variable
131 crc_table[0][n] = c;
138 c = crc_table[0][n];
139 crc_table[4][n] = REV(c);
141 c = crc_table[0][c & 0xff] ^ (c >> 8);
142 crc_table[k][n] = c;
143 crc_table[k + 4][n] = REV(c);
166 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
167 write_table(out, crc_table[0]);
172 write_table(out, crc_table[
[all...]
H A Dcrc32.h5 local const unsigned long FAR crc_table[TBLS][256] = variable
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/zlib-1.2.3/
H A Dcrc32.c75 local unsigned long FAR crc_table[TBLS][256]; variable
131 crc_table[0][n] = c;
138 c = crc_table[0][n];
139 crc_table[4][n] = REV(c);
141 c = crc_table[0][c & 0xff] ^ (c >> 8);
142 crc_table[k][n] = c;
143 crc_table[k + 4][n] = REV(c);
166 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
167 write_table(out, crc_table[0]);
172 write_table(out, crc_table[
[all...]
H A Dcrc32.h5 local const unsigned long FAR crc_table[TBLS][256] = variable
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libid3tag-0.15.0b/
H A Dcrc.c32 unsigned long const crc_table[256] = { variable
115 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
116 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
117 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
118 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
119 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
120 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
121 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
122 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
126 case 7: crc = crc_table[(cr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/packages/libid3tag-0.15.0b/
H A Dcrc.c32 unsigned long const crc_table[256] = { variable
115 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
116 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
117 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
118 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
119 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
120 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
121 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
122 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8);
126 case 7: crc = crc_table[(cr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/
H A Dcrc.c26 static uint16_t crc_table[256] = { variable
86 crc = crc_table[(crc >> 8 ^ *(data++)) & 0xffU] ^ (crc << 8);
149 printf("static unsigned short crc_table[256] = {\n");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/bluetooth/
H A Dhci_bcsp.c100 static const u16 crc_table[] = { variable
121 reg = (reg >> 4) ^ crc_table[(reg ^ d) & 0x000f];
122 reg = (reg >> 4) ^ crc_table[(reg ^ (d >> 4)) & 0x000f];

Completed in 449 milliseconds