Home
last modified time | relevance | path

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

12345678910>>...71

/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/devpak_plugin/
H A Dcrc32.cpp26 if ( !crc_table ) in GetCRC32Table()
32 if ( crc_table ) in GetCRC32Table()
52 return ( crc_table ) ; in GetCRC32Table()
63 crc_table = GetCRC32Table( crc_table ) ; in GetFileCRC32()
66 if ( crc_table ) in GetFileCRC32()
90 if ( crc_table ) { delete[] crc_table; } in GetFileCRC32()
94 crc_table = NULL; in GetFileCRC32()
108 crc_table = GetCRC32Table( crc_table ) ; in GetTextCRC32()
111 if ( crc_table ) in GetTextCRC32()
123 if ( crc_table ) { delete[] crc_table; } in GetTextCRC32()
[all …]
/dports/sysutils/moosefs2-cgi/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs3-netdump/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/moosefs3-cgi/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/moosefs3-cgiserv/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/moosefs3-chunkserver/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/moosefs3-cli/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/moosefs3-client/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/moosefs2-netdump/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs2-master/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs2-metalogger/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs2-cgiserv/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs2-chunkserver/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs2-client/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs2-cli/moosefs-2.0.91/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table in mycrc32()
[all …]
/dports/sysutils/moosefs3-metalogger/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/moosefs3-master/moosefs-3.0.116/mfscommon/
H A Dcrc.c76 static uint32_t crc_table[8][256]; variable
78 static uint32_t crc_table[256]; variable
100 crc_table[0][i] = BYTEREV(c); in crc_generate_main_tables()
102 crc_table[0][i] = c; in crc_generate_main_tables()
105 crc_table[i]=c; in crc_generate_main_tables()
111 c = crc_table[0][i]; in crc_generate_main_tables()
115 crc_table[j][i] = c; in crc_generate_main_tables()
117 c = crc_table[0][c&0xff]^(c>>8); in crc_generate_main_tables()
118 crc_table[j][i] = c; in crc_generate_main_tables()
138crc_table[0][next&0xFF] ^ crc_table[1][(next>>8)&0xFF] ^ crc_table[2][(next>>16)&0xFF] ^ crc_table
[all …]
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/chunkio/deps/crc32/
H A Dcrc32.c61 static const crc_t crc_table[8][256] = { variable
357 crc_table[0][d2 & 0xffu] ^ in crc_update()
358 crc_table[1][(d2 >> 8) & 0xffu] ^ in crc_update()
359 crc_table[2][(d2 >> 16) & 0xffu] ^ in crc_update()
361 crc_table[4][d1 & 0xffu] ^ in crc_update()
362 crc_table[5][(d1 >> 8) & 0xffu] ^ in crc_update()
364 crc_table[7][(d1 >> 24) & 0xffu]; in crc_update()
371 crc_table[2][(d2 >> 8) & 0xffu] ^ in crc_update()
372 crc_table[3][d2 & 0xffu] ^ in crc_update()
375 crc_table[6][(d1 >> 8) & 0xffu] ^ in crc_update()
[all …]
/dports/audio/libid3tag/libid3tag-0.15.1b/
H A Dcrc.c32 unsigned long const crc_table[256] = { variable
115 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
116 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
117 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
118 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
119 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
120 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
121 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
122 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
126 case 7: crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in id3_crc_compute()
[all …]
/dports/audio/madplay/madplay-0.15.2b/
H A Dcrc.c37 unsigned short const crc_table[256] = { variable
85 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
86 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
87 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
88 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
89 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
90 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
91 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
92 crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
96 case 7: crc = crc_table[(crc ^ *data++) & 0xff] ^ (crc >> 8); in crc_compute()
[all …]
/dports/devel/codeblocks/codeblocks-20.03/src/sdk/
H A Dcrc32.cpp26 static wxUint32 *GetCRC32Table( wxUint32 *crc_table ) in GetCRC32Table() argument
29 if ( !crc_table ) in GetCRC32Table()
32 crc_table = new wxUint32[256]; in GetCRC32Table()
35 if ( crc_table ) in GetCRC32Table()
46 crc_table[i] = crc; in GetCRC32Table()
52 return ( crc_table ) ; in GetCRC32Table()
66 static wxUint32 *crc_table = NULL; in FromString() local
73 crc_table = GetCRC32Table( crc_table ) ; in FromString()
76 if ( crc_table ) in FromString()
92 if ( crc_table ) { delete[] crc_table; } in FromString()
[all …]
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/common/
H A Dcrc.cc88 crc_table[0][i] = c; in crc_generate_main_tables()
94 c = crc_table[0][i]; in crc_generate_main_tables()
96 crc_table[1][i] = c; in crc_generate_main_tables()
98 crc_table[2][i] = c; in crc_generate_main_tables()
100 crc_table[3][i] = c; in crc_generate_main_tables()
102 c = crc_table[0][i]; in crc_generate_main_tables()
104 crc_table[1][i] = c; in crc_generate_main_tables()
106 crc_table[2][i] = c; in crc_generate_main_tables()
108 crc_table[3][i] = c; in crc_generate_main_tables()
118 …crc ^= *block4++; crc = crc_table[0][crc & 0xff] ^ crc_table[1][(crc >> 8) & 0xff] ^ crc_table[2][… in mycrc32()
[all …]
/dports/net/zsync/zsync-0.6.2/zlib/
H A Dcrc32.c62 local unsigned long FAR crc_table[TBLS][256]; variable
112 crc_table[0][n] = c; in make_crc_table()
119 c = crc_table[0][n]; in make_crc_table()
120 crc_table[4][n] = REV(c); in make_crc_table()
123 crc_table[k][n] = c; in make_crc_table()
124 crc_table[k + 4][n] = REV(c); in make_crc_table()
142 write_table(out, crc_table[0]); in make_crc_table()
231 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
232 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
271 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
[all …]
/dports/graphics/povray36/povray-3.6.1/libraries/zlib/
H A Dcrc32.c62 local unsigned long FAR crc_table[TBLS][256]; variable
112 crc_table[0][n] = c; in make_crc_table()
119 c = crc_table[0][n]; in make_crc_table()
120 crc_table[4][n] = REV(c); in make_crc_table()
123 crc_table[k][n] = c; in make_crc_table()
124 crc_table[k + 4][n] = REV(c); in make_crc_table()
142 write_table(out, crc_table[0]); in make_crc_table()
231 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
232 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
271 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
[all …]
/dports/security/R-cran-digest/digest/src/
H A Dcrc32.c64 local unsigned long FAR crc_table[TBLS][256]; variable
119 crc_table[0][n] = c; in digest_make_crc_table()
126 c = crc_table[0][n]; in digest_make_crc_table()
127 crc_table[4][n] = REV(c); in digest_make_crc_table()
129 c = crc_table[0][c & 0xff] ^ (c >> 8); in digest_make_crc_table()
130 crc_table[k][n] = c; in digest_make_crc_table()
131 crc_table[k + 4][n] = REV(c); in digest_make_crc_table()
199 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
200 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
239 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
[all …]

12345678910>>...71