/external/libxcam/modules/isp/ |
libtbd.c | 54 * Calculates checksum for a data block. 55 * param[in] a_data_ptr Data from where to calculate the checksum 57 * return The checksum 64 /* Simple checksum algorithm: summing up the data content 90 * paying attention to checksum or data tagging. This function assumes 165 * attention to checksum or data tagging. Also, this function does 200 * that was given. Also updates the checksum and size accordingly. 232 header_ptr->checksum = get_checksum(header_ptr, sizeof(tbd_header_t)); 241 * including the verification of the checksum. The function does not 260 /* Check that the checksum is correct * [all...] |
/external/u-boot/examples/api/ |
glue.c | 14 uint32_t checksum; local 20 * Clear the checksum field (in the local copy) so as to calculate the 25 s.checksum = 0; 27 checksum = crc32(0, (unsigned char *)&s, sizeof(struct api_signature)); 29 if (checksum != sig->checksum)
|
/external/u-boot/lib/rsa/ |
rsa-verify.c | 34 * @algo: Checksum algo structure having information on DER encoding etc. 71 * @algo: Checksum algo structure having information on DER encoding etc. 92 debug("Checksum algorithm: %s", algo->name); 186 info->crypto->key_len, info->checksum); 196 /* Reserve memory for maximum checksum-length */ 204 * Verify that the checksum-length does not exceed the 207 if (info->checksum->checksum_len > 209 debug("%s: invlaid checksum-algorithm %s for %s\n", 210 __func__, info->checksum->name, info->crypto->name); 220 /* Calculate checksum with checksum-algorithm * [all...] |
/art/libprofile/profile/ |
profile_compilation_info.h | 86 // A dex location together with its checksum. 90 DexReference(const std::string& location, uint32_t checksum, uint32_t num_methods) 91 : dex_location(location), dex_checksum(checksum), num_method_ids(num_methods) {} 111 // profile rather than as a full DexRefence(location,checksum). 280 uint32_t checksum, 321 static bool ProfileFilterFnAcceptAll(const std::string& dex_location, uint32_t checksum); 373 // If the method index is not found or the checksum doesn't match, null is returned. 389 // file is register and has a matching checksum, false otherwise. 438 // The matching [profile key <-> dex_file] is done based on the dex checksum and the number of 503 checksum(location_checksum) 566 uint32_t checksum; member in struct:art::ProfileCompilationInfo::DexFileData 666 uint32_t checksum; member in struct:art::ProfileCompilationInfo::ProfileLineHeader [all...] |
profile_compilation_info.cc | 88 static bool ChecksumMatch(uint32_t dex_file_checksum, uint32_t checksum) { 89 return kDebugIgnoreChecksum || dex_file_checksum == checksum; 177 uint32_t checksum, 181 checksum, 354 3 * sizeof(uint32_t); // method_map.size + checksum + num_method_ids 452 AddUintToBuffer(&buffer, dex_data.checksum); // uint32_t 625 uint32_t checksum, 644 checksum, 652 // Check that the checksum matches. 654 if (result->checksum != checksum) [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
HeaderItem.java | 25 public int checksum; field in class:HeaderItem 55 checksum = file.readUInt(); 96 file.writeUInt(checksum);
|
/external/autotest/client/site_tests/audio_PlaybackPower/ |
audio_PlaybackPower.py | 81 def run_once(self, test_file, checksum): 84 logging.info('Downloaded file: %s. Expected checksum: %s', 85 local_path, checksum) 88 if md5sum != checksum:
|
/external/android-clat/ |
ipv4.c | 20 #include "netutils/checksum.h" 31 * checksum - pseudo-header checksum 36 uint32_t checksum, size_t len) { 48 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size); 104 * UDP include parts of the IP header in the checksum. Set the length to zero because we don't 110 /* Calculate the pseudo-header checksum. 111 * Technically, the length that is used in the pseudo-header checksum is the transport layer 113 * translation does not change the transport layer length, the checksum is unaffected.
|
translate.h | 36 // Calculates the checksum over all the packet components starting from pos. 37 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos); 71 uint32_t checksum, const uint8_t *payload, size_t payload_size);
|
/external/skia/tools/skqp/ |
download_model | 15 def checksum(path): function 27 if not md5 == checksum(path): 48 checksum_path = 'files.checksum'
|
/external/skqp/tools/skqp/ |
download_model | 15 def checksum(path): function 27 if not md5 == checksum(path): 48 checksum_path = 'files.checksum'
|
/external/u-boot/arch/x86/cpu/ivybridge/ |
sdram.c | 57 u16 c1, c2, checksum, seed_checksum; local 88 /* Compute seed checksum and compare */ 93 checksum = add_ip_checksums(sizeof(u32), c1, c2); 98 if (checksum != seed_checksum) { 99 debug("%s: invalid seed checksum\n", __func__); 126 debug("%s: at %p, size %x checksum %04x\n", __func__, 128 mrc_cache->checksum); 135 u16 c1, c2, checksum; local 154 /* Save a simple checksum of the seed values */ 159 checksum = add_ip_checksums(sizeof(u32), c1, c2) [all...] |
/external/u-boot/drivers/net/ |
e1000_spi.c | 472 uint16_t i, length, checksum = 0, checksum_reg; local 506 /* Compute the checksum and read the expected value */ 508 checksum += le16_to_cpu(buffer[i]); 509 checksum = ((uint16_t)EEPROM_SUM) - checksum; 513 if (checksum_reg == checksum) { 514 printf("%s: INFO: EEPROM checksum is correct! (0x%04hx)\n", 515 hw->name, checksum); 521 E1000_ERR(hw, "EEPROM checksum is incorrect!\n"); 523 checksum_reg, checksum); [all...] |
/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/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/ |
FramedSnappyCompressorInputStream.java | 83 private final PureJavaCrc32C checksum = new PureJavaCrc32C(); field in class:FramedSnappyCompressorInputStream 221 checksum.update(b, off, read); 319 if (expectedChecksum >= 0 && expectedChecksum != checksum.getValue()) { 320 throw new IOException("Checksum verification failed"); 323 checksum.reset();
|
/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 | 96 // Seed checksum. 97 uint32_t checksum = static_cast<uint32_t>(ranges_.size()); local 100 checksum = Crc32(checksum, ranges_[index]); 101 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/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...] |
/external/u-boot/arch/x86/include/asm/fsp/ |
fsp_ffs.h | 14 * The IntegrityCheck.checksum.header field is an 8-bit 15 * checksum of the file header. The State and 16 * IntegrityCheck.checksum.file fields are assumed to be zero 17 * and the checksum is calculated such that the entire header 24 * IntegrityCheck.checksum.file field is an 8-bit checksum of 27 * IntegrityCheck.checksum.file field must be initialized with 28 * a value of 0xAA. The IntegrityCheck.checksum.file field is 33 } checksum; member in union:ffs_integrity
|