Home
last modified time | relevance | path

Searched refs:crc2 (Results 1 – 25 of 42) sorted by relevance

12

/external/oss-fuzz/projects/zlib/
Dchecksum_fuzzer.c13 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/
Dchecksum_fuzzer.c19 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/
Dcrc32.c22 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/
Dcrc32.c71 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/
Dcrc32.c51 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/
Dcrc32.c51 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/
Dscript23 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/
Dcrc32.c57 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/
Dscript20 crc2=`$CRCSUM $TMPFILE`
21 echo $CRCSUM after e2undo $crc2 >> $OUT
23 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_resize2fs_opt/
Dscript21 crc2=`$CRCSUM $TMPFILE`
22 echo $CRCSUM after e2undo $crc2 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_tune2fs_opt/
Dscript21 crc2=`$CRCSUM $TMPFILE`
22 echo $CRCSUM after e2undo $crc2 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_mke2fs_opt/
Dscript21 crc2=`$CRCSUM $TMPFILE`
22 echo $CRCSUM after e2undo $crc2 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_e2fsck_opt/
Dscript21 crc2=`$CRCSUM $TMPFILE`
22 echo $CRCSUM after e2undo $crc2 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/libaom/libaom/test/
Dhash_test.cc74 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/
Dscript24 crc2=`$CRCSUM $TMPFILE`
25 echo $CRCSUM after e2undo $crc2 >> $OUT
27 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_corrupt_blk_csum/
Dscript27 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/
Dscript27 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/
Dscript27 crc2=`$CRCSUM $TMPFILE`
28 echo $CRCSUM after e2undo $crc2 >> $OUT
30 if [ $crc2 != $crc1 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_incomplete/
Dscript21 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/
Dscript21 crc2=`$CRCSUM $TMPFILE`
22 echo $CRCSUM after re-mke2fs $crc2 >> $OUT
28 if [ $crc3 = $crc2 ] && [ $crc2 != $crc1 ]; then
/external/e2fsprogs/tests/u_force/
Dscript23 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/
Dscript38 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/
Dscript21 crc2=`$CRCSUM $TMPFILE`
22 echo $CRCSUM after e2undo $crc2 >> $OUT
24 if [ $crc1 = $crc2 ] && [ $crc1 != $crc0 ]; then
/external/e2fsprogs/tests/u_corrupt_key_csum/
Dscript26 crc2=`$CRCSUM $TMPFILE`
27 echo $CRCSUM after e2undo $crc2 >> $OUT
29 if [ $crc0 != $crc1 ] && [ $crc1 = $crc2 ]; then
/external/e2fsprogs/tests/u_onefile_bad/
Dscript46 crc2=`$CRCSUM $TMPFILE`
47 echo $CRCSUM after resize2fs $crc2 >> $OUT
107 …rc0 != $crc1 ] && [ $crc1 != $crc2 ] && [ $crc2 = $crc3 ] && [ $crc3 = $crc4 ] && [ $crc1_2 = $crc…

12