/external/oss-fuzz/projects/zlib/ |
D | checksum_fuzzer.c | 13 uint32_t crc2 = crc0; in LLVMFuzzerTestOneInput() local 41 crc2 = crc32(crc2, data, (uint32_t) dataLen); in LLVMFuzzerTestOneInput() 43 assert(crc1 == crc2); in LLVMFuzzerTestOneInput() 44 assert(crc32_combine(crc1, crc2, dataLen) == in LLVMFuzzerTestOneInput() 49 assert(crc32_combine_op(crc1, crc2, op) == in LLVMFuzzerTestOneInput() 50 crc32_combine_op(crc2, crc1, op)); in LLVMFuzzerTestOneInput() 51 assert(crc32_combine(crc1, crc2, dataLen) == in LLVMFuzzerTestOneInput() 52 crc32_combine_op(crc2, crc1, op)); in LLVMFuzzerTestOneInput()
|
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/ |
D | checksum_fuzzer.c | 19 uint32_t crc2 = crc0; in LLVMFuzzerTestOneInput() local 50 crc2 = PREFIX(crc32_z)(crc2, data, dataLen); in LLVMFuzzerTestOneInput() 52 assert(crc1 == crc2); in LLVMFuzzerTestOneInput() 54 (void)crc2; in LLVMFuzzerTestOneInput() 55 combine1 = PREFIX(crc32_combine)(crc1, crc2, (z_off_t)dataLen); in LLVMFuzzerTestOneInput() 61 combine1 = PREFIX(crc32_combine_op)(crc1, crc2, op); in LLVMFuzzerTestOneInput() 62 combine2 = PREFIX(crc32_combine_op)(crc2, crc1, op); in LLVMFuzzerTestOneInput() 64 combine1 = PREFIX(crc32_combine)(crc1, crc2, (z_off_t)dataLen); in LLVMFuzzerTestOneInput() 65 combine2 = PREFIX(crc32_combine_op)(crc2, crc1, op); in LLVMFuzzerTestOneInput()
|
/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 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() 294 uint32_t Z_EXPORT PREFIX(crc32_combine_op)(uint32_t crc1, uint32_t crc2, const uint32_t *op) { in PREFIX() [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 372 uLong crc2; 421 crc1 ^= crc2; 426 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 428 uLong crc2; 431 return crc32_combine_(crc1, crc2, len2); 434 uLong ZEXPORT crc32_combine64(crc1, crc2, len2) in crc32_combine64() argument 436 uLong crc2; 439 return crc32_combine_(crc1, crc2, len2);
|
/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 374 uLong crc2; 423 crc1 ^= crc2; 428 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 430 uLong crc2; 433 return crc32_combine_(crc1, crc2, len2); 436 uLong ZEXPORT crc32_combine64(crc1, crc2, len2) in crc32_combine64() argument 438 uLong crc2; 441 return crc32_combine_(crc1, crc2, len2);
|
/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 374 uLong crc2; 423 crc1 ^= crc2; 428 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 430 uLong crc2; 433 return crc32_combine_(crc1, crc2, len2); 436 uLong ZEXPORT crc32_combine64(crc1, crc2, len2) in crc32_combine64() argument 438 uLong crc2; 441 return crc32_combine_(crc1, crc2, len2);
|
/external/e2fsprogs/tests/u_undo_undo/ |
D | script | 23 crc2=`$CRCSUM $TMPFILE` 24 echo $CRCSUM after e2undo $crc2 >> $OUT 44 echo $crc0 $crc1 $crc2 $crc3 $crc4 $crc5 >> $OUT 46 if [ $crc0 = $crc2 ] && [ $crc2 = $crc4 ] && [ $crc5 = $crc4 ] && [ $crc1 = $crc3 ] && [ $crc1 != $…
|
/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 428 uLong crc2; 477 crc1 ^= crc2; 482 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument 484 uLong crc2; 487 return crc32_combine_(crc1, crc2, len2); 490 uLong ZEXPORT crc32_combine64(crc1, crc2, len2) in crc32_combine64() argument 492 uLong crc2; 495 return crc32_combine_(crc1, crc2, len2);
|
/external/e2fsprogs/tests/u_mke2fs_opt_oddsize/ |
D | script | 20 crc2=`$CRCSUM $TMPFILE` 21 echo $CRCSUM after e2undo $crc2 >> $OUT 23 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_resize2fs_opt/ |
D | script | 21 crc2=`$CRCSUM $TMPFILE` 22 echo $CRCSUM after e2undo $crc2 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_tune2fs_opt/ |
D | script | 21 crc2=`$CRCSUM $TMPFILE` 22 echo $CRCSUM after e2undo $crc2 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_mke2fs_opt/ |
D | script | 21 crc2=`$CRCSUM $TMPFILE` 22 echo $CRCSUM after e2undo $crc2 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_e2fsck_opt/ |
D | script | 21 crc2=`$CRCSUM $TMPFILE` 22 echo $CRCSUM after e2undo $crc2 >> $OUT 24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/libaom/libaom/test/ |
D | hash_test.cc | 74 uint32_t crc2 = ref_impl(&calc_, buffer_, length_); in RunCheckOutput() local 76 ASSERT_EQ(crc0, crc2); // should equal to software version in RunCheckOutput() 108 const uint32_t crc2 = test_impl(&calc_, buffer0, 1024); in RunZeroTest() local 110 ASSERT_NE(crc0, crc2); in RunZeroTest() 111 ASSERT_NE(crc1, crc2); in RunZeroTest()
|
/external/e2fsprogs/tests/u_debugfs_opt/ |
D | script | 24 crc2=`$CRCSUM $TMPFILE` 25 echo $CRCSUM after e2undo $crc2 >> $OUT 27 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
|
/external/e2fsprogs/tests/u_corrupt_blk_csum/ |
D | script | 27 crc2=`$CRCSUM $TMPFILE` 28 echo $CRCSUM after e2undo $crc2 >> $OUT 30 if [ $res -ne 0 ] && [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_force_dryrun/ |
D | script | 27 crc2=`$CRCSUM $TMPFILE` 28 echo $CRCSUM after e2undo $crc2 >> $OUT 30 if [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_corrupt_blk_csum_force/ |
D | script | 27 crc2=`$CRCSUM $TMPFILE` 28 echo $CRCSUM after e2undo $crc2 >> $OUT 30 if [ $crc2 != $crc1 ] && [ $crc2 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_incomplete/ |
D | script | 21 crc2=`$CRCSUM $TMPFILE` 22 echo $CRCSUM after e2undo $crc2 >> $OUT 30 if [ $crc0 != $crc2 ] && [ $crc1 != $crc2 ] && [ $crc0 != $crc1 ] && [ $fsck_res -eq 1 ]; then
|
/external/e2fsprogs/tests/u_wrong_fs/ |
D | script | 21 crc2=`$CRCSUM $TMPFILE` 22 echo $CRCSUM after re-mke2fs $crc2 >> $OUT 28 if [ $crc3 = $crc2 ] && [ $crc2 != $crc1 ]; then
|
/external/e2fsprogs/tests/u_force/ |
D | script | 23 crc2=`$CRCSUM $TMPFILE` 24 echo $CRCSUM after e2undo $crc2 >> $OUT 32 if [ $MUST_FSCK -eq 1 ] && [ $crc0 != $crc3 ] && [ $crc1 = $crc2 ] && [ $crc2 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_errorout/ |
D | script | 38 crc2=`$CRCSUM $TMPFILE` 39 echo $CRCSUM after e2undo mke2fs $crc2 >> $OUT 41 if [ $crc0 != $crc1 ] && [ $crc1 != $crc2 ] && [ $crc0 = $crc2 ]; then
|
/external/e2fsprogs/tests/u_dryrun/ |
D | script | 21 crc2=`$CRCSUM $TMPFILE` 22 echo $CRCSUM after e2undo $crc2 >> $OUT 24 if [ $crc1 = $crc2 ] && [ $crc1 != $crc0 ]; then
|
/external/e2fsprogs/tests/u_corrupt_key_csum/ |
D | script | 26 crc2=`$CRCSUM $TMPFILE` 27 echo $CRCSUM after e2undo $crc2 >> $OUT 29 if [ $crc0 != $crc1 ] && [ $crc1 = $crc2 ]; then
|
/external/e2fsprogs/tests/u_onefile_bad/ |
D | script | 46 crc2=`$CRCSUM $TMPFILE` 47 echo $CRCSUM after resize2fs $crc2 >> $OUT 107 …rc0 != $crc1 ] && [ $crc1 != $crc2 ] && [ $crc2 = $crc3 ] && [ $crc3 = $crc4 ] && [ $crc1_2 = $crc…
|