Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/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
DChangeLog152 - Fix type mismatch between get_crc_table() and crc_table
296 - Use u4 type for crc_table to avoid conversion warnings
/external/zlib/src/
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
DChangeLog152 - Fix type mismatch between get_crc_table() and crc_table
296 - Use u4 type for crc_table to avoid conversion warnings
/external/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()
/external/u-boot/tools/
Dpbl_crc32.c9 static uint32_t crc_table[256]; variable
35 crc_table[i] = mask; in make_crc_table()
52 crc_table[(crc32_val >> 24) ^ (*buf++ & 0xff)]; in pbl_crc32()
/external/zopfli/src/zopfli/
Dgzip_container.c28 static unsigned long crc_table[256]; variable
46 crc_table[n] = c; in MakeCRCTable()
64 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8); in UpdateCRC()
/external/u-boot/lib/
Dcrc32.c32 local uint32_t crc_table[256]; variable
77 crc_table[n] = tole(c); in make_crc_table()
86 local const uint32_t crc_table[256] = { variable
163 return (const uint32_t *)crc_table;
181 const uint32_t *tab = crc_table; in crc32_no_comp()
/external/lzma/Asm/x86/
D7zCrcOpt.asm16 crc_table equ (REG_SIZE + data_size) define
18 table_VAR equ [r4 + crc_table]
DXzCrc64Opt.asm104 crc_table equ (8 + crc_val) define
105 table_VAR equ [r4 + crc_table]
/external/u-boot/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()
/external/toybox/lib/
Ddeflate.c417 unsigned crc, *crc_table = dd->crctable; in gzip_crc() local
420 for (i=0; i<len; i++) crc = crc_table[(crc^data[i])&0xff] ^ (crc>>8); in gzip_crc()
Dlib.c789 void crc_init(unsigned int *crc_table, int little_endian) in crc_init() argument
799 crc_table[i] = c; in crc_init()
Dlib.h245 void crc_init(unsigned int *crc_table, int little_endian);
/external/libpng/contrib/tools/
Dpngfix.c488 static png_uint_32 crc_table[256] = variable
553 return crc_table[(crc ^ b) & 0xff] ^ (crc >> 8); in crc_one_byte()
566 png_uint_32 crc = crc_table[(~value >> 24)] ^ 0xffffff; in crc_init_4()
568 crc = crc_table[(crc ^ (value >> 16)) & 0xff] ^ (crc >> 8); in crc_init_4()
569 crc = crc_table[(crc ^ (value >> 8)) & 0xff] ^ (crc >> 8); in crc_init_4()
570 return crc_table[(crc ^ value) & 0xff] ^ (crc >> 8); in crc_init_4()
/external/zlib/src/doc/
Drfc1952.txt606 unsigned long crc_table[256];
633 crc_table[n] = c;
660 c = crc_table[(c ^ buf[n]) & 0xff] ^ (c >> 8);
/external/toybox/generated/
Dglobals.h965 unsigned crc_table[256]; member