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

1234567891011

/external/autotest/client/cros/video/
H A 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/deqp/scripts/khr_util/
H A Dregistry_cache.py32 def __init__(self, repository, filename, revision, checksum):
36 self.checksum = checksum
39 return hash((self.repository, self.filename, self.revision, self.checksum))
42 return (self.repository, self.filename, self.revision, self.checksum) == (other.repository, other.filename, other.revision, other.checksum)
51 return self.checksum
67 def fetchFile (dstPath, url, checksum):
80 if checksum != gotChecksum:
81 raise Exception("Checksum mismatch, expected %s, got %s" % (checksum, gotChecksu
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DChecksumHashFunction.java59 * Hasher that updates a checksum.
63 private final Checksum checksum; field in class:ChecksumHashFunction.ChecksumHasher
65 private ChecksumHasher(Checksum checksum) { argument
66 this.checksum = checkNotNull(checksum);
71 checksum.update(b);
76 checksum.update(bytes, off, len);
81 long value = checksum.getValue();
/external/libchrome/base/metrics/
H A Dbucket_ranges_unittest.cc22 EXPECT_EQ(0u, ranges.checksum());
67 EXPECT_EQ(289217253u, ranges.checksum());
73 EXPECT_EQ(2843835776u, ranges.checksum());
81 uint32_t checksum = i; local
84 if (checksum & 1)
85 checksum = kReversedPolynomial ^ (checksum >> 1);
87 checksum >>= 1;
89 EXPECT_EQ(kCrcTable[i], checksum);
H A Dbucket_ranges.h43 uint32_t checksum() const { return checksum_; } function in class:base::BucketRanges
44 void set_checksum(uint32_t checksum) { checksum_ = checksum; } argument
/external/syslinux/gpxe/src/util/
H A Ddisrom.pl40 printf " %-16s 0x%02x (%s0x%02x)\n", "Checksum:", $rom->{checksum},
41 ( ( $rom->checksum == 0 ) ? "" : "INCORRECT: " ), $rom->checksum;
71 printf " %-16s 0x%02x (%s0x%02x)\n", "Checksum:", $pnp->{checksum},
72 ( ( $pnp->checksum == 0 ) ? "" : "INCORRECT: " ), $pnp->checksum;
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/
H A DCRC64Test.java27 final long sum = CRC64.checksum(new byte[0]);
38 final long sum = CRC64.checksum("IHATEMATH".getBytes("ASCII"));
49 final long sum = CRC64.checksum(new byte[] { (byte) 0xff, (byte) 0xff,
62 final long sum = CRC64.checksum("JACOCO_JACOCO_JACOCO_JACOCO"
/external/stressapptest/src/
H A 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);
[all...]
H A Dadler32memcpy.cc17 // We are using (a modified form of) adler-32 checksum algorithm instead
22 // checksums are done (we could have one checksum but two checksums
32 // checksum = a<<16 + b
70 // Returns string representation of the Adler checksum.
77 // Sets components of the Adler checksum.
85 // Calculates Adler checksum for supplied data.
87 AdlerChecksum *checksum) {
119 checksum->Set(a1, a2, b1, b2);
125 unsigned int size_in_bytes, AdlerChecksum *checksum) {
159 checksum
86 CalculateAdlerChecksum(uint64 *data64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
124 AdlerMemcpyC(uint64 *dstmem64, uint64 *srcmem64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
165 AdlerMemcpyWarmC(uint64 *dstmem64, uint64 *srcmem64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
226 AdlerMemcpyAsm(uint64 *dstmem64, uint64 *srcmem64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
[all...]
/external/syslinux/memdisk/
H A Dacpi.h43 uint8_t checksum; member in struct:acpi_description_header
/external/guava/guava-tests/benchmark/com/google/common/hash/
H A DChecksumBenchmark.java60 CRC32 checksum = new CRC32();
61 checksum.update(testBytes);
62 result ^= checksum.getValue();
76 Adler32 checksum = new Adler32();
77 checksum.update(testBytes);
78 result ^= checksum.getValue();
/external/zopfli/src/zopfli/
H A Dzlib_container.c28 /* Calculates the adler32 checksum of the data */
54 unsigned checksum = adler32(in, (unsigned)insize); local
68 ZOPFLI_APPEND_DATA((checksum >> 24) % 256, out, outsize);
69 ZOPFLI_APPEND_DATA((checksum >> 16) % 256, out, outsize);
70 ZOPFLI_APPEND_DATA((checksum >> 8) % 256, out, outsize);
71 ZOPFLI_APPEND_DATA(checksum % 256, out, outsize);
/external/android-clat/
H A Dchecksum.c16 * checksum.c - ipv4/ipv6 checksum calculation
26 #include "checksum.h"
29 * adds data to a checksum
30 * current - the current checksum (or 0 to start a new checksum)
31 * data - the data to add to the checksum
35 uint32_t checksum = current; local
40 checksum += *data_16;
45 checksum
131 ip_checksum_adjust(uint16_t checksum, uint32_t old_hdr_sum, uint32_t new_hdr_sum) argument
[all...]
/external/ltp/runtest/
H A Dnet_stress.broken_ip11 broken_ip4-checksum broken_ip4-checksum
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-journal-checksum/
H A Dext4_journal_checksum.sh27 export TCID="ext4-journal-checksum"
40 local checksum=
44 checksum="No use"
46 checksum="Used"
55 "journal_checksum: $checksum, " \
91 tst_resm TPASS "ext4 journal checksum test pass"
/external/syslinux/com32/gplinclude/acpi/
H A Drsdp.h28 uint8_t checksum; member in struct:__anon20798
H A Dstructs.h39 uint8_t checksum; member in struct:__anon20807
/external/syslinux/gpxe/src/core/
H A Dacpi.c30 * Fix up ACPI table checksum
41 acpi->checksum -= sum;
/external/syslinux/gpxe/src/include/gpxe/
H A Dacpi.h28 uint8_t checksum; member in struct:acpi_description_header
/external/deqp/external/
H A Dfetch_sources.py52 def __init__(self, url, filename, checksum, baseDir, extractDir = "src", postExtract=None):
56 self.checksum = checksum
68 if self.getExtractedChecksum() != self.checksum:
71 self.storeExtractedChecksum(self.checksum)
81 return computeChecksum(readFile(archiveFile)) == self.checksum
96 def storeExtractedChecksum (self, checksum):
97 writeFile(self.getExtractedChecksumFilePath(), checksum)
104 checksum = computeChecksum(data)
107 if checksum !
[all...]
/external/autotest/server/site_tests/display_Tearing/
H A Ddisplay_Tearing.py64 """Gets the frame checksum of the full screen of the given color.
68 @return The frame checksum mentioned above, which is a tuple.
77 # Gets the checksum of the last one image.
82 """Makes checksum table, which maps checksums into colors.
87 x is the checksum of the full screen of pure color y.
98 checksum = self._get_single_color_checksum(chameleon_port, color)
99 if checksum in checksum_table:
101 checksum_table[checksum] = color
102 logging.info('Color %d has checksums %r', (color, checksum))
144 for checksum i
[all...]
/external/curl/docs/cmdline-opts/
H A Dhostpubmd5.d8 be the 128 bit MD5 checksum of the remote host's public key, curl will refuse
/external/sfntly/cpp/src/sfntly/table/
H A Dheader.cc44 Header::Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length) argument
50 checksum_(checksum),
/external/syslinux/gpxe/src/util/Option/
H A DROM.pm149 sub checksum { subroutine
231 checksum => { offset => 0x06, length => 0x01, pack => "C" },
342 =item C<< checksum () >>
344 Calculate the byte checksum of the ROM.
348 sub checksum { subroutine
359 Fix the byte checksum of the ROM.
367 $hash->{checksum} = ( ( $hash->{checksum} - $hash->checksum() ) & 0xff );
448 checksum
465 sub checksum { subroutine
[all...]
/external/rmi4utils/rmi4update/
H A Dfirmware_image.cpp30 unsigned long checksum = 0xFFFFFFFF; local
31 unsigned long lsw = checksum & 0xFFFF;
32 unsigned long msw = checksum >> 16;
41 checksum = msw << 16 | lsw;
43 return checksum;
82 fprintf(stderr, "Firmware image checksum verification failed, saw 0x%08lX, calculated 0x%08lX\n",

Completed in 1094 milliseconds

1234567891011