Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Dcrc32.c490 __u32 crc1, crc2; in test_step() local
495 crc2 = crc32_be(init, buf, len + 4); in test_step()
496 if (crc2) in test_step()
498 crc2); in test_step()
501 crc2 = crc32_be(init, buf, i); in test_step()
502 crc2 = crc32_be(crc2, buf + i, len + 4 - i); in test_step()
503 if (crc2) in test_step()
504 printf("\nCRC split fail: 0x%08x\n", crc2); in test_step()
511 crc2 = bitrev32(crc1); in test_step()
512 if (crc1 != bitrev32(crc2)) in test_step()
[all …]
/external/zlib/src/
Dcrc32.c53 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
355 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
357 uLong crc2;
406 crc1 ^= crc2;
411 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument
413 uLong crc2;
416 return crc32_combine_(crc1, crc2, len2);
419 uLong ZEXPORT crc32_combine64(crc1, crc2, len2) in crc32_combine64() argument
421 uLong crc2;
424 return crc32_combine_(crc1, crc2, len2);
/external/pdfium/third_party/zlib_v128/
Dcrc32.c53 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
357 uLong crc2, in crc32_combine_() argument
406 crc1 ^= crc2; in crc32_combine_()
413 uLong crc2, in crc32_combine() argument
416 return crc32_combine_(crc1, crc2, len2); in crc32_combine()
421 uLong crc2, in crc32_combine64() argument
424 return crc32_combine_(crc1, crc2, len2); in crc32_combine64()
/external/e2fsprogs/lib/ext2fs/
Dcsum.c174 __u16 crc1, crc2, crc3; in print_csum() local
202 crc2 = ext2fs_crc16(crc1, &swabgroup, sizeof(swabgroup)); in print_csum()
203 crc3 = ext2fs_crc16(crc2, desc, offset); in print_csum()
215 msg, e2p_uuid2str(sb->s_uuid), crc1, group, crc2, crc3, in print_csum()
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/crcmod/
Dtest.py464 crc2 = crc1.new()
470 … self.assertEqual(crc2.crcValue, v[0], "Wrong state for crc2 %s, input '%s'" % (crcfun_name,msg))
472 crc2.update(msg)
476 … self.assertEqual(crc2.crcValue, v[i], "Wrong state for crc2 %s, input '%s'" % (crcfun_name,msg))
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod_osx/crcmod/
Dtest.py464 crc2 = crc1.new()
470 … self.assertEqual(crc2.crcValue, v[0], "Wrong state for crc2 %s, input '%s'" % (crcfun_name,msg))
472 crc2.update(msg)
476 … self.assertEqual(crc2.crcValue, v[i], "Wrong state for crc2 %s, input '%s'" % (crcfun_name,msg))
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python3/crcmod/
Dtest.py453 crc2 = crc1.new()
459 … self.assertEqual(crc2.crcValue, v[0], "Wrong state for crc2 %s, input '%s'" % (crcfun_name,msg))
461 crc2.update(msg)
465 … self.assertEqual(crc2.crcValue, v[i], "Wrong state for crc2 %s, input '%s'" % (crcfun_name,msg))
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp147 uint32_t crc2 = 0; in computeCRC() local
153 crc2 = i; in computeCRC()
155 if ((crc2 & 1) == 1) { in computeCRC()
156 crc2 = (crc2 >> 1) ^ CRC32_POLYNOMIAL; in computeCRC()
158 crc2 >>= 1; in computeCRC()
161 crc_ta[i] = crc2; in computeCRC()
/external/libnfc-nxp/src/
DphLlcNfc_Interface.c663 crc2 = 0; in phLlcNfc_RdResp_Cb() local
771 &crc1, &crc2); in phLlcNfc_RdResp_Cb()
775 && (crc2 == ps_llc_payload->llcpayload[ in phLlcNfc_RdResp_Cb()
/external/zlib/src/contrib/pascal/
Dzlibpas.pas157 function crc32_combine(crc1, crc2, len2: LongInt): LongInt; in crc32_combine() argument