Home
last modified time | relevance | path

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

12

/external/flac/src/test_libFLAC/
Dcrc.c110 FLAC__uint8 crc0,crc1; in test_crc8() local
114 crc0 = 0; in test_crc8()
117 if (crc1 != crc0) { in test_crc8()
123 crc0 = crc8_update_ref(data[i], crc0); in test_crc8()
126 if (crc1 != crc0) { in test_crc8()
140 FLAC__uint16 crc0,crc1; in test_crc16() local
144 crc0 = 0; in test_crc16()
147 if (crc1 != crc0) { in test_crc16()
153 crc0 = crc16_update_ref(data[i], crc0); in test_crc16()
156 if (crc1 != crc0) { in test_crc16()
[all …]
/external/libaom/libaom/test/
Dhash_test.cc72 uint32_t crc0 = test_impl(&calc_, buffer_, length_); in RunCheckOutput() local
75 ASSERT_EQ(crc0, crc1); in RunCheckOutput()
76 ASSERT_EQ(crc0, crc2); // should equal to software version in RunCheckOutput()
81 ASSERT_NE(crc0, crc3); // crc shoud not equal to previous one in RunCheckOutput()
106 const uint32_t crc0 = test_impl(&calc_, buffer0, 32); in RunZeroTest() local
109 ASSERT_NE(crc0, crc1); in RunZeroTest()
110 ASSERT_NE(crc0, crc2); in RunZeroTest()
/external/rust/crates/libz-sys/src/zlib-ng/arch/x86/
Dcrc_folding.c30 _mm_storeu_si128((__m128i *)s->crc0 + 0, _mm_cvtsi32_si128(0x9db42487)); in crc_fold_init()
31 _mm_storeu_si128((__m128i *)s->crc0 + 1, _mm_setzero_si128()); in crc_fold_init()
32 _mm_storeu_si128((__m128i *)s->crc0 + 2, _mm_setzero_si128()); in crc_fold_init()
33 _mm_storeu_si128((__m128i *)s->crc0 + 3, _mm_setzero_si128()); in crc_fold_init()
236 __m128i xmm_crc0 = _mm_loadu_si128((__m128i *)s->crc0 + 0); in crc_fold_copy()
237 __m128i xmm_crc1 = _mm_loadu_si128((__m128i *)s->crc0 + 1); in crc_fold_copy()
238 __m128i xmm_crc2 = _mm_loadu_si128((__m128i *)s->crc0 + 2); in crc_fold_copy()
239 __m128i xmm_crc3 = _mm_loadu_si128((__m128i *)s->crc0 + 3); in crc_fold_copy()
364 _mm_storeu_si128((__m128i *)s->crc0 + 0, xmm_crc0); in crc_fold_copy()
365 _mm_storeu_si128((__m128i *)s->crc0 + 1, xmm_crc1); in crc_fold_copy()
[all …]
/external/oss-fuzz/projects/zlib/
Dchecksum_fuzzer.c11 uint32_t crc0 = crc32(0L, NULL, 0); in LLVMFuzzerTestOneInput() local
12 uint32_t crc1 = crc0; in LLVMFuzzerTestOneInput()
13 uint32_t crc2 = crc0; in LLVMFuzzerTestOneInput()
34 uint32_t crc3 = crc32_z(crc0, data + offset, buffSize); in LLVMFuzzerTestOneInput()
/external/e2fsprogs/tests/u_incomplete/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before tune2fs $crc0 >> $OUT
30 if [ $crc0 != $crc2 ] && [ $crc1 != $crc2 ] && [ $crc0 != $crc1 ] && [ $fsck_res -eq 1 ]; then
/external/e2fsprogs/tests/u_force/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before tune2fs $crc0 >> $OUT
32 if [ $MUST_FSCK -eq 1 ] && [ $crc0 != $crc3 ] && [ $crc1 = $crc2 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_errorout/
Dscript11 crc0=`$CRCSUM $TMPFILE`
12 echo $CRCSUM before mke2fs $crc0 >> $OUT
41 if [ $crc0 != $crc1 ] && [ $crc1 != $crc2 ] && [ $crc0 = $crc2 ]; then
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dchecksum_fuzzer.c17 uint32_t crc0 = PREFIX(crc32)(0L, NULL, 0); in LLVMFuzzerTestOneInput() local
18 uint32_t crc1 = crc0; in LLVMFuzzerTestOneInput()
19 uint32_t crc2 = crc0; in LLVMFuzzerTestOneInput()
41 uint32_t crc3 = PREFIX(crc32_z)(crc0, data + offset, buffSize); in LLVMFuzzerTestOneInput()
/external/e2fsprogs/tests/u_not_undo/
Dscript11 crc0=`$CRCSUM $TMPFILE`
12 echo $CRCSUM before e2undo $crc0 > $OUT
20 if [ $crc3 = $crc0 ]; then
/external/e2fsprogs/tests/u_undo_undo/
Dscript13 crc0=`$CRCSUM $TMPFILE`
14 echo $CRCSUM before e2fsck $crc0 >> $OUT
44 echo $crc0 $crc1 $crc2 $crc3 $crc4 $crc5 >> $OUT
46 if [ $crc0 = $crc2 ] && [ $crc2 = $crc4 ] && [ $crc5 = $crc4 ] && [ $crc1 = $crc3 ] && [ $crc1 != $…
/external/zlib/
Dcrc_folding.c30 __m128i xmm_crc0 = _mm_loadu_si128((__m128i *)s->crc0 + 0);\
31 __m128i xmm_crc1 = _mm_loadu_si128((__m128i *)s->crc0 + 1);\
32 __m128i xmm_crc2 = _mm_loadu_si128((__m128i *)s->crc0 + 2);\
33 __m128i xmm_crc3 = _mm_loadu_si128((__m128i *)s->crc0 + 3);\
34 __m128i xmm_crc_part = _mm_loadu_si128((__m128i *)s->crc0 + 4);
37 _mm_storeu_si128((__m128i *)s->crc0 + 0, xmm_crc0);\
38 _mm_storeu_si128((__m128i *)s->crc0 + 1, xmm_crc1);\
39 _mm_storeu_si128((__m128i *)s->crc0 + 2, xmm_crc2);\
40 _mm_storeu_si128((__m128i *)s->crc0 + 3, xmm_crc3);\
41 _mm_storeu_si128((__m128i *)s->crc0 + 4, xmm_crc_part);\
/external/e2fsprogs/tests/u_mke2fs_opt_oddsize/
Dscript11 crc0=`$CRCSUM $TMPFILE`
12 echo $CRCSUM before mke2fs $crc0 > $OUT
23 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_resize2fs_opt/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before resize2fs $crc0 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_dryrun/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before tune2fs $crc0 >> $OUT
24 if [ $crc1 = $crc2 ] && [ $crc1 != $crc0 ]; then
/external/e2fsprogs/tests/u_tune2fs_opt/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before tune2fs $crc0 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_mke2fs_opt/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before mke2fs $crc0 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_e2fsck_opt/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before e2fsck $crc0 >> $OUT
24 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_debugfs_opt/
Dscript15 crc0=`$CRCSUM $TMPFILE`
16 echo $CRCSUM before debugfs $crc0 >> $OUT
27 if [ $crc0 = $crc2 ] && [ $crc1 != $crc2 ]; then
/external/e2fsprogs/tests/u_corrupt_key_csum/
Dscript14 crc0=`$CRCSUM $TMPFILE`
15 echo $CRCSUM before tune2fs $crc0 >> $OUT
29 if [ $crc0 != $crc1 ] && [ $crc1 = $crc2 ]; then
/external/e2fsprogs/tests/u_corrupt_blk_csum/
Dscript14 crc0=`$CRCSUM $TMPFILE`
15 echo $CRCSUM before tune2fs $crc0 >> $OUT
30 if [ $res -ne 0 ] && [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_force_dryrun/
Dscript14 crc0=`$CRCSUM $TMPFILE`
15 echo $CRCSUM before tune2fs $crc0 >> $OUT
30 if [ $crc2 = $crc1 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_corrupt_blk_csum_force/
Dscript14 crc0=`$CRCSUM $TMPFILE`
15 echo $CRCSUM before tune2fs $crc0 >> $OUT
30 if [ $crc2 != $crc1 ] && [ $crc2 != $crc0 ]; then
/external/e2fsprogs/tests/u_compound_rollback/
Dscript11 crc0=`$CRCSUM $TMPFILE`
12 echo $CRCSUM before mke2fs $crc0 >> $OUT
54 if [ $crc0 = $crc0_2 ] && [ $crc1 = $crc1_2 ] && [ $crc2 = $crc2_2 ] && [ $crc3 = $crc3_2 ]; then
/external/e2fsprogs/tests/u_corrupt_hdr_csum/
Dscript14 crc0=`$CRCSUM $TMPFILE`
15 echo $CRCSUM before tune2fs $crc0 >> $OUT
/external/e2fsprogs/tests/u_wrong_fs/
Dscript12 crc0=`$CRCSUM $TMPFILE`
13 echo $CRCSUM before tune2fs $crc0 >> $OUT

12