Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
Dfx_zlib_crc32.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
/external/zlib/src/
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
/external/toybox/toys/posix/
Dcksum.c29 unsigned crc_table[256]; in GLOBALS()
34 return (crc<<8)^TT.crc_table[(crc>>24)^c];
39 return TT.crc_table[(crc^c)&0xff] ^ (crc>>8); in cksum_le()
81 crc_init(TT.crc_table, toys.optflags & FLAG_L); in cksum_main()
/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/lzma/Asm/x86/
D7zCrcOpt.asm16 crc_table equ (REG_SIZE + data_size) define
18 table_VAR equ [r4 + crc_table]
/external/toybox/toys/pending/
Dcompress.c516 unsigned crc, *crc_table = (unsigned *)(toybuf+sizeof(toybuf)-1024); in gzip_crc() local
519 for (i=0; i<len; i++) crc = crc_table[(crc^data[i])&0xff] ^ (crc>>8); in gzip_crc()
/external/libpng/contrib/tools/
Dpngfix.c489 static png_uint_32 crc_table[256] = variable
554 return crc_table[(crc ^ b) & 0xff] ^ (crc >> 8); in crc_one_byte()
567 png_uint_32 crc = crc_table[(~value >> 24)] ^ 0xffffff; in crc_init_4()
569 crc = crc_table[(crc ^ (value >> 16)) & 0xff] ^ (crc >> 8); in crc_init_4()
570 crc = crc_table[(crc ^ (value >> 8)) & 0xff] ^ (crc >> 8); in crc_init_4()
571 return crc_table[(crc ^ value) & 0xff] ^ (crc >> 8); in crc_init_4()
/external/toybox/lib/
Dlib.h176 void crc_init(unsigned int *crc_table, int little_endian);
Dlib.c569 void crc_init(unsigned int *crc_table, int little_endian) in crc_init() argument
579 crc_table[i] = c; in crc_init()
/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.h873 unsigned crc_table[256]; member