Home
last modified time | relevance | path

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

/external/pdfium/third_party/zlib_v128/
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
/external/syslinux/com32/lib/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
/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/python/cpython2/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
/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]
DXzCrc64Opt.asm104 crc_table equ (8 + crc_val) define
105 table_VAR equ [r4 + crc_table]
/external/toybox/toys/pending/
Dcompress.c450 unsigned crc, *crc_table = (unsigned *)(toybuf+sizeof(toybuf)-1024); in gzip_crc() local
453 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/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/lib/
Dlib.c714 void crc_init(unsigned int *crc_table, int little_endian) in crc_init() argument
724 crc_table[i] = c; in crc_init()
Dlib.h222 void crc_init(unsigned int *crc_table, int little_endian);
/external/toybox/generated/
Dglobals.h987 unsigned crc_table[256]; member