HomeSort by relevance Sort by last modified time
    Searched refs:checksum (Results 1 - 25 of 393) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/client/cros/video/
frame_checksum_utils.py 11 @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/u-boot/include/
tables_csum.h 12 u8 checksum = 0; local
16 checksum -= bytes[i];
18 return checksum;
  /external/u-boot/lib/
tables_csum.c 12 u8 checksum = 0; local
16 checksum -= bytes[i];
18 return checksum;
  /device/generic/opengl-transport/host/libs/virglrenderer/
ChecksumCalculatorThreadInfo.h 33 static bool validate(ChecksumCalculator* calc, void* buf, size_t bufLen, void* checksum,
36 return calc->validate(checksum, checksumLen);
39 static void validOrDie(ChecksumCalculator* calc, void* buf, size_t bufLen, void* checksum,
41 if (!validate(calc, buf, bufLen, checksum, checksumLen)) {
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
ChecksumCalculatingInputStream.java 22 import java.util.zip.Checksum;
25 * A stream that calculates the checksum of the data read.
31 private final Checksum checksum; field in class:ChecksumCalculatingInputStream
33 public ChecksumCalculatingInputStream(final Checksum checksum, final InputStream in) {
35 if ( checksum == null ){
36 throw new NullPointerException("Parameter checksum must not be null");
43 this.checksum = checksum;
    [all...]
ChecksumVerifyingInputStream.java 22 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 class:ChecksumVerifyingInputStream
36 public ChecksumVerifyingInputStream(final Checksum checksum, final InputStream in,
38 this.checksum = checksum;
47 * stream is exhausted and the Checksum doesn't match the expected
57 checksum.update(ret)
    [all...]
  /external/u-boot/lib/rsa/
Makefile 8 obj-$(CONFIG_$(SPL_)FIT_SIGNATURE) += rsa-verify.o rsa-checksum.o
  /external/u-boot/net/
checksum.c 38 unsigned long checksum; local
49 checksum = sum + new;
50 if (checksum > 0xffff)
51 checksum -= 0xffff;
53 return (~checksum) & 0xffff;
  /dalvik/dx/tests/127-merge-stress/
run 55 checksum=`shasum "$dex" | sed -e 's/ .*//' -e 's/^/_/'`
56 if [[ "$checksums[$checksum]" == "$checksum" ]]; then
59 checksums[$checksum]=$checksum
  /external/guava/guava/src/com/google/common/hash/
ChecksumHashFunction.java 23 import java.util.zip.Checksum;
26 * {@link HashFunction} adapter for {@link Checksum} instances.
32 private final Supplier<? extends Checksum> checksumSupplier;
36 ChecksumHashFunction(Supplier<? extends Checksum> checksumSupplier, int bits, String toString) {
59 * Hasher that updates a checksum.
63 private final Checksum checksum; field in class:ChecksumHashFunction.ChecksumHasher
65 private ChecksumHasher(Checksum checksum) {
66 this.checksum = checkNotNull(checksum)
    [all...]
  /external/libchrome/base/metrics/
bucket_ranges_unittest.cc 22 EXPECT_EQ(0u, ranges.checksum());
50 // Checksum does not match.
60 TEST(BucketRangesTest, 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
    [all...]
  /external/stressapptest/src/
adler32memcpy.h 21 // 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...]
  /external/guava/guava-tests/benchmark/com/google/common/hash/
ChecksumBenchmark.java 26 import java.util.zip.Checksum;
29 * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s.
60 CRC32 checksum = new CRC32(); local
61 checksum.update(testBytes);
62 result ^= checksum.getValue();
76 Adler32 checksum = new Adler32(); local
77 checksum.update(testBytes);
78 result ^= checksum.getValue();
  /external/deqp/scripts/khr_util/
registry_cache.py 37 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
103 def fetchFile (dstPath, repository, revision, filename, checksum, cacheDir):
116 if checksum != gotChecksum:
117 raise Exception("Checksum mismatch, expected %s, got %s" % (checksum, gotChecksum)
    [all...]
  /external/zopfli/src/zopfli/
zlib_container.c 28 /* 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/u-boot/tools/
zynqimage.c 33 * 0x 48 - Checksum
82 uint32_t checksum; /* 0x48 */ member in struct:zynq_header
92 uint32_t checksum = 0; local
97 checksum += le32_to_cpu(ptr->width_detection);
98 checksum += le32_to_cpu(ptr->image_identifier);
99 checksum += le32_to_cpu(ptr->encryption);
100 checksum += le32_to_cpu(ptr->user_field);
101 checksum += le32_to_cpu(ptr->image_offset);
102 checksum += le32_to_cpu(ptr->image_size);
103 checksum += le32_to_cpu(ptr->__reserved1)
    [all...]
default_image.c 46 uint32_t checksum; local
52 * checksum field for checking - this can't be done
66 checksum = be32_to_cpu(hdr->ih_hcrc);
69 if (crc32(0, data, len) != checksum) {
70 debug("%s: ERROR: \"%s\" has bad header checksum!\n",
78 checksum = be32_to_cpu(hdr->ih_dcrc);
79 if (crc32(0, data, len) != checksum) {
90 uint32_t checksum; local
98 checksum = crc32(0,
124 image_set_dcrc(hdr, checksum);
    [all...]
mkexynosspl.c 21 * 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; local
158 for (i = 0, checksum = 0; i < count; i++)
159 checksum += buffer[i]
    [all...]
zynqmpimage.c 34 * 0x 48 - Header checksum
69 uint32_t checksum = 0; local
74 checksum += le32_to_cpu(ptr->width_detection);
75 checksum += le32_to_cpu(ptr->image_identifier);
76 checksum += le32_to_cpu(ptr->encryption);
77 checksum += le32_to_cpu(ptr->image_load);
78 checksum += le32_to_cpu(ptr->image_offset);
79 checksum += le32_to_cpu(ptr->pfw_image_length);
80 checksum += le32_to_cpu(ptr->total_pfw_image_length);
81 checksum += le32_to_cpu(ptr->image_size)
    [all...]
  /art/test/693-vdex-inmem-loader-evict/src-secondary/
gen.sh 19 # (ID=01) and a list of checksum/signature bytes for all of the dex files
23 # checksum/signature bytes with that of the dex file of a given ID. Note that
44 # Dump bytes 8-32 (checksum + signature) that need to change for other files.
45 checksum=`head -c 32 -z "$TMP/file${suffix}.dex" | tail -c 24 -z | base64`
46 echo ' Base64.getDecoder().decode("'${checksum}'"),'
  /external/ltp/runtest/
net_stress.broken_ip 11 broken_ip4-checksum broken_ip4-checksum
  /external/ltp/testcases/kernel/fs/ext4-new-features/ext4-journal-checksum/
ext4_journal_checksum.sh 27 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/u-boot/include/u-boot/
rsa-checksum.h 20 * @checksum: Buffer contanining the output hash
26 uint8_t *checksum);
  /device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/
css_bom_bootloader.c 31 uint32_t checksum; member in struct:__anon5066
105 uint32_t checksum; local
118 /* Extract the checksum from the image */
119 checksum = *(uint32_t *) image;
120 image = (char *) image + sizeof(checksum);
121 image_size -= sizeof(checksum);
136 cmd_info_payload->checksum = checksum;
  /external/u-boot/board/samsung/smdkv310/tools/
mksmdkv310spl.c 21 * It then calculates the checksum of 14K-4 bytes and compare with data at
28 * It calculates checksum of 14K-4 Bytes and stores at 14K-4 offset in buffer.
37 unsigned int checksum = 0, count; local
77 for (i = 0, checksum = 0; i < CHECKSUM_OFFSET; i++)
78 checksum += buffer[i];
80 memcpy(&buffer[CHECKSUM_OFFSET], &checksum, sizeof(checksum));

Completed in 2591 milliseconds

1 2 3 4 5 6 7 8 91011>>