Home
last modified time | relevance | path

Searched refs:crc1 (Results 1 – 25 of 35) sorted by relevance

12

/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
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/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
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/u-boot/drivers/mtd/ubi/
Dcrc32.c434 u32 crc1, crc2; in test_step() local
437 crc1 = crc32_be(init, buf, len); in test_step()
438 store_be(crc1, buf + len); in test_step()
455 crc2 = bitrev32(crc1); in test_step()
456 if (crc1 != bitrev32(crc2)) in test_step()
458 crc1, crc2, bitrev32(crc2)); in test_step()
459 crc1 = crc32_le(init, buf, len); in test_step()
460 if (crc1 != crc2) in test_step()
461 printf("\nCRC endianness fail: 0x%08x != 0x%08x\n", crc1, in test_step()
475 return crc1; in test_step()
[all …]
/external/libaom/libaom/test/
Dhash_test.cc72 uint32_t crc1 = test_impl(&calc_, buffer_, length_); in RunCheckOutput() local
74 ASSERT_EQ(crc0, crc1); in RunCheckOutput()
106 const uint32_t crc1 = test_impl(&calc_, buffer0, 128); in RunZeroTest() local
108 ASSERT_NE(crc0, crc1); in RunZeroTest()
110 ASSERT_NE(crc1, crc2); in RunZeroTest()
/external/e2fsprogs/tests/u_undo_undo/
Dscript18 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/e2fsprogs/tests/u_dryrun/
Dscript17 crc1=`$CRCSUM $TMPFILE`
18 echo $CRCSUM after tune2fs $crc1 >> $OUT
24 if [ $crc1 = $crc2 ] && [ $crc1 != $crc0 ]; then
/external/e2fsprogs/tests/u_corrupt_key_csum/
Dscript19 crc1=`$CRCSUM $TMPFILE`
20 echo $CRCSUM after tune2fs $crc1 >> $OUT
29 if [ $crc0 != $crc1 ] && [ $crc1 = $crc2 ]; then
/external/e2fsprogs/tests/u_incomplete/
Dscript17 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/
Dscript33 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/
Dscript16 crc1=`$CRCSUM $TMPFILE`
17 echo $CRCSUM after mke2fs $crc1 >> $OUT
23 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_resize2fs_opt/
Dscript17 crc1=`$CRCSUM $TMPFILE`
18 echo $CRCSUM after resize2fs $crc1 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_e2fsck_opt/
Dscript17 crc1=`$CRCSUM $TMPFILE`
18 echo $CRCSUM after e2fsck $crc1 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_tune2fs_opt/
Dscript17 crc1=`$CRCSUM $TMPFILE`
18 echo $CRCSUM after tune2fs $crc1 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_mke2fs_opt/
Dscript17 crc1=`$CRCSUM $TMPFILE`
18 echo $CRCSUM after mke2fs $crc1 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/u-boot/common/
DxyzModem.c46 unsigned char blk, cblk, crc1, crc2; member
350 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, (char *) &xyz.crc1); in xyzModem_get_hdr()
351 ZM_DEBUG (zm_save (xyz.crc1)); 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()
396 if (xyz.crc1 != (cksum & 0xFF)) in xyzModem_get_hdr()
399 ("Checksum error - recvd: %x, computed: %x\n", xyz.crc1, in xyzModem_get_hdr()
/external/e2fsprogs/tests/u_debugfs_opt/
Dscript20 crc1=`$CRCSUM $TMPFILE`
21 echo $CRCSUM after debugfs $crc1 >> $OUT
27 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_corrupt_blk_csum/
Dscript19 crc1=`$CRCSUM $TMPFILE`
20 echo $CRCSUM after tune2fs $crc1 >> $OUT
30 if [ $res -ne 0 ] && [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_force_dryrun/
Dscript19 crc1=`$CRCSUM $TMPFILE`
20 echo $CRCSUM after tune2fs $crc1 >> $OUT
30 if [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_corrupt_blk_csum_force/
Dscript19 crc1=`$CRCSUM $TMPFILE`
20 echo $CRCSUM after tune2fs $crc1 >> $OUT
30 if [ $crc2 != $crc1 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_force/
Dscript17 crc1=`$CRCSUM $TMPFILE`
18 echo $CRCSUM after tune2fs $crc1 >> $OUT
32 if [ $MUST_FSCK -eq 1 ] && [ $crc0 != $crc3 ] && [ $crc1 = $crc2 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_wrong_fs/
Dscript17 crc1=`$CRCSUM $TMPFILE`
18 echo $CRCSUM after tune2fs $crc1 >> $OUT
28 if [ $crc3 = $crc2 ] && [ $crc2 != $crc1 ]; then
/external/e2fsprogs/tests/u_compound_rollback/
Dscript16 crc1=`$CRCSUM $TMPFILE`
17 echo $CRCSUM after mke2fs $crc1 >> $OUT
54 if [ $crc0 = $crc0_2 ] && [ $crc1 = $crc1_2 ] && [ $crc2 = $crc2_2 ] && [ $crc3 = $crc3_2 ]; then
/external/e2fsprogs/tests/u_onefile_bad/
Dscript34 crc1=`$CRCSUM $TMPFILE`
35 echo $CRCSUM after mke2fs $crc1 >> $OUT
107 if [ $fail -eq 0 ] && [ $crc0 != $crc1 ] && [ $crc1 != $crc2 ] && [ $crc2 = $crc3 ] && [ $crc3 = $c…
/external/e2fsprogs/tests/u_corrupt_hdr_csum/
Dscript19 crc1=`$CRCSUM $TMPFILE`
20 echo $CRCSUM after tune2fs $crc1 >> $OUT
/external/e2fsprogs/tests/u_revert_64bitmcsum_onefile/
Dscript34 crc1=`$CRCSUM $TMPFILE`
35 echo $CRCSUM after mke2fs $crc1 >> $OUT
104 if [ $fail -eq 0 ] && [ $crc0 = $crc0_2 ] && [ $crc1 = $crc1_2 ]; then

12