/external/flac/src/test_libFLAC/ |
D | crc.c | 110 FLAC__uint8 crc0,crc1; in test_crc8() local 115 crc1 = FLAC__crc8(data, 0); in test_crc8() 117 if (crc1 != crc0) { in test_crc8() 124 crc1 = FLAC__crc8(data, i + 1); in test_crc8() 126 if (crc1 != crc0) { in test_crc8() 140 FLAC__uint16 crc0,crc1; in test_crc16() local 145 crc1 = FLAC__crc16(data, 0); in test_crc16() 147 if (crc1 != crc0) { in test_crc16() 154 crc1 = FLAC__crc16(data, i + 1); in test_crc16() 156 if (crc1 != crc0) { in test_crc16() [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/ |
D | checksum_fuzzer.c | 18 uint32_t crc1 = crc0; in LLVMFuzzerTestOneInput() local 42 uint32_t crc4 = PREFIX(crc32_combine_op)(crc1, crc3, op); in LLVMFuzzerTestOneInput() 43 crc1 = PREFIX(crc32_z)(crc1, data + offset, buffSize); in LLVMFuzzerTestOneInput() 44 assert(crc1 == crc4); in LLVMFuzzerTestOneInput() 45 (void)crc1; in LLVMFuzzerTestOneInput() 48 crc1 = PREFIX(crc32_z)(crc1, data + offset, dataLen % buffSize); in LLVMFuzzerTestOneInput() 52 assert(crc1 == crc2); in LLVMFuzzerTestOneInput() 53 (void)crc1; in LLVMFuzzerTestOneInput() 55 combine1 = PREFIX(crc32_combine)(crc1, crc2, (z_off_t)dataLen); in LLVMFuzzerTestOneInput() 56 combine2 = PREFIX(crc32_combine)(crc1, crc1, (z_off_t)dataLen); in LLVMFuzzerTestOneInput() [all …]
|
/external/oss-fuzz/projects/zlib/ |
D | checksum_fuzzer.c | 12 uint32_t crc1 = crc0; in LLVMFuzzerTestOneInput() local 35 uint32_t crc4 = crc32_combine_op(crc1, crc3, op); in LLVMFuzzerTestOneInput() 36 crc1 = crc32_z(crc1, data + offset, buffSize); in LLVMFuzzerTestOneInput() 37 assert(crc1 == crc4); in LLVMFuzzerTestOneInput() 39 crc1 = crc32_z(crc1, data + offset, dataLen % buffSize); in LLVMFuzzerTestOneInput() 43 assert(crc1 == crc2); in LLVMFuzzerTestOneInput() 44 assert(crc32_combine(crc1, crc2, dataLen) == in LLVMFuzzerTestOneInput() 45 crc32_combine(crc1, crc1, dataLen)); in LLVMFuzzerTestOneInput() 49 assert(crc32_combine_op(crc1, crc2, op) == in LLVMFuzzerTestOneInput() 50 crc32_combine_op(crc2, crc1, op)); in LLVMFuzzerTestOneInput() [all …]
|
/external/rust/crates/crc32fast/src/ |
D | combine.rs | 22 pub(crate) fn combine(mut crc1: u32, crc2: u32, mut len2: u64) -> u32 { in combine() 29 return crc1; in combine() 52 crc1 = gf2_matrix_times(&even, crc1); in combine() 64 crc1 = gf2_matrix_times(&odd, crc1); in combine() 75 crc1 ^= crc2; in combine() 76 return crc1; in combine()
|
/external/rust/crates/libz-sys/src/zlib/ |
D | crc32.c | 51 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 373 uLong crc1; in crc32_combine_() 384 return crc1; 406 crc1 = gf2_matrix_times(even, crc1); 416 crc1 = gf2_matrix_times(odd, crc1); 423 crc1 ^= crc2; 424 return crc1; 428 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 429 uLong crc1; in crc32_combine() [all …]
|
/external/libwebsockets/win32port/zlib/ |
D | crc32.c | 71 local uLong crc32_combine_(uLong crc1, uLong crc2, z_off64_t len2); 370 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 371 uLong crc1; in crc32_combine_() 382 return crc1; 404 crc1 = gf2_matrix_times(even, crc1); 414 crc1 = gf2_matrix_times(odd, crc1); 421 crc1 ^= crc2; 422 return crc1; 426 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 427 uLong crc1; in crc32_combine() [all …]
|
/external/python/cpython2/Modules/zlib/ |
D | crc32.c | 51 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 373 uLong crc1; in crc32_combine_() 384 return crc1; 406 crc1 = gf2_matrix_times(even, crc1); 416 crc1 = gf2_matrix_times(odd, crc1); 423 crc1 ^= crc2; 424 return crc1; 428 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 429 uLong crc1; in crc32_combine() [all …]
|
/external/angle/third_party/zlib/ |
D | crc32.c | 57 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 426 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 427 uLong crc1; in crc32_combine_() 438 return crc1; 460 crc1 = gf2_matrix_times(even, crc1); 470 crc1 = gf2_matrix_times(odd, crc1); 477 crc1 ^= crc2; 478 return crc1; 482 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 483 uLong crc1; in crc32_combine() [all …]
|
/external/zlib/ |
D | crc32.c | 57 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 426 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 427 uLong crc1; in crc32_combine_() 438 return crc1; 460 crc1 = gf2_matrix_times(even, crc1); 470 crc1 = gf2_matrix_times(odd, crc1); 477 crc1 ^= crc2; 478 return crc1; 482 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 483 uLong crc1; in crc32_combine() [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | crc32.c | 22 static uint32_t crc32_combine_(uint32_t crc1, uint32_t crc2, z_off64_t len2); 180 static uint32_t crc32_combine_(uint32_t crc1, uint32_t crc2, z_off64_t len2) { in crc32_combine_() argument 187 crc1 = gf2_matrix_times(crc_comb[n], crc1); in crc32_combine_() 188 return crc1 ^ crc2; in crc32_combine_() 193 unsigned long Z_EXPORT PREFIX(crc32_combine)(unsigned long crc1, unsigned long crc2, z_off_t len2) { in PREFIX() 194 return (unsigned long)crc32_combine_((uint32_t)crc1, (uint32_t)crc2, len2); in PREFIX() 197 unsigned long Z_EXPORT PREFIX4(crc32_combine)(unsigned long crc1, unsigned long crc2, z_off64_t len… in PREFIX4() 198 return (unsigned long)crc32_combine_((uint32_t)crc1, (uint32_t)crc2, len2); in PREFIX4() 201 uint32_t Z_EXPORT PREFIX4(crc32_combine)(uint32_t crc1, uint32_t crc2, z_off64_t len2) { in PREFIX4() 202 return crc32_combine_(crc1, crc2, len2); in PREFIX4() [all …]
|
/external/e2fsprogs/tests/u_dryrun/ |
D | script | 17 crc1=`$CRCSUM $TMPFILE` 18 echo $CRCSUM after tune2fs $crc1 >> $OUT 24 if [ $crc1 = $crc2 ] && [ $crc1 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_undo_undo/ |
D | script | 18 crc1=`$CRCSUM $TMPFILE` 19 echo $CRCSUM after e2fsck $crc1 >> $OUT 44 echo $crc0 $crc1 $crc2 $crc3 $crc4 $crc5 >> $OUT 46 if [ $crc0 = $crc2 ] && [ $crc2 = $crc4 ] && [ $crc5 = $crc4 ] && [ $crc1 = $crc3 ] && [ $crc1 != $…
|
/external/libaom/libaom/test/ |
D | hash_test.cc | 73 uint32_t crc1 = test_impl(&calc_, buffer_, length_); in RunCheckOutput() local 75 ASSERT_EQ(crc0, crc1); in RunCheckOutput() 107 const uint32_t crc1 = test_impl(&calc_, buffer0, 128); in RunZeroTest() local 109 ASSERT_NE(crc0, crc1); in RunZeroTest() 111 ASSERT_NE(crc1, crc2); in RunZeroTest()
|
/external/e2fsprogs/tests/u_corrupt_key_csum/ |
D | script | 19 crc1=`$CRCSUM $TMPFILE` 20 echo $CRCSUM after tune2fs $crc1 >> $OUT 29 if [ $crc0 != $crc1 ] && [ $crc1 = $crc2 ]; then
|
/external/e2fsprogs/tests/u_incomplete/ |
D | script | 17 crc1=`$CRCSUM $TMPFILE` 18 echo $CRCSUM after tune2fs $crc1 >> $OUT 30 if [ $crc0 != $crc2 ] && [ $crc1 != $crc2 ] && [ $crc0 != $crc1 ] && [ $fsck_res -eq 1 ]; then
|
/external/e2fsprogs/tests/u_errorout/ |
D | script | 33 crc1=`$CRCSUM $TMPFILE` 34 echo $CRCSUM after mke2fs $crc1 >> $OUT 41 if [ $crc0 != $crc1 ] && [ $crc1 != $crc2 ] && [ $crc0 = $crc2 ]; then
|
/external/e2fsprogs/tests/u_mke2fs_opt_oddsize/ |
D | script | 16 crc1=`$CRCSUM $TMPFILE` 17 echo $CRCSUM after mke2fs $crc1 >> $OUT 23 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_tune2fs_opt/ |
D | script | 17 crc1=`$CRCSUM $TMPFILE` 18 echo $CRCSUM after tune2fs $crc1 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_e2fsck_opt/ |
D | script | 17 crc1=`$CRCSUM $TMPFILE` 18 echo $CRCSUM after e2fsck $crc1 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_resize2fs_opt/ |
D | script | 17 crc1=`$CRCSUM $TMPFILE` 18 echo $CRCSUM after resize2fs $crc1 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_mke2fs_opt/ |
D | script | 17 crc1=`$CRCSUM $TMPFILE` 18 echo $CRCSUM after mke2fs $crc1 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_force_dryrun/ |
D | script | 19 crc1=`$CRCSUM $TMPFILE` 20 echo $CRCSUM after tune2fs $crc1 >> $OUT 30 if [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_corrupt_blk_csum/ |
D | script | 19 crc1=`$CRCSUM $TMPFILE` 20 echo $CRCSUM after tune2fs $crc1 >> $OUT 30 if [ $res -ne 0 ] && [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_corrupt_blk_csum_force/ |
D | script | 19 crc1=`$CRCSUM $TMPFILE` 20 echo $CRCSUM after tune2fs $crc1 >> $OUT 30 if [ $crc2 != $crc1 ] && [ $crc2 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_debugfs_opt/ |
D | script | 20 crc1=`$CRCSUM $TMPFILE` 21 echo $CRCSUM after debugfs $crc1 >> $OUT 27 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|