Home
last modified time | relevance | path

Searched refs:cksum (Results 1 – 24 of 24) sorted by relevance

/third_party/libsnd/tests/
Dchecksum_test.c63 static void checksum_test (const CHECKSUM * cksum) ;
84 checksum_test (const CHECKSUM * cksum) in checksum_test() argument
88 print_test_name (__func__, cksum->enc_name) ; in checksum_test()
91 info.format = cksum->enc_fmt ; in checksum_test()
95 file = test_open_file_or_die (cksum->enc_name, SFM_WRITE, &info, 0, __LINE__) ; in checksum_test()
99 check_file_hash_or_die (cksum->enc_name, cksum->enc_cksum, __LINE__) ; in checksum_test()
104 print_test_name (__func__, cksum->dec_name) ; in checksum_test()
106 info.format = cksum->enc_fmt ; in checksum_test()
110 file = test_open_file_or_die (cksum->enc_name, SFM_READ, &info, 0, __LINE__) ; in checksum_test()
118 file = test_open_file_or_die (cksum->dec_name, SFM_WRITE, &info, 0, __LINE__) ; in checksum_test()
[all …]
Dutils.tpl260 uint64_t cksum ;
272 cksum = 0 ;
276 cksum = (cksum * 511 + buf [k]) & 0xfffffffffffff ;
281 { printf (" 0x%" PRIx64 "\n", cksum) ;
285 if (cksum != target_hash)
286 …: incorrect hash value 0x%" PRIx64 " should be 0x%" PRIx64 ".\n\n", line_num, cksum, target_hash) ;
/third_party/ffmpeg/libavformat/
Duncodedframecrcenc.c31 static void cksum_line_ ## name(unsigned *cksum, void *data, unsigned size) \
34 unsigned a = *cksum & 0xFFFF, b = *cksum >> 16; \
39 *cksum = a | (b << 16); \
64 unsigned cksum = 0; in video_frame_cksum() local
70 cksum = av_adler32_update(cksum, data, linesize[i]); in video_frame_cksum()
73 av_bprintf(bp, ", 0x%08x", cksum); in video_frame_cksum()
92 uint32_t cksum = 0; in audio_frame_cksum() local
97 cksum_line_u8(&cksum, d, nb_samples); in audio_frame_cksum()
101 cksum_line_s16(&cksum, d, nb_samples); in audio_frame_cksum()
105 cksum_line_s32(&cksum, d, nb_samples); in audio_frame_cksum()
[all …]
/third_party/toybox/toys/posix/
Dcksum.c56 unsigned (*cksum)(unsigned crc, unsigned char c); in do_cksum() local
59 cksum = (toys.optflags & FLAG_L) ? cksum_le : cksum_be; in do_cksum()
68 for (i=0; i<len; i++) crc=cksum(crc, toybuf[i]); in do_cksum()
76 crc = cksum(crc, llen); in do_cksum()
/third_party/node/deps/npm/node_modules/tar/lib/
Dheader.js28 this.cksum = null
57 this.cksum = decNumber(buf, off + 148, 12)
105 this.cksumValid = sum === this.cksum
106 if (this.cksum === null && sum === 8 * 0x20)
167 this.cksum = sum
168 encNumber(buf, off + 148, 8, this.cksum)
/third_party/icu/icu4c/source/test/letest/
Dcletest.c412 le_uint32 cksum = 0; in openFont() local
414 sscanf(checksum, "%x", &cksum); in openFont()
416 checkFontVersion(font, version, cksum, testID); in openFont()
Dletest.cpp555 le_uint32 cksum = 0; in openFont() local
557 sscanf(checksum, "%x", &cksum); in openFont()
559 checkFontVersion(font, version, cksum, testID); in openFont()
/third_party/e2fsprogs/lib/ext2fs/
Dtest_io.c98 unsigned long cksum = 0; in test_dump_block() local
101 cksum += *cp; in test_dump_block()
103 fprintf(f, "Contents of block %lu, checksum %08lu: \n", block, cksum); in test_dump_block()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-traffic.h182 uint16_t cksum; member
Dns-icmpv6_sender.c295 query_p->cksum = 0; /* Calculate later */ in create_mld_query()
338 query_p->cksum = calc_checksum((u_int16_t *) (&pseudo), in create_mld_query()
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c2028 int cksum; /* Set on a checksum error */ member
2104 if (zlib->cksum) in zlib_end()
2225 zlib->cksum = 0; /* set when a checksum error is detected */ in zlib_init()
2335 zlib->cksum = 1; in zlib_advance()
2465 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
2646 zlib.window_bits == zlib.file_bits && !zlib.cksum) in zlib_check()
2666 if (zlib.cksum) in zlib_check()
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c2028 int cksum; /* Set on a checksum error */ member
2104 if (zlib->cksum) in zlib_end()
2225 zlib->cksum = 0; /* set when a checksum error is detected */ in zlib_init()
2335 zlib->cksum = 1; in zlib_advance()
2465 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
2646 zlib.window_bits == zlib.file_bits && !zlib.cksum) in zlib_check()
2666 if (zlib.cksum) in zlib_check()
/third_party/libpng/contrib/tools/
Dpngfix.c2028 int cksum; /* Set on a checksum error */ member
2104 if (zlib->cksum) in zlib_end()
2225 zlib->cksum = 0; /* set when a checksum error is detected */ in zlib_init()
2335 zlib->cksum = 1; in zlib_advance()
2465 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
2646 zlib.window_bits == zlib.file_bits && !zlib.cksum) in zlib_check()
2666 if (zlib.cksum) in zlib_check()
/third_party/toybox/
DBUILD.gn148 "toys/posix/cksum.c",
254 "bin/cksum",
591 "toys/posix/cksum.c",
722 "cksum",
/third_party/toybox/lib/
Dlib.c1390 unsigned i, cksum = 8*' '; in tar_cksum() local
1392 for (i = 0; i<500; i += (i==147) ? 9 : 1) cksum += ((char *)data)[i]; in tar_cksum()
1394 return cksum; in tar_cksum()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMachO.h763 uint32_t cksum; member
1283 sys::swapByteOrder(C.cksum); in swapStruct()
/third_party/toybox/generated/
Dglobals.h1534 struct cksum_data cksum; member
Dnewtoys.h36 USE_CKSUM(NEWTOY(cksum, "HIPLN", TOYFLAG_BIN))
Dflags.h3609 #define TT this.cksum
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMachO.h775 uint32_t cksum; member
1333 sys::swapByteOrder(C.cksum); in swapStruct()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMachOYAML.cpp400 IO.mapRequired("cksum", LoadCommand.cksum); in mapping()
/third_party/node/deps/npm/node_modules/tar/
DREADME.md848 - `cksum` The checksum of the header. This is generated by adding all
/third_party/sqlite/src/
Dsqlite3.c54087 u32 cksum; /* MJ checksum value read from journal */
54098 || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-12, &cksum))
54108 cksum -= zSuper[u];
54110 if( cksum ){
54470 u32 cksum = 0; /* Checksum of string zSuper */
54486 cksum += zSuper[nSuper];
54504 || (0 != (rc = write32bits(pPager->jfd, iHdrOff+4+nSuper+4, cksum)))
54975 u32 cksum = pPager->cksumInit; /* Checksum value to return */
54978 cksum += aData[i];
54981 return cksum;
[all …]
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch95703 || (0 != (rc = write32bits(pPager->jfd, iHdrOff+4+nSuper+4, cksum)))
133344 || (0 != (rc = write32bits(pPager->jfd, iHdrOff+4+nSuper+4, cksum)))
168079 || (0 != (rc = write32bits(pPager->jfd, iHdrOff+4+nSuper+4, cksum)))