Home
last modified time | relevance | path

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

12

/third_party/boost/libs/beast/test/extern/zlib-1.2.11/
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
/third_party/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
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/
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
/third_party/libwebsockets/win32port/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
/third_party/node/deps/zlib/
Dcrc32.c66 local z_crc_t FAR crc_table[TBLS][256]; variable
122 crc_table[0][n] = c; in make_crc_table()
129 c = crc_table[0][n]; in make_crc_table()
130 crc_table[4][n] = ZSWAP32(c); in make_crc_table()
132 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
133 crc_table[k][n] = c; in make_crc_table()
134 crc_table[k + 4][n] = ZSWAP32(c); in make_crc_table()
158 write_table(out, crc_table[0]); in make_crc_table()
163 write_table(out, crc_table[k]); in make_crc_table()
203 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
/third_party/flutter/skia/third_party/externals/zlib/
Dcrc32.c66 local z_crc_t FAR crc_table[TBLS][256]; variable
122 crc_table[0][n] = c; in make_crc_table()
129 c = crc_table[0][n]; in make_crc_table()
130 crc_table[4][n] = ZSWAP32(c); in make_crc_table()
132 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
133 crc_table[k][n] = c; in make_crc_table()
134 crc_table[k + 4][n] = ZSWAP32(c); in make_crc_table()
158 write_table(out, crc_table[0]); in make_crc_table()
163 write_table(out, crc_table[k]); in make_crc_table()
203 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
/third_party/skia/third_party/externals/zlib/
Dcrc32.c63 local z_crc_t FAR crc_table[TBLS][256]; variable
119 crc_table[0][n] = c; in make_crc_table()
126 c = crc_table[0][n]; in make_crc_table()
127 crc_table[4][n] = ZSWAP32(c); in make_crc_table()
129 c = crc_table[0][c & 0xff] ^ (c >> 8); in make_crc_table()
130 crc_table[k][n] = c; in make_crc_table()
131 crc_table[k + 4][n] = ZSWAP32(c); in make_crc_table()
155 write_table(out, crc_table[0]); in make_crc_table()
160 write_table(out, crc_table[k]); in make_crc_table()
200 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
/third_party/toybox/toys/posix/
Dcksum.c39 unsigned crc_table[256]; in GLOBALS()
44 return (crc<<8)^TT.crc_table[(crc>>24)^c];
49 return TT.crc_table[(crc^c)&0xff] ^ (crc>>8); in cksum_le()
90 crc_init(TT.crc_table, toys.optflags & FLAG_L); in cksum_main()
/third_party/uboot/u-boot-2020.01/tools/
Dpbl_crc32.c10 static uint32_t crc_table[256]; variable
36 crc_table[i] = mask; in make_crc_table()
53 crc_table[(crc32_val >> 24) ^ (*buf++ & 0xff)]; in pbl_crc32()
/third_party/uboot/u-boot-2020.01/lib/
Dcrc32.c36 static uint32_t __efi_runtime_data crc_table[256]; variable
82 crc_table[n] = tole(c); in make_crc_table()
91 static const uint32_t __efi_runtime_data crc_table[256] = { variable
168 return (const uint32_t *)crc_table;
186 const uint32_t *tab = crc_table; in crc32_no_comp()
/third_party/ffmpeg/libavformat/
Dapngenc.c64 const AVCRC *crc_table = av_crc_get_table(AV_CRC_32_IEEE_LE); in apng_write_chunk() local
68 av_assert0(crc_table); in apng_write_chunk()
72 crc = av_crc(crc_table, crc, tagbuf, 4); in apng_write_chunk()
75 crc = av_crc(crc_table, crc, buf, length); in apng_write_chunk()
/third_party/ffmpeg/libavcodec/
Dttaenc.c30 const AVCRC *crc_table; member
40 s->crc_table = av_crc_get_table(AV_CRC_32_IEEE_LE); in tta_encode_init()
186 put_bits32(&pb, av_crc(s->crc_table, UINT32_MAX, avpkt->data, out_bytes) ^ UINT32_MAX); in tta_encode_frame()
Dtta.c51 const AVCRC *crc_table; member
80 crc = av_crc(s->crc_table, 0xFFFFFFFFU, buf, buf_size); in tta_check_crc()
136 s->crc_table = av_crc_get_table(AV_CRC_32_IEEE_LE); in tta_decode_init()
Dhcadec.c45 const AVCRC *crc_table; member
114 c->crc_table = av_crc_get_table(AV_CRC_16_ANSI); in decode_init()
397 if (av_crc(c->crc_table, 0, avpkt->data, avpkt->size)) in decode_frame()
Dpngenc.c227 const AVCRC *crc_table = av_crc_get_table(AV_CRC_32_IEEE_LE); in png_write_chunk() local
233 crc = av_crc(crc_table, crc, tagbuf, 4); in png_write_chunk()
236 crc = av_crc(crc_table, crc, buf, length); in png_write_chunk()
247 const AVCRC *crc_table = av_crc_get_table(AV_CRC_32_IEEE_LE); in png_write_image_data() local
259 crc = av_crc(crc_table, crc, s->bytestream - 8, 8); in png_write_image_data()
261 crc = av_crc(crc_table, crc, buf, length); in png_write_image_data()
/third_party/boost/libs/crc/test/
Dcrc_test.cpp321 static uint32_t crc_table[ 1ul << CHAR_BIT ]; in quick_crc32() local
348 crc_table[ quick_reflect(dividend, CHAR_BIT) ] in quick_crc32()
365 rem ^= crc_table[ byte_index ]; in quick_crc32()
/third_party/uboot/u-boot-2020.01/drivers/fpga/
Divm_core.c2042 unsigned int crc_table[16] = { in ispVMCalculateCRC32() local
2060 usCRCTableEntry = (unsigned short)(crc_table[g_usCalculatedCRC & 0xF]); in ispVMCalculateCRC32()
2063 usCRCTableEntry ^ crc_table[ucFlipData & 0xF]); in ispVMCalculateCRC32()
2064 usCRCTableEntry = (unsigned short)(crc_table[g_usCalculatedCRC & 0xF]); in ispVMCalculateCRC32()
2067 usCRCTableEntry ^ crc_table[(ucFlipData >> 4) & 0xF]); in ispVMCalculateCRC32()
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstsbcparse.c358 static const guint8 crc_table[256] = { variable
400 crc = crc_table[crc ^ *data]; in gst_sbc_calculate_crc8()

12