Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/mtd/ubi/
Dcrc32.c434 u32 crc1, crc2; in test_step() local
439 crc2 = crc32_be(init, buf, len + 4); in test_step()
440 if (crc2) in test_step()
442 crc2); in test_step()
445 crc2 = crc32_be(init, buf, i); in test_step()
446 crc2 = crc32_be(crc2, buf + i, len + 4 - i); in test_step()
447 if (crc2) in test_step()
448 printf("\nCRC split fail: 0x%08x\n", crc2); in test_step()
455 crc2 = bitrev32(crc1); in test_step()
456 if (crc1 != bitrev32(crc2)) in test_step()
[all …]
/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/zlib/src/
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/libaom/libaom/test/
Dhash_test.cc73 uint32_t crc2 = ref_impl(&calc_, buffer_, length_); in RunCheckOutput() local
75 ASSERT_EQ(crc0, crc2); // should equal to software version in RunCheckOutput()
107 const uint32_t crc2 = test_impl(&calc_, buffer0, 1024); in RunZeroTest() local
109 ASSERT_NE(crc0, crc2); in RunZeroTest()
110 ASSERT_NE(crc1, crc2); in RunZeroTest()
/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_e2fsck_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_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_force_dryrun/
Dscript27 crc2=`$CRCSUM $TMPFILE`
28 echo $CRCSUM after e2undo $crc2 >> $OUT
30 if [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
/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_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_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_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_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…
/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_compound_rollback/
Dscript21 crc2=`$CRCSUM $TMPFILE`
22 echo $CRCSUM after tune2fs $crc2 >> $OUT
54 if [ $crc0 = $crc0_2 ] && [ $crc1 = $crc1_2 ] && [ $crc2 = $crc2_2 ] && [ $crc3 = $crc3_2 ]; then
/external/u-boot/common/
DxyzModem.c46 unsigned char blk, cblk, crc1, crc2; member
359 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, (char *) &xyz.crc2); in xyzModem_get_hdr()
360 ZM_DEBUG (zm_save (xyz.crc2)); in xyzModem_get_hdr()
382 if (cksum != ((xyz.crc1 << 8) | xyz.crc2)) in xyzModem_get_hdr()
385 xyz.crc1, xyz.crc2, cksum & 0xFFFF)); in xyzModem_get_hdr()
/external/e2fsprogs/tests/u_corrupt_hdr_csum/
Dscript26 crc2=`$CRCSUM $TMPFILE`
27 echo $CRCSUM after e2undo $crc2 >> $OUT
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_test.py544 crc2 = file_io.file_crc32(file2)
550 self.assertTrue(crc1 != crc2)
551 self.assertEqual(crc2, crc3)
560 crc2 = file_io.file_crc32(file2, block_size=24)
566 self.assertTrue(crc1 != crc2)
567 self.assertEqual(crc2, crc3)
576 crc2 = file_io.file_crc32(file2)
582 self.assertTrue(crc1 != crc2)
583 self.assertEqual(crc2, crc3)

12