Home
last modified time | relevance | path

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

/device/google/contexthub/util/stm32_flash/
Dstm32f4_crc.c21 static unsigned int crc_table[] = variable
33 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
34 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
35 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
36 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
37 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
38 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
39 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
40 crc = (crc << 4) ^ crc_table[crc >> 28]; in crc32_word()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
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
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dcrc32.c59 local z_crc_t FAR crc_table[TBLS][256]; variable
115 crc_table[0][n] = c; in make_crc_table()
122 c = crc_table[0][n]; in make_crc_table()
123 crc_table[4][n] = ZSWAP32(c); in make_crc_table()
125 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
126 crc_table[k][n] = c; in make_crc_table()
127 crc_table[k + 4][n] = ZSWAP32(c); in make_crc_table()
151 write_table(out, crc_table[0]); in make_crc_table()
156 write_table(out, crc_table[k]); in make_crc_table()
196 return (const z_crc_t FAR *)crc_table; in get_crc_table()
[all …]
Dcrc32.h5 local const z_crc_t FAR crc_table[TBLS][256] = variable
DChangeLog109 - Fix type mismatch between get_crc_table() and crc_table
253 - Use u4 type for crc_table to avoid conversion warnings
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
Dcrc32.c57 local z_crc_t FAR crc_table[TBLS][256]; variable
113 crc_table[0][n] = c; in make_crc_table()
120 c = crc_table[0][n]; in make_crc_table()
121 crc_table[4][n] = ZSWAP32(c); in make_crc_table()
123 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
124 crc_table[k][n] = c; in make_crc_table()
125 crc_table[k + 4][n] = ZSWAP32(c); in make_crc_table()
149 write_table(out, crc_table[0]); in make_crc_table()
154 write_table(out, crc_table[k]); in make_crc_table()
194 return (const z_crc_t FAR *)crc_table; in get_crc_table()
[all …]
Dcrc32.h5 local const z_crc_t FAR crc_table[TBLS][256] = variable