Home
last modified time | relevance | path

Searched refs:GF2_DIM (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/crc32fast/src/
Dcombine.rs1 const GF2_DIM: usize = 32; constant
3 fn gf2_matrix_times(mat: &[u32; GF2_DIM], mut vec: u32) -> u32 { in gf2_matrix_times() argument
16 fn gf2_matrix_square(square: &mut [u32; GF2_DIM], mat: &[u32; GF2_DIM]) { in gf2_matrix_square() argument
17 for n in 0..GF2_DIM {
24 let mut even = [0u32; GF2_DIM]; /* even-power-of-two zeros operator */ in combine()
25 let mut odd = [0u32; GF2_DIM]; /* odd-power-of-two zeros operator */ in combine()
35 for n in 1..GF2_DIM { in combine()
/external/rust/crates/libz-sys/src/zlib-ng/tools/
Dmakecrct.c13 static uint32_t crc_comb[GF2_DIM][GF2_DIM];
25 for (n = 0; n < GF2_DIM; n++) in gf2_matrix_square()
92 k = GF2_DIM - 3; in make_crc_table()
95 for (n = 1; n < GF2_DIM; n++) { in make_crc_table()
132 printf("crc_comb[%d][%d] =\n{\n {\n", GF2_DIM, GF2_DIM); in print_crc32_tables()
133 write_table(crc_comb[0], GF2_DIM); in print_crc32_tables()
134 for (k = 1; k < GF2_DIM; k++) { in print_crc32_tables()
136 write_table(crc_comb[k], GF2_DIM); in print_crc32_tables()
/external/rust/crates/libz-sys/src/zlib-ng/
Dcrc32.c185 for (n = 0; len2; n = (n + 1) % GF2_DIM, len2 >>= 1) in crc32_combine_()
248 for (j = 0; j < GF2_DIM; j++) { in crc32_combine_gen_()
260 for (j = 0; j < GF2_DIM; j++) in crc32_combine_gen_()
265 i = (i + 1) % GF2_DIM; in crc32_combine_gen_()
272 i = (i + 1) % GF2_DIM; in crc32_combine_gen_()
276 for (j = 0; j < GF2_DIM; j++) in crc32_combine_gen_()
Dcrc32_p.h4 #define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ macro
/external/rust/crates/libz-sys/src/zlib/
Dcrc32.c341 #define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ macro
367 for (n = 0; n < GF2_DIM; n++)
379 unsigned long even[GF2_DIM]; /* even-power-of-two zeros operator */
380 unsigned long odd[GF2_DIM]; /* odd-power-of-two zeros operator */
389 for (n = 1; n < GF2_DIM; n++) {
/external/libwebsockets/win32port/zlib/
Dcrc32.c339 #define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ macro
365 for (n = 0; n < GF2_DIM; n++)
377 unsigned long even[GF2_DIM]; /* even-power-of-two zeros operator */
378 unsigned long odd[GF2_DIM]; /* odd-power-of-two zeros operator */
387 for (n = 1; n < GF2_DIM; n++) {
/external/python/cpython2/Modules/zlib/
Dcrc32.c341 #define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ macro
367 for (n = 0; n < GF2_DIM; n++)
379 unsigned long even[GF2_DIM]; /* even-power-of-two zeros operator */
380 unsigned long odd[GF2_DIM]; /* odd-power-of-two zeros operator */
389 for (n = 1; n < GF2_DIM; n++) {
/external/angle/third_party/zlib/
Dcrc32.c395 #define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ macro
421 for (n = 0; n < GF2_DIM; n++)
433 unsigned long even[GF2_DIM]; /* even-power-of-two zeros operator */
434 unsigned long odd[GF2_DIM]; /* odd-power-of-two zeros operator */
443 for (n = 1; n < GF2_DIM; n++) {
/external/zlib/
Dcrc32.c395 #define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ macro
421 for (n = 0; n < GF2_DIM; n++)
433 unsigned long even[GF2_DIM]; /* even-power-of-two zeros operator */
434 unsigned long odd[GF2_DIM]; /* odd-power-of-two zeros operator */
443 for (n = 1; n < GF2_DIM; n++) {