/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/ |
CertificationChecksumHelperTest.java | 62 * Validation that the checksum generated can be properly checked when re-reading the file. 75 File checksum = new File(mWorkingDir, CertificationChecksumHelper.NAME); local 76 assertTrue(checksum.exists());
|
/bionic/libc/kernel/uapi/linux/raid/ |
md_p.h | 199 __le32 checksum[]; member in struct:r5l_payload_data_parity 216 __le32 checksum; member in struct:r5l_meta_block 232 __le32 checksum; member in struct:ppl_header_entry 244 __le32 checksum; member in struct:ppl_header
|
/device/google/contexthub/util/stm32_flash/ |
i2c.c | 30 buffer[length] = checksum(handle, buffer, length);
|
stm32_bl.h | 25 * (function must checksum data. space reserved for checksum in buffer) 44 uint8_t checksum(handle_t *handle, uint8_t *bytes, int length);
|
/external/curl/src/ |
tool_metalink.h | 80 metalink_checksum *checksum; member in struct:metalinkfile 135 * Check checksum of file denoted by filename. 137 * This function returns 1 if the checksum matches or one of the 141 * Checksum didn't match. 145 * No checksum in Metalink supported, hash algorithm not available, or 146 * Metalink does not contain checksum.
|
/external/kernel-headers/original/uapi/linux/raid/ |
md_p.h | 166 __u32 sb_csum; /* 6 checksum of the whole superblock */ 296 __le32 sb_csum; /* checksum up to devs[max_dev] */ 360 * has a checksum */ 363 __le32 checksum[]; member in struct:r5l_payload_data_parity 391 __le32 checksum; member in struct:r5l_meta_block 410 __le32 checksum; /* checksum of partial parity data for this member in struct:ppl_header_entry 427 __le32 checksum; /* checksum of the header (~crc32c) */ member in struct:ppl_header
|
/external/libchrome/base/metrics/ |
bucket_ranges.cc | 119 // Seed checksum. 120 uint32_t checksum = static_cast<uint32_t>(ranges_.size()); local 123 checksum = Crc32(checksum, ranges_[index]); 124 return checksum;
|
/external/pdfium/fxbarcode/oned/ |
BC_OnedUPCAWriter.cpp | 81 int32_t checksum = (odd * 3 + even) % 10; local 82 checksum = (10 - checksum) % 10; 83 return checksum;
|
/external/skia/src/sfnt/ |
SkSFNTHeader.h | 58 SK_SFNT_ULONG checksum; member in struct:SkSFNTHeader::TableDirectoryEntry
|
/external/skqp/src/sfnt/ |
SkSFNTHeader.h | 58 SK_SFNT_ULONG checksum; member in struct:SkSFNTHeader::TableDirectoryEntry
|
/external/syslinux/gpxe/src/arch/i386/firmware/pcbios/ |
pnpbios.c | 46 /** Checksum */ 47 uint8_t checksum; member in struct:pnp_bios 74 /* Read whole header and verify checksum */
|
/external/syslinux/memdisk/ |
eltorito.c | 47 printf(" .checksum: 0x%04x\n", boot_cat->validation_entry.checksum);
|
eltorito.h | 40 uint16_t checksum; /* Sums with whole record to zero */ member in struct:validation_entry
|
/external/toolchain-utils/crosperf/ |
machine_manager.py | 27 """Raised if all machines for a label don't have the same checksum.""" 32 """Raised if all machines for a label don't have the same checksum string.""" 53 self.checksum = None 175 l.append(str(self.checksum)) 246 checksum = label.checksum 248 if checksum and (machine.checksum == checksum): 293 machine.checksum = checksu [all...] |
machine_manager_unittest.py | 36 cros_machine.checksum = '' 45 'Could not find checksum for machine %s' % machine_name) 141 @mock.patch.object(image_checksummer.ImageChecksummer, 'Checksum') 162 machine.checksum = 'fake_md5_checksum' 163 self.mm.checksum = None 172 machine.checksum = 'fake_md5_checksum' 258 self.assertEqual(self.mock_lumpy1.checksum, 'false_lock_checksum') 307 @mock.patch.object(image_checksummer.ImageChecksummer, 'Checksum') 330 self.mock_lumpy3.checksum = 'fake_md5_checksum' 333 self.mock_daisy2.checksum = 'fake_md5_checksum [all...] |
/prebuilts/go/darwin-x86/src/hash/crc32/ |
crc32.go | 6 // checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for 21 // The size of a CRC-32 checksum in bytes. 136 // digest represents the partial evaluation of a checksum. 142 // New creates a new hash.Hash32 computing the CRC-32 checksum using the 154 // NewIEEE creates a new hash.Hash32 computing the CRC-32 checksum using 245 // Checksum returns the CRC-32 checksum of data 247 func Checksum(data []byte, tab *Table) uint32 { return Update(0, tab, data) } 249 // ChecksumIEEE returns the CRC-32 checksum of data 256 // tableSum returns the IEEE checksum of table t [all...] |
crc32_s390x.go | 42 // archUpdateCastagnoli calculates the checksum of p using 74 // archUpdateIEEE calculates the checksum of p using vectorizedIEEE.
|
/prebuilts/go/linux-x86/src/hash/crc32/ |
crc32.go | 6 // checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for 21 // The size of a CRC-32 checksum in bytes. 136 // digest represents the partial evaluation of a checksum. 142 // New creates a new hash.Hash32 computing the CRC-32 checksum using the 154 // NewIEEE creates a new hash.Hash32 computing the CRC-32 checksum using 245 // Checksum returns the CRC-32 checksum of data 247 func Checksum(data []byte, tab *Table) uint32 { return Update(0, tab, data) } 249 // ChecksumIEEE returns the CRC-32 checksum of data 256 // tableSum returns the IEEE checksum of table t [all...] |
crc32_s390x.go | 42 // archUpdateCastagnoli calculates the checksum of p using 74 // archUpdateIEEE calculates the checksum of p using vectorizedIEEE.
|
/test/vts/utils/python/coverage/ |
parser.py | 40 checksum: The checksum (int) of the file 59 self.checksum = self.ReadInt()
|
/tools/dexter/slicer/ |
dex_format.cc | 25 // Compute the DEX file checksum for a memory-mapped DEX file 30 const int non_sum = sizeof(header->magic) + sizeof(header->checksum);
|
/external/ltp/testcases/network/sockets/ |
ltpClient.c | 71 unsigned short checksum(void *netPacket, int len); 409 * Function: checksum - standard 1s complement checksum 412 unsigned short checksum(void *netPacket, int len) function 471 printf("ICMP: type[%d/%d] checksum[%d] id[%d] seq[%d]\n\n", 472 icmpPtr->type, icmpPtr->code, ntohs(icmpPtr->checksum), 536 rawPacket.hdr.checksum = 537 checksum(&rawPacket, sizeof(rawPacket)); 609 rawTracePacket.hdr.checksum = 610 checksum(&rawTracePacket, sizeof(rawTracePacket)) [all...] |
/art/runtime/jit/ |
profile_compilation_info.cc | 81 static bool ChecksumMatch(uint32_t dex_file_checksum, uint32_t checksum) { 82 return kDebugIgnoreChecksum || dex_file_checksum == checksum; 157 uint32_t checksum, 161 checksum, 322 3 * sizeof(uint32_t); // method_map.size + checksum + num_method_ids 408 AddUintToBuffer(&buffer, dex_data.checksum); // uint32_t 563 uint32_t checksum, 582 checksum, 589 // Check that the checksum matches. 591 if (result->checksum != checksum) [all...] |
/device/google/contexthub/firmware/os/core/ |
bl.c | 491 uint32_t sync, cmd, addr = 0, len, checksum = 0, i; local 523 checksum ^= byte; 527 //reject addresses outside of our fake area or on invalid checksum 528 if (blLoaderRxByte() != checksum || addr < BL_SHARED_AREA_FAKE_ADDR || addr - BL_SHARED_AREA_FAKE_ADDR > __shared_end - __shared_start) 537 //reject invalid checksum 565 checksum ^= byte; 569 //reject addresses outside of our fake area or on invalid checksum 570 if (blLoaderRxByte() != checksum || 583 checksum = len = blLoaderRxByte(); 589 checksum ^= byte [all...] |
/prebuilts/go/darwin-x86/src/hash/adler32/ |
adler32_test.go | 64 // checksum is a slow but simple implementation of the Adler-32 checksum. 66 func checksum(p []byte) uint32 { func 82 if got := checksum(p); got != g.out { 83 t.Errorf("simple implementation: checksum(%q) = 0x%x want 0x%x", in, got, g.out) 86 if got := Checksum(p); got != g.out { 87 t.Errorf("optimized implementation: Checksum(%q) = 0x%x want 0x%x", in, got, g.out) 107 t.Errorf("checksum(%q) state = %q, want %q", g.in, state, g.halfState) 120 t.Errorf("checksum(%q) = 0x%x != marshaled (0x%x)", g.in, h.Sum32(), h2.Sum32())
|