Home
last modified time | relevance | path

Searched refs:checksum (Results 1 - 25 of 138) sorted by relevance

123456

/third_party/vk-gl-cts/scripts/khr_util/
H A Dregistry_cache.py37 def __init__(self, repository, filename, revision, checksum):
41 self.checksum = checksum
44 return hash((self.repository, self.filename, self.revision, self.checksum))
47 return (self.repository, self.filename, self.revision, self.checksum) == (other.repository, other.filename, other.revision, other.checksum)
56 return self.checksum
112 def fetchFile (dstPath, repository, revision, filename, checksum, cacheDir):
125 if checksum != gotChecksum:
126 raise Exception("Checksum mismatch, expected %s, got %s" % (checksum, gotChecksu
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/
H A DHeader.java40 private final long checksum; field in Header
65 * @param checksum
67 public Header(int tag, long checksum, int offset, int length) { in Header() argument
69 this.checksum = checksum; in Header()
87 this.checksum = 0; in Header()
104 this.checksum = 0; in Header()
168 * Get the checksum for the table as recorded in the table record header.
170 * @return the checksum
172 public long checksum() { in checksum() method in Header
[all...]
/third_party/vk-gl-cts/external/
H A Dfetch_sources.py66 def __init__(self, url, checksum, baseDir, extractDir = "src", postExtract=None):
70 self.checksum = checksum
82 if self.getExtractedChecksum() != self.checksum:
85 self.storeExtractedChecksum(self.checksum)
95 return computeChecksum(readBinaryFile(archiveFile)) == self.checksum
110 def storeExtractedChecksum (self, checksum):
111 checksum_bytes = checksum.encode("utf-8")
136 checksum = computeChecksum(data)
139 if checksum !
[all...]
/third_party/ffmpeg/libavformat/
H A Dargo_cvg.c33 * .CVG files are essentially PSX ADPCM wrapped with a size and checksum.
43 uint32_t size; /*< File size -8 (this + trailing checksum) */
51 uint32_t checksum; member
57 uint32_t checksum; member
65 uint32_t checksum; member
110 static int argo_cvg_read_checksum(AVIOContext *pb, const ArgoCVGHeader *cvg, uint32_t *checksum) in argo_cvg_read_checksum() argument
116 *checksum = 0; in argo_cvg_read_checksum()
132 *checksum = AV_RL32(buf); in argo_cvg_read_checksum()
163 if ((ret = argo_cvg_read_checksum(s->pb, &ctx->header, &ctx->checksum)) < 0) in argo_cvg_read_header()
166 av_log(s, AV_LOG_TRACE, "checksum in argo_cvg_read_header()
[all...]
H A Davio_internal.h168 unsigned long checksum);
170 unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf,
172 unsigned long ff_crcEDB88320_update(unsigned long checksum, const uint8_t *buf,
174 unsigned long ff_crcA001_update(unsigned long checksum, const uint8_t *buf,
/third_party/libsnd/src/
H A Dsds.c422 { unsigned char *ucptr, checksum ; in sds_2byte_read() local
441 checksum = psds->read_data [1] ; in sds_2byte_read()
442 if (checksum != 0x7E) in sds_2byte_read()
443 { printf ("Error 1 : %02X\n", checksum & 0xFF) ; in sds_2byte_read()
447 checksum ^= psds->read_data [k] ; in sds_2byte_read()
449 checksum &= 0x7F ; in sds_2byte_read()
451 if (checksum != psds->read_data [SDS_BLOCK_SIZE - 2]) in sds_2byte_read()
452 { psf_log_printf (psf, "Block %d : checksum is %02X should be %02X\n", psds->read_data [4], checksum, psds->read_data [SDS_BLOCK_SIZE - 2]) ; in sds_2byte_read()
466 { unsigned char *ucptr, checksum ; in sds_3byte_read() local
510 { unsigned char *ucptr, checksum ; sds_4byte_read() local
771 { unsigned char *ucptr, checksum ; sds_2byte_write() local
812 { unsigned char *ucptr, checksum ; sds_3byte_write() local
854 { unsigned char *ucptr, checksum ; sds_4byte_write() local
[all...]
/third_party/ffmpeg/libavutil/tests/
H A Dadler32.c34 AVAdler checksum; in main() local
44 checksum = av_adler32_update(1, data, LEN); in main()
48 checksum = av_adler32_update(1, data, LEN); in main()
51 av_log(NULL, AV_LOG_DEBUG, "%X (expected 50E6E508)\n", checksum); in main()
52 return checksum == 0x50e6e508 ? 0 : 1; in main()
/third_party/node/deps/v8/third_party/jinja2/
H A Dbccache.py41 The buckets get an internal checksum from the cache assigned and use this
46 def __init__(self, environment, key, checksum):
49 self.checksum = checksum
64 checksum = pickle.load(f)
65 if self.checksum != checksum:
80 pickle.dump(self.checksum, f, 2)
154 """Returns a checksum for the source."""
162 checksum
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dbccache.py64 The buckets get an internal checksum from the cache assigned and use this
69 def __init__(self, environment, key, checksum):
72 self.checksum = checksum
87 checksum = pickle.load(f)
88 if self.checksum != checksum:
103 pickle.dump(self.checksum, f, 2)
177 """Returns a checksum for the source."""
185 checksum
[all...]
/third_party/skia/third_party/externals/jinja2/
H A Dbccache.py41 The buckets get an internal checksum from the cache assigned and use this
46 def __init__(self, environment, key, checksum):
49 self.checksum = checksum
64 checksum = pickle.load(f)
65 if self.checksum != checksum:
80 pickle.dump(self.checksum, f, 2)
154 """Returns a checksum for the source."""
162 checksum
[all...]
/third_party/backends/backend/
H A Dmustek_scsi_pp.c474 signed char checksum; in mustek_scsi_pp_send_command() local
506 checksum = 0; in mustek_scsi_pp_send_command()
516 checksum += cmd[i]; in mustek_scsi_pp_send_command()
518 if (mustek_scsi_pp_send_command_byte (fd, -checksum) != SANE_STATUS_GOOD) in mustek_scsi_pp_send_command()
521 "mustek_scsi_pp_send_command: error sending checksum (0x%02X)\n", in mustek_scsi_pp_send_command()
522 -checksum); in mustek_scsi_pp_send_command()
532 signed char checksum; in mustek_scsi_pp_send_data_block() local
544 checksum = 0; in mustek_scsi_pp_send_data_block()
554 checksum += data[i]; in mustek_scsi_pp_send_data_block()
556 if (mustek_scsi_pp_send_command_byte (fd, -checksum) ! in mustek_scsi_pp_send_data_block()
570 signed char checksum; mustek_scsi_pp_read_data_block() local
[all...]
/third_party/jinja2/
H A Dbccache.py48 The buckets get an internal checksum from the cache assigned and use this
53 def __init__(self, environment: "Environment", key: str, checksum: str) -> None:
56 self.checksum = checksum
71 checksum = pickle.load(f)
72 if self.checksum != checksum:
87 pickle.dump(self.checksum, f, 2)
162 """Returns a checksum for the source."""
176 checksum
[all...]
/third_party/node/tools/dep_updaters/
H A Dutils.sh3 # This function logs the archive checksum and, if provided, compares it with
4 # the deposited checksum
11 # against the checksum generated from the archive
15 checksum="$3"
21 if [ "$checksum" = "$archive_checksum" ]; then
22 echo "Valid $package_name checksum"
25 echo "ERROR - Invalid $package_name checksum:"
26 echo "deposited: $checksum"
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dsession.cc67 bool Session::GetPayload(Packet* pkt, uint8_t* checksum) { in GetPayload() argument
69 *checksum = 0; in GetPayload()
80 *checksum = 0; in GetPayload()
84 *checksum += ch; in GetPayload()
106 // Get two nibble checksum in GetPacket()
/third_party/lwip/src/netif/ppp/
H A Ddemand.c323 unsigned short checksum; local
340 /* Get old checksum */
343 checksum = *((unsigned short *) (pkt->data+14));
344 if (checksum == 0xFFFF) {
345 checksum = 0;
371 checksum -= *((unsigned short *) (pkt->data+16)) ^ 0xFFFF;
372 checksum -= *((unsigned short *) (pkt->data+18)) ^ 0xFFFF;
381 checksum += *((unsigned short *) (pkt->data+16)) ^ 0xFFFF;
382 checksum += *((unsigned short *) (pkt->data+18)) ^ 0xFFFF;
387 /* Write new checksum */
[all...]
/third_party/node/deps/openssl/openssl/crypto/modes/
H A Docb128.c358 (const unsigned char (*)[16])ctx->l, ctx->sess.checksum.c); in CRYPTO_ocb128_encrypt()
375 ocb_block16_xor(&tmp, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_encrypt()
409 ocb_block16_xor(&pad, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_encrypt()
450 (const unsigned char (*)[16])ctx->l, ctx->sess.checksum.c); in CRYPTO_ocb128_decrypt()
472 ocb_block16_xor(&tmp, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_decrypt()
501 ocb_block16_xor(&pad, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_decrypt()
[all...]
/third_party/openssl/crypto/modes/
H A Docb128.c358 (const unsigned char (*)[16])ctx->l, ctx->sess.checksum.c); in CRYPTO_ocb128_encrypt()
375 ocb_block16_xor(&tmp, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_encrypt()
409 ocb_block16_xor(&pad, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_encrypt()
450 (const unsigned char (*)[16])ctx->l, ctx->sess.checksum.c); in CRYPTO_ocb128_decrypt()
472 ocb_block16_xor(&tmp, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_decrypt()
501 ocb_block16_xor(&pad, &ctx->sess.checksum, &ctx->sess.checksum); in CRYPTO_ocb128_decrypt()
[all...]
/third_party/exfatprogs/lib/
H A Dexfat_dir.c509 uint16_t *checksum, bool primary) in exfat_calc_dentry_checksum()
516 *checksum = ((*checksum << 15) | (*checksum >> 1)) + bytes[0]; in exfat_calc_dentry_checksum()
517 *checksum = ((*checksum << 15) | (*checksum >> 1)) + bytes[1]; in exfat_calc_dentry_checksum()
521 *checksum = ((*checksum << 15) | (*checksum >> in exfat_calc_dentry_checksum()
508 exfat_calc_dentry_checksum(struct exfat_dentry *dentry, uint16_t *checksum, bool primary) exfat_calc_dentry_checksum() argument
526 uint16_t checksum; calc_dentry_set_checksum() local
[all...]
H A Dlibexfat.c84 bool is_boot_sec, __le32 *checksum) in boot_calc_checksum()
92 *checksum = ((*checksum & 1) ? 0x80000000 : 0) + in boot_calc_checksum()
93 (*checksum >> 1) + sector[index]; in boot_calc_checksum()
97 *checksum = ((*checksum & 1) ? 0x80000000 : 0) + in boot_calc_checksum()
98 (*checksum >> 1) + sector[index]; in boot_calc_checksum()
525 unsigned int checksum, bool is_backup) in exfat_write_checksum_sector()
540 checksum_buf[i] = cpu_to_le32(checksum); in exfat_write_checksum_sector()
544 exfat_err("checksum secto in exfat_write_checksum_sector()
83 boot_calc_checksum(unsigned char *sector, unsigned short size, bool is_boot_sec, __le32 *checksum) boot_calc_checksum() argument
524 exfat_write_checksum_sector(struct exfat_blk_dev *bd, unsigned int checksum, bool is_backup) exfat_write_checksum_sector() argument
587 unsigned int checksum = 0; exfat_update_boot_checksum() local
[all...]
/third_party/exfatprogs/mkfs/
H A Dmkfs.c103 struct exfat_user_input *ui, unsigned int *checksum, in exfat_write_boot_sector()
131 true, checksum); in exfat_write_boot_sector()
139 unsigned int *checksum, bool is_backup) in exfat_write_extended_boot_sectors()
165 false, checksum); in exfat_write_extended_boot_sectors()
174 unsigned int *checksum, bool is_backup) in exfat_write_oem_sector()
196 checksum); in exfat_write_oem_sector()
208 checksum); in exfat_write_oem_sector()
218 unsigned int checksum = 0; in exfat_create_volume_boot_record() local
221 ret = exfat_write_boot_sector(bd, ui, &checksum, is_backup); in exfat_create_volume_boot_record()
224 ret = exfat_write_extended_boot_sectors(bd, &checksum, is_backu in exfat_create_volume_boot_record()
102 exfat_write_boot_sector(struct exfat_blk_dev *bd, struct exfat_user_input *ui, unsigned int *checksum, bool is_backup) exfat_write_boot_sector() argument
138 exfat_write_extended_boot_sectors(struct exfat_blk_dev *bd, unsigned int *checksum, bool is_backup) exfat_write_extended_boot_sectors() argument
173 exfat_write_oem_sector(struct exfat_blk_dev *bd, unsigned int *checksum, bool is_backup) exfat_write_oem_sector() argument
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/lib/
H A Dinstall.js228 // content checksum
229 new ShaSum((_, checksum) => {
231 contentShasums[filename] = checksum
232 log.verbose('content checksum', filename, checksum)
270 log.verbose('download contents checksum', JSON.stringify(contentShasums))
273 log.verbose('validating download checksum for ' + k, '(%s == %s)', contentShasums[k], expectShasums[k])
275 throw new Error(k + ' local checksum ' + contentShasums[k] + ' not match remote ' + expectShasums[k])
295 log.verbose('check download content checksum, need to download `SHASUMS256.txt`...')
296 log.verbose('checksum ur
[all...]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
H A DOTFBasicEditingTests.java49 * that the edit makes it through the save process and that the checksum is
56 long originalChecksum = originalFont[0].checksum(); in testBuildersToTables()
81 long fontChecksum = font.checksum(); in testBuildersToTables()
87 * Simple test of the font level checksum generation and the header table
88 * checksum offset.
94 long originalChecksum = originalFont.checksum(); in testChecksum()
106 // => expected checksum should go up by one for each too in testChecksum()
113 long builtChecksum = builtFont.checksum(); in testChecksum()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeon_vcn.c54 uint32_t checksum = 0; in rvcn_sq_tail() local
65 checksum += *(sq->ib_checksum + 2 + i); in rvcn_sq_tail()
67 *sq->ib_checksum = checksum; in rvcn_sq_tail()
/third_party/libwebsockets/lib/misc/
H A Dromfs.h40 u32_be_t checksum; member
47 u32_be_t checksum; member
/third_party/python/Mac/BuildScript/
H A Dbuild-installer.py251 checksum='e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6',
278 checksum=tcl_checksum,
295 checksum=tk_checksum,
318 checksum='ef68674fb47a8b8e741b34e429d86e9d',
329 checksum='8cb9c412e5f2d96bc6f459aa8c6282a1',
363 checksum="0c5a92bc51cf07cae45b4a1e94653dea",
387 checksum='ec2b87e833779681a0c3a814aa71359e',
786 def verifyThirdPartyFile(url, checksum, fname):
789 Abort if file contents does not match supplied md5 checksum.
799 if len(checksum)
[all...]

Completed in 13 milliseconds

123456