/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
|
/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...] |
bucket_ranges.h | 43 uint32_t checksum() const { return checksum_; } function in class:base::BucketRanges 44 void set_checksum(uint32_t checksum) { checksum_ = checksum; } 52 // Checksum methods to verify whether the ranges are corrupted (e.g. bad 67 // Checksum for the conntents of ranges_. Used to detect random over-writes
|
/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/syslinux/memdisk/ |
acpi.h | 43 uint8_t checksum; member in struct:acpi_description_header
|
/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/syslinux/gpxe/src/util/ |
disrom.pl | 40 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/android-clat/ |
checksum.c | 16 * 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 += *(uint8_t *)data_16 [all...] |
/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/syslinux/com32/gplinclude/acpi/ |
rsdp.h | 28 uint8_t checksum; member in struct:__anon36926
|
/external/syslinux/gpxe/src/core/ |
acpi.c | 30 * Fix up ACPI table checksum 41 acpi->checksum -= sum;
|
/external/syslinux/gpxe/src/include/gpxe/ |
acpi.h | 28 uint8_t checksum; member in struct:acpi_description_header
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/ |
css_bom_bootloader.c | 31 uint32_t checksum; member in struct:__anon4086 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;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
storage_manager.c | 39 uint32_t checksum; member in struct:data_header_t 130 uint32_t checksum; local 145 checksum = inv_checksum(data, len); 146 if (checksum != hd->checksum) 157 checksum = inv_checksum(data, hd->size); 158 if (checksum != hd->checksum) 190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); 200 hd->checksum = inv_checksum(data + sizeof(struct data_header_t) [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
storage_manager.c | 39 uint32_t checksum; member in struct:data_header_t 130 uint32_t checksum; local 145 checksum = inv_checksum(data, len); 146 if (checksum != hd->checksum) 157 checksum = inv_checksum(data, hd->size); 158 if (checksum != hd->checksum) 190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); 200 hd->checksum = inv_checksum(data + sizeof(struct data_header_t) [all...] |
/art/libdexfile/dex/ |
compact_dex_file.cc | 74 uint32_t checksum = ChecksumMemoryRange(reinterpret_cast<const uint8_t*>(&temp_header), local 76 // Exclude the header since we already computed it's checksum. 77 checksum = (checksum * 31) ^ ChecksumMemoryRange(base_begin + sizeof(temp_header), 79 checksum = (checksum * 31) ^ ChecksumMemoryRange(data_begin, data_size); 80 return checksum;
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
IcmpMessage.java | 34 int checksum = stream.readUnsignedShort(); local 48 throw new IOException("Corrupted message. Checksum: " + checksum); 59 stream.writeShort(/* checksum */ 0); 64 int checksum = Rfc1071.checksum(result, result.length); local 65 result[checksumPosition + 0] = (byte) ((checksum & 0xFF00) >> 8); 66 result[checksumPosition + 1] = (byte) ((checksum & 0x00FF));
|
/frameworks/base/core/java/android/app/backup/ |
BlobBackupHelper.java | 87 * [Long] blob checksum, calculated after compression 105 long checksum = in.readLong(); local 107 Log.i(TAG, " key '" + key + "' checksum is " + checksum); 109 state.put(key, checksum); 147 final long checksum = state.valueAt(i).longValue(); local 149 Log.i(TAG, " writing key " + key + " checksum = " + checksum); 152 out.writeLong(checksum); 218 private long checksum(byte[] buffer) method in class:BlobBackupHelper 251 final long checksum = checksum(payload); local [all...] |
/external/curl/docs/cmdline-opts/ |
hostpubmd5.d | 8 be the 128 bit MD5 checksum of the remote host's public key, curl will refuse
|
/external/pdfium/fxbarcode/ |
cbc_onecode.cpp | 41 void CBC_OneCode::SetPrintChecksum(bool checksum) { 42 GetOneDimWriter()->SetPrintChecksum(checksum);
|