Home
last modified time | relevance | path

Searched full:checksum (Results 1 – 25 of 1573) sorted by relevance

12345678910>>...63

/external/mesa3d/.gitlab-ci/
Dtraces-radeonsi.yml8 checksum: 316650141be869c8afe76b42d3573b49
12 checksum: 2c57f9d33489dd43c8807bd0f06c3ed8
16 checksum: eb9b3d497be567f02a6e039fa32f2b13
20 checksum: 79634d7a6d48d36165ef12fde2901dfc
24 checksum: c81c85f9b247dd1b06c3dd5b669cc283
28 checksum: 78dd2357ad6e5ffc049a75bfb11c5497
32 checksum: 56d1398206ceea45562f80f8ea9d3814
36 checksum: 84c499203944cdc59e70450c324bb8df
40 checksum: 7bfbac352caf8a83a09687b2a93933e5
44 checksum: 2d0527e7288a0fc31099404546dadbfb
[all …]
Dtraces-panfrost.yml8 checksum: 95df5e619a36e88fe408e45567a2d149
10 checksum: 30663eac9a4767d26fbf9b6db9712d9f
14 checksum: 1d609b089732be5b6e3e78370abcb149
16 checksum: f98ef9118eeaba660c15065dac46e580
20 checksum: bcc73608b6e2b5d92bf926d1c21889c7
22 checksum: bcc73608b6e2b5d92bf926d1c21889c7
26 checksum: c4f5e6bfe0cba230b1aef631c2fa4584
28 checksum: c4f5e6bfe0cba230b1aef631c2fa4584
32 checksum: 2fb2c8e83719526cb6c02b6c2e069d61
34 checksum: 2fb2c8e83719526cb6c02b6c2e069d61
[all …]
Dtraces-freedreno.yml8 checksum: ea2b03e0768e8400c0badd46e4d26087
12 checksum: 1d04a606014f00663e0d078903d190c8
16 checksum: 6c00e3f05fab4b0df449451803b2749a
20 checksum: 5706da41ae1877086e7ac2dc9af66e81
24 checksum: bfa8557cd352b832e915c3c553b14c1f
28 checksum: 737a729713c894596b7cb4c1726239af
32 checksum: 8f81c0d4aa531277784872935523efd8
38 checksum: 4d654718f516adb891e6adef04924896
44 checksum: 7937cc1cb07b980da11a7c892a97bcdc
50 checksum: 2977a3bb963096a4ed421dff7001d498
[all …]
Dtraces-llvmpipe.yml8 checksum: 8867f3a41f180626d0d4b7661ff5c0f4
12 checksum: ebaa1e2d04d7dfe5a91499510722c46e
16 checksum: f8eba0fec6e3e0af9cb09844bc73bdc8
20 checksum: b244fb65c77f5cca2c49bb256874e132
24 checksum: e624d76c70cc3c532f4f54439e13659a
28 checksum: c4ee0eef519f1a32ba24b7b392b31b28
32 checksum: f8c6d9a5c9248821ed9aaa376bef05c3
36 checksum: 248ee9534a1f333b479e599646f56f63
40 checksum: 3bb42312c7d7d694f7e186b480e16314
44 checksum: c8848dec77ee0c55292417f54c0a1a49
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DChecksumCalculatingInputStream.java22 import java.util.zip.Checksum;
25 * A stream that calculates the checksum of the data read.
31 private final Checksum checksum; field in ChecksumCalculatingInputStream
33 public ChecksumCalculatingInputStream(final Checksum checksum, final InputStream in) { in ChecksumCalculatingInputStream() argument
35 if ( checksum == null ){ in ChecksumCalculatingInputStream()
36 throw new NullPointerException("Parameter checksum must not be null"); in ChecksumCalculatingInputStream()
43 this.checksum = checksum; in ChecksumCalculatingInputStream()
50 * stream is exhausted and the Checksum doesn't match the expected
57 checksum.update(ret); in read()
65 * stream is exhausted and the Checksum doesn't match the expected
[all …]
DChecksumVerifyingInputStream.java22 import java.util.zip.Checksum;
25 * A stream that verifies the checksum of the data read once the stream is
34 private final Checksum checksum; field in ChecksumVerifyingInputStream
36 public ChecksumVerifyingInputStream(final Checksum checksum, final InputStream in, in ChecksumVerifyingInputStream() argument
38 this.checksum = checksum; in ChecksumVerifyingInputStream()
47 * stream is exhausted and the Checksum doesn't match the expected
57 checksum.update(ret); in read()
60 if (bytesRemaining == 0 && expectedChecksum != checksum.getValue()) { in read()
61 throw new IOException("Checksum verification failed"); in read()
69 * stream is exhausted and the Checksum doesn't match the expected
[all …]
/external/guava/android/guava/src/com/google/common/hash/
DChecksumHashFunction.java22 import java.util.zip.Checksum;
25 * {@link HashFunction} adapter for {@link Checksum} instances.
31 private final ImmutableSupplier<? extends Checksum> checksumSupplier;
36 ImmutableSupplier<? extends Checksum> checksumSupplier, int bits, String toString) { in ChecksumHashFunction()
58 /** Hasher that updates a checksum. */
60 private final Checksum checksum; field in ChecksumHashFunction.ChecksumHasher
62 private ChecksumHasher(Checksum checksum) { in ChecksumHasher() argument
63 this.checksum = checkNotNull(checksum); in ChecksumHasher()
68 checksum.update(b); in update()
73 checksum.update(bytes, off, len); in update()
[all …]
/external/guava/guava/src/com/google/common/hash/
DChecksumHashFunction.java22 import java.util.zip.Checksum;
25 * {@link HashFunction} adapter for {@link Checksum} instances.
31 private final ImmutableSupplier<? extends Checksum> checksumSupplier;
36 ImmutableSupplier<? extends Checksum> checksumSupplier, int bits, String toString) { in ChecksumHashFunction()
58 /** Hasher that updates a checksum. */
60 private final Checksum checksum; field in ChecksumHashFunction.ChecksumHasher
62 private ChecksumHasher(Checksum checksum) { in ChecksumHasher() argument
63 this.checksum = checkNotNull(checksum); in ChecksumHasher()
68 checksum.update(b); in update()
73 checksum.update(bytes, off, len); in update()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/
DFramedLZ4CompressorInputStreamTest.java207 …, // flag - Version 01, block independent, no block checksum, no content size, with content checks… in rejectsFileWithoutBlockSizeByte()
222 …, // flag - Version 00, block independent, no block checksum, no content size, with content checks… in rejectsFileWithWrongVersion()
237 … // flag - Version 01, block independent, no block checksum, with content size, with content check… in rejectsFileWithInsufficientContentSize()
253 …, // flag - Version 01, block independent, no block checksum, no content size, with content checks… in rejectsFileWithoutHeaderChecksum()
261 assertThat(ex.getMessage(), containsString("header checksum")); in rejectsFileWithoutHeaderChecksum()
269 …, // flag - Version 01, block independent, no block checksum, no content size, with content checks… in rejectsFileWithBadHeaderChecksum()
278 assertThat(ex.getMessage(), containsString("header checksum mismatch")); in rejectsFileWithBadHeaderChecksum()
286 …0, // flag - Version 01, block independent, no block checksum, no content size, no content checksum in readsUncompressedBlocks()
288 115, // checksum in readsUncompressedBlocks()
305 …0, // flag - Version 01, block independent, no block checksum, no content size, no content checksum in readsUncompressedBlocksUsingSingleByteRead()
[all …]
/external/autotest/client/common_lib/
Dpackages.py22 # the name of the checksum file that stores the packages' checksums
23 CHECKSUM_FILE = "packages.checksum"
247 to dump stuff (like checksum files of the repositories
259 # In memory dictionary that stores the checksum's of packages
417 # then check to see if the .checksum file is the latest
423 # update the checksum in that directory
450 use_checksum : This is set to False to fetch the packages.checksum file
451 so that the checksum comparison is bypassed for the
452 checksum file itself. This is used internally by the
479 # Fetch the package if it is not there, the checksum does
[all …]
/external/u-boot/lib/rsa/
Drsa-verify.c34 * @algo: Checksum algo structure having information on DER encoding etc.
64 struct checksum_algo *checksum = info->checksum; in padding_pkcs_15_verify() local
65 int ret, pad_len = msg_len - checksum->checksum_len; in padding_pkcs_15_verify()
68 ret = rsa_verify_padding(msg, pad_len, checksum); in padding_pkcs_15_verify()
98 * @checksum: A Hash function
105 static int mask_generation_function1(struct checksum_algo *checksum, in mask_generation_function1() argument
113 int hash_len = checksum->checksum_len; in mask_generation_function1()
132 ret = checksum->calculate(checksum->name, in mask_generation_function1()
136 debug("%s: Error in checksum calculation\n", __func__); in mask_generation_function1()
156 static int compute_hash_prime(struct checksum_algo *checksum, in compute_hash_prime() argument
[all …]
/external/toolchain-utils/crosperf/
Dimage_checksummer.py6 """Compute image checksum."""
18 """Compute image checksum."""
21 """Compute checksum for an image."""
29 def Checksum(self): member in ImageChecksummer.PerImageChecksummer
33 "Acquiring checksum for '%s'." % self.label.name)
36 raise RuntimeError('Called Checksum on non-local image!')
41 logger.GetLogger().LogOutput('Computed checksum is '
44 raise RuntimeError('Checksum computing error.')
45 logger.GetLogger().LogOutput('Checksum is: %s' % self._checksum)
59 def Checksum(self, label, log_level): member in ImageChecksummer
[all …]
/external/llvm/test/Object/Inputs/COFF/
Dsection-aux-symbol.yaml21 CheckSum: 0
33 CheckSum: 0
45 CheckSum: 0
57 CheckSum: 0
69 CheckSum: 0
81 CheckSum: 0
93 CheckSum: 0
105 CheckSum: 0
117 CheckSum: 0
129 CheckSum: 0
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/Inputs/COFF/
Dsection-aux-symbol.yaml21 CheckSum: 0
33 CheckSum: 0
45 CheckSum: 0
57 CheckSum: 0
69 CheckSum: 0
81 CheckSum: 0
93 CheckSum: 0
105 CheckSum: 0
117 CheckSum: 0
129 CheckSum: 0
[all …]
/external/android-clat/
Dtranslate.c20 #include "netutils/checksum.h"
31 * calculates the checksum over all the packet components starting from pos
32 * checksum - checksum of packet components before pos
33 * packet - packet to calculate the checksum of
35 * returns - the completed 16-bit checksum, ready to write into a checksum header field
37 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos) { in packet_checksum() argument
41 checksum = ip_checksum_add(checksum, packet[i].iov_base, packet[i].iov_len); in packet_checksum()
44 return ip_checksum_finish(checksum); in packet_checksum()
223 * checksum - pseudo-header checksum
229 uint32_t checksum, const uint8_t *payload, size_t payload_size) { in icmp_to_icmp6() argument
[all …]
/external/u-boot/board/xilinx/zynq/
Dbootimg.c91 u32 checksum; in zynq_validate_hdr() local
104 checksum = 0; in zynq_validate_hdr()
106 checksum += hap->fields[index]; in zynq_validate_hdr()
108 checksum ^= 0xFFFFFFFF; in zynq_validate_hdr()
110 if (hap->fields[ZYNQ_PART_HDR_CHKSUM_WORD_COUNT] != checksum) { in zynq_validate_hdr()
111 printf("Error: Checksum 0x%8.8x != 0x%8.8x\n", in zynq_validate_hdr()
112 checksum, hap->fields[ZYNQ_PART_HDR_CHKSUM_WORD_COUNT]); in zynq_validate_hdr()
125 * Validate the partition by calculationg the md5 checksum for the
126 * partition and compare with checksum present in checksum offset of
131 u8 checksum[MD5_CHECKSUM_SIZE]; in zynq_validate_partition() local
[all …]
/external/u-boot/include/u-boot/
Dcrc.h22 * @vptr: Buffer to checksum
24 * @return CRC8 checksum
49 * @buf: Bytes to checksum
50 * @len: Number of bytes to checksum
51 * @return checksum value
63 * @buf: Bytes to checksum
64 * @len: Number of bytes to checksum
66 * @return checksum
79 * @buf: Bytes to checksum
80 * @len: Number of bytes to checksum
[all …]
/external/u-boot/tools/
Dmkexynosspl.c21 * calculates the checksum of CHECKSUM_OFFSET bytes and compares with data at
27 * size, header size included) and its checksum. Then it reads the rest of the
29 * checksum and compares it with value read from the header.
63 * Then it calculates checksum of the buffer by just summing up all bytes.
67 * checksum is appended to the file in little endian format, which results
68 * in checksum added exactly at CHECKSUM_OFFSET.
70 * - for variable size SPL the checksum and file size are stored in the
79 uint32_t checksum = 0; in main() local
158 for (i = 0, checksum = 0; i < count; i++) in main()
159 checksum += buffer[i]; in main()
[all …]
Dzynqimage.c33 * 0x 48 - Checksum
82 uint32_t checksum; /* 0x48 */ member
92 uint32_t checksum = 0; in zynqimage_checksum() local
97 checksum += le32_to_cpu(ptr->width_detection); in zynqimage_checksum()
98 checksum += le32_to_cpu(ptr->image_identifier); in zynqimage_checksum()
99 checksum += le32_to_cpu(ptr->encryption); in zynqimage_checksum()
100 checksum += le32_to_cpu(ptr->user_field); in zynqimage_checksum()
101 checksum += le32_to_cpu(ptr->image_offset); in zynqimage_checksum()
102 checksum += le32_to_cpu(ptr->image_size); in zynqimage_checksum()
103 checksum += le32_to_cpu(ptr->__reserved1); in zynqimage_checksum()
[all …]
/external/crosvm/x86_64/src/
Dmptable.rs91 let mut checksum: u8 = 0; in compute_checksum() localVariable
93 checksum = checksum.wrapping_add(*i); in compute_checksum()
95 checksum in compute_checksum()
99 let checksum = compute_checksum(v).wrapping_sub(v.checksum); in mpf_intel_compute_checksum() localVariable
100 (!checksum).wrapping_add(1) in mpf_intel_compute_checksum()
149 mpf_intel.checksum = mpf_intel_compute_checksum(&mpf_intel); in setup_mptable()
160 let mut checksum: u8 = 0; in setup_mptable() localVariable
180 checksum = checksum.wrapping_add(compute_checksum(&mpc_cpu)); in setup_mptable()
193 checksum = checksum.wrapping_add(compute_checksum(&mpc_ioapic)); in setup_mptable()
204 checksum = checksum.wrapping_add(compute_checksum(&mpc_bus)); in setup_mptable()
[all …]
/external/fonttools/Snippets/
Dchecksum.py18 … sys.stderr.write("[checksum.py] ERROR: " + path + " is not a valid file path" + os.linesep)
23 # was used to generate the .ttx XML dump. This creates unique checksum path values for
28 …# coolfont-regular.woff2 ==> coolfont-regular.ttx (KAPOW! checksum data lost as this would overw…
38 … sys.stderr.write("[checksum.py] -i and --include are not supported for font binary filepaths. \
42 … sys.stderr.write("[checksum.py] -e and --exclude are not supported for font binary filepaths. \
56 # generate the checksum list string for writes
65 checksum_report_filepath = "checksum.txt"
74 … sys.stderr.write("[checksum.py] ERROR: " + path + " is not a valid filepath" + os.linesep)
87 … sys.stderr.write("[checksum.py] ERROR: failed to parse checksum file values" + os.linesep)
117 …parser = argparse.ArgumentParser(prog="checksum.py", description="A SHA1 hash checksum list genera…
[all …]
/external/stressapptest/src/
Dadler32memcpy.h21 // Encapsulation for Adler checksum. Please see adler32memcpy.cc for more
22 // detail on the adler checksum algorithm.
29 // Returns string representation of the Adler checksum
31 // Sets components of the Adler checksum.
35 // Components of Adler checksum.
41 // Calculates Adler checksum for supplied data.
43 AdlerChecksum *checksum);
47 unsigned int size_in_bytes, AdlerChecksum *checksum);
52 unsigned int size_in_bytes, AdlerChecksum *checksum);
56 unsigned int size_in_bytes, AdlerChecksum *checksum);
/external/libchrome/base/metrics/
Dbucket_ranges_unittest.cc22 EXPECT_EQ(0u, ranges.checksum()); in TEST()
50 // Checksum does not match. in TEST()
60 TEST(BucketRangesTest, Checksum) { in TEST() argument
67 EXPECT_EQ(289217253u, ranges.checksum()); in TEST()
73 EXPECT_EQ(2843835776u, ranges.checksum()); in TEST()
81 uint32_t checksum = i; in TEST() local
84 if (checksum & 1) in TEST()
85 checksum = kReversedPolynomial ^ (checksum >> 1); in TEST()
87 checksum >>= 1; in TEST()
89 EXPECT_EQ(kCrcTable[i], checksum); in TEST()
/external/autotest/client/cros/video/
Dframe_checksum_utils.py11 @param checksums: list of checksums, each checksum in a 4-tuple of ints
18 for checksum in checksums:
19 if checksum in counts:
20 counts[checksum] += 1
22 counts[checksum] = 1
37 for i, checksum in enumerate(checksums):
38 if checksum not in d:
39 d[checksum] = i
/external/swiftshader/third_party/llvm-7.0/llvm/utils/docker/scripts/llvm_checksum/
Dllvm_checksum.py77 A dict mapping from project name to project checksum.
114 logging.debug("Checksum %s for file %s", file_digest, file_path)
117 logging.info("Computing checksum for %s", proj.name)
120 # Compute final checksum.
135 checksums: a dict mapping from project name to project checksum (result of
148 A dict, mapping from project name to project checksum.
155 checksum, proj = line.split()
156 checksums[proj] = checksum
167 name to a project checksum.
169 name to a project checksum.
[all …]

12345678910>>...63