/external/pdfium/core/fxge/ |
cfx_fontmgr.cpp | 59 ByteString KeyNameFromSize(int ttc_size, uint32_t checksum) { 60 return ByteString::Format("%d:%d", ttc_size, checksum); 156 uint32_t checksum, 159 auto it = m_FaceMap.find(KeyNameFromSize(ttc_size, checksum)); 175 uint32_t checksum, 182 m_FaceMap[KeyNameFromSize(ttc_size, checksum)] = std::move(pFontDesc);
|
/external/syslinux/gpxe/src/util/ |
efirom.c | 115 uint8_t checksum; member in struct:__anon38459 123 uint8_t checksum; local 165 /* Fix image checksum */ 166 for ( i = 0, checksum = 0 ; i < rom_size ; i++ ) 167 checksum += *( ( uint8_t * ) buf + i ); 168 headers->checksum -= checksum;
|
/external/toolchain-utils/crb/ |
machine_manager_singleton.py | 15 self.checksum = None 24 l.append(str(self.checksum)) 65 cros_machine.checksum = out.strip() 89 ### m.checksum == image_checksum): 92 if m.checksum == image_checksum: 97 if not m.checksum: 137 'Checksum') 149 autotest_status, m.checksum)
|
/prebuilts/go/darwin-x86/src/compress/zlib/ |
writer.go | 101 // The final five FCHECK bits form a mod-31 checksum. 122 // The next four bytes are the Adler-32 checksum of the dictionary. 123 checksum := adler32.Checksum(z.dict) 124 z.scratch[0] = uint8(checksum >> 24) 125 z.scratch[1] = uint8(checksum >> 16) 126 z.scratch[2] = uint8(checksum >> 8) 127 z.scratch[3] = uint8(checksum >> 0) 191 checksum := z.digest.Sum32() 193 z.scratch[0] = uint8(checksum >> 24 [all...] |
/prebuilts/go/linux-x86/src/compress/zlib/ |
writer.go | 101 // The final five FCHECK bits form a mod-31 checksum. 122 // The next four bytes are the Adler-32 checksum of the dictionary. 123 checksum := adler32.Checksum(z.dict) 124 z.scratch[0] = uint8(checksum >> 24) 125 z.scratch[1] = uint8(checksum >> 16) 126 z.scratch[2] = uint8(checksum >> 8) 127 z.scratch[3] = uint8(checksum >> 0) 191 checksum := z.digest.Sum32() 193 z.scratch[0] = uint8(checksum >> 24 [all...] |
/external/android-clat/ |
translate.c | 22 #include "checksum.h" 30 * calculates the checksum over all the packet components starting from pos 31 * checksum - checksum of packet components before pos 32 * packet - packet to calculate the checksum of 34 * returns - the completed 16-bit checksum, ready to write into a checksum header field 36 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos) { 40 checksum = ip_checksum_add(checksum, packet[i].iov_base, packet[i].iov_len) [all...] |
ipv4.c | 21 #include "checksum.h" 30 * checksum - pseudo-header checksum 35 uint32_t checksum, size_t len) { 47 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size); 103 * UDP include parts of the IP header in the checksum. Set the length to zero because we don't 109 /* Calculate the pseudo-header checksum. 110 * Technically, the length that is used in the pseudo-header checksum is the transport layer 112 * translation does not change the transport layer length, the checksum is unaffected.
|
translate.h | 35 // Calculates the checksum over all the packet components starting from pos. 36 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos); 70 uint32_t checksum, const uint8_t *payload, size_t payload_size);
|
/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...] |
/prebuilts/go/darwin-x86/src/crypto/sha256/ |
sha256.go | 20 // The size of a SHA256 checksum in bytes. 23 // The size of a SHA224 checksum in bytes. 49 // digest represents the partial evaluation of a checksum. 168 // New returns a new hash.Hash computing the SHA256 checksum. The Hash 178 // New224 returns a new hash.Hash computing the SHA224 checksum. 221 hash := d.checkSum() 228 func (d *digest) checkSum() [Size]byte { 266 // Sum256 returns the SHA256 checksum of the data. 271 return d.checkSum() 274 // Sum224 returns the SHA224 checksum of the data [all...] |
/prebuilts/go/linux-x86/src/crypto/sha256/ |
sha256.go | 20 // The size of a SHA256 checksum in bytes. 23 // The size of a SHA224 checksum in bytes. 49 // digest represents the partial evaluation of a checksum. 168 // New returns a new hash.Hash computing the SHA256 checksum. The Hash 178 // New224 returns a new hash.Hash computing the SHA224 checksum. 221 hash := d.checkSum() 228 func (d *digest) checkSum() [Size]byte { 266 // Sum256 returns the SHA256 checksum of the data. 271 return d.checkSum() 274 // Sum224 returns the SHA224 checksum of the data [all...] |
/external/tensorflow/tensorflow/contrib/gdr/ |
gdr_memory_manager.cc | 461 uint64_t checksum = 0; 463 checksum = GPUUtil::Checksum(*host_copy); 472 remote_mr.set_checksum(checksum); 494 uint64_t checksum = 0; local 498 checksum = GPUUtil::Checksum(device, device_context, tensor); 500 checksum = GPUUtil::Checksum(tensor); 511 remote_mr.set_checksum(checksum); 596 uint64_t checksum = 0; local 631 uint64_t checksum = 0; local [all...] |
/system/nfc/src/adaptation/ |
CrcChecksum.cc | 67 ** Description Compute a checksum on a buffer of data. 69 ** Returns 2-byte checksum. 87 ** Description Detect any corruption in a file by computing a checksum. 99 unsigned short checksum = 0; local 101 size_t actualReadCrc = read(fileStream, &checksum, sizeof(checksum)); 111 if ((actualReadCrc == sizeof(checksum)) && (data.size() > 0)) { 114 if (checksum == 118 LOG(ERROR) << StringPrintf("%s: checksum mismatch", __func__);
|
/art/runtime/jit/ |
profile_compilation_info.h | 81 // A dex location together with its checksum. 85 DexReference(const std::string& location, uint32_t checksum, uint32_t num_methods) 86 : dex_location(location), dex_checksum(checksum), num_method_ids(num_methods) {} 106 // profile rather than as a full DexRefence(location,checksum). 275 uint32_t checksum, 316 static bool ProfileFilterFnAcceptAll(const std::string& dex_location, uint32_t checksum); 368 // If the method index is not found or the checksum doesn't match, null is returned. 386 // file is register and has a matching checksum, false otherwise. 435 // The matching [profile key <-> dex_file] is done based on the dex checksum and the number of 475 checksum(location_checksum) 519 uint32_t checksum; member in struct:art::ProfileCompilationInfo::DexFileData 617 uint32_t checksum; member in struct:art::ProfileCompilationInfo::ProfileLineHeader [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:
|
/frameworks/base/core/java/android/net/util/ |
IpUtils.java | 42 * Performs an IP checksum (used in IP header and across UDP 44 * allows the checksum to commence with a specified value. 46 private static int checksum(ByteBuffer buf, int seed, int start, int end) { method in class:IpUtils 107 return (short) checksum(buf, 0, headerOffset, headerOffset + ihl * 4); 122 throw new UnsupportedOperationException("Checksum must be IPv4 or IPv6"); 125 sum = checksum(buf, sum, transportOffset, transportOffset + transportLen);
|
/prebuilts/go/darwin-x86/src/hash/crc64/ |
crc64.go | 6 // checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for 15 // The size of a CRC-64 checksum in bytes. 77 // digest represents the partial evaluation of a checksum. 83 // New creates a new hash.Hash64 computing the CRC-64 checksum using the 197 // Checksum returns the CRC-64 checksum of data 199 func Checksum(data []byte, tab *Table) uint64 { return update(0, tab, data) } 201 // tableSum returns the ISO checksum of table t. 210 return Checksum(b, MakeTable(ISO))
|
/prebuilts/go/linux-x86/src/hash/crc64/ |
crc64.go | 6 // checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for 15 // The size of a CRC-64 checksum in bytes. 77 // digest represents the partial evaluation of a checksum. 83 // New creates a new hash.Hash64 computing the CRC-64 checksum using the 197 // Checksum returns the CRC-64 checksum of data 199 func Checksum(data []byte, tab *Table) uint64 { return update(0, tab, data) } 201 // tableSum returns the ISO checksum of table t. 210 return Checksum(b, MakeTable(ISO))
|
/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'
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
PasswordUtils.java | 101 * Generates {@link SecretKey} instance from given parameters and returns it's checksum. 118 Key checksum = buildCharArrayKey(algorithm, mkAsChar, salt, rounds); local 119 return checksum.getEncoded();
|
/prebuilts/go/darwin-x86/src/crypto/md5/ |
md5.go | 23 // The size of an MD5 checksum in bytes. 37 // digest represents the partial evaluation of a checksum. 127 // New returns a new hash.Hash computing the MD5 checksum. The Hash also 166 hash := d.checkSum() 170 func (d *digest) checkSum() [Size]byte { 203 // Sum returns the MD5 checksum of the data. 208 return d.checkSum()
|
/prebuilts/go/linux-x86/src/crypto/md5/ |
md5.go | 23 // The size of an MD5 checksum in bytes. 37 // digest represents the partial evaluation of a checksum. 127 // New returns a new hash.Hash computing the MD5 checksum. The Hash also 166 hash := d.checkSum() 170 func (d *digest) checkSum() [Size]byte { 203 // Sum returns the MD5 checksum of the data. 208 return d.checkSum()
|
/prebuilts/tools/common/m2/repository/org/eclipse/aether/aether-connector-basic/1.0.2.v20150114/ |
aether-connector-basic-1.0.2.v20150114.jar | |