/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
NonVolatileStore.cpp | 81 unsigned short checksum = 0; local 82 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); 140 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); local 141 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum)); 144 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))
|
/external/stressapptest/src/ |
adler32memcpy.cc | 17 // We are using (a modified form of) adler-32 checksum algorithm instead 22 // checksums are done (we could have one checksum but two checksums 32 // checksum = a<<16 + b 70 // Returns string representation of the Adler checksum. 77 // Sets components of the Adler checksum. 85 // Calculates Adler checksum for supplied data. 87 AdlerChecksum *checksum) { 119 checksum->Set(a1, a2, b1, b2); 125 unsigned int size_in_bytes, AdlerChecksum *checksum) { 159 checksum->Set(a1, a2, b1, b2) [all...] |
/system/core/libnetutils/ |
packet.c | 65 static uint32_t checksum(void *buffer, unsigned int count, uint32_t startsum) function 111 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); 118 /* Calculate checksum for pseudo header */ 119 udpsum = checksum(&ip.saddr, sizeof(ip.saddr), 0); 120 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); 122 udpsum = checksum(&temp, sizeof(temp), udpsum); 124 udpsum = checksum(&temp, sizeof(temp), udpsum); 126 /* Add in the checksum for the udp header */ 127 udpsum = checksum(&udp, sizeof(udp), udpsum); 129 /* Add in the checksum for the data * [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
svn-unapply | 74 sub checksum($); 126 sub checksum($) subroutine 131 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest(); 133 return $checksum; 199 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
|
/external/chromium_org/third_party/jinja2/ |
bccache.py | 66 The buckets get an internal checksum from the cache assigned and use this 71 def __init__(self, environment, key, checksum): 74 self.checksum = checksum 89 checksum = pickle.load(f) 90 if self.checksum != checksum: 100 pickle.dump(self.checksum, f, 2) 174 """Returns a checksum for the source.""" 182 checksum = self.get_source_checksum(source [all...] |
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
s_ocb_done.c | 22 * is we XOR the final ciphertext into the checksum so we have to xor it 93 /* xor C[m] into checksum */ 95 ocb->checksum[x] ^= ct[x]; 106 /* xor C[m] into checksum */ 108 ocb->checksum[x] ^= ct[x]; 112 /* xor Y[m] and Z[m] into checksum */ 114 ocb->checksum[x] ^= Y[x] ^ Z[x]; 117 /* encrypt checksum, er... tag!! */ 118 if ((err = cipher_descriptor[ocb->cipher].ecb_encrypt(ocb->checksum, X, &ocb->key)) != CRYPT_OK) {
|
/external/grub/stage2/ |
mb_header.h | 33 * Checksum 37 unsigned checksum; member in struct:multiboot_header
|
smp-imps.h | 109 unsigned char checksum; member in struct:imps_fps 124 unsigned char checksum; member in struct:imps_cth
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbelo.c | 134 int eloGetPacket(unsigned char* buffer, int* buffer_p, int* checksum, int fd) { 160 *checksum = *checksum + buffer[*buffer_p]; 161 *checksum = *checksum % 256; 169 ok = (*checksum == buffer[ELO_PACKET_SIZE-1]); 170 *checksum = ELO_INIT_CHECKSUM; 424 int checksum = ELO_INIT_CHECKSUM; local 427 if(eloGetPacket(buffer, &pointer, &checksum, fd)) {
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
cycx_cfm.h | 80 * @checksum - info + image 89 unsigned short checksum; member in struct:cycx_firmware
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
cycx_cfm.h | 80 * @checksum - info + image 89 unsigned short checksum; member in struct:cycx_firmware
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
cycx_cfm.h | 80 * @checksum - info + image 89 unsigned short checksum; member in struct:cycx_firmware
|
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 49 // Used to build a checksum from the data used to construct the 53 uint32 checksum = static_cast<uint32>(sorted_prefixes[0]); local 54 checksum ^= static_cast<uint32>(deltas_.size()); 70 checksum ^= static_cast<uint32>(sorted_prefixes[i]); 71 checksum ^= static_cast<uint32>(deltas_.size()); 75 checksum ^= static_cast<uint32>(delta16); 84 checksum_ = checksum; 332 uint32 checksum = 0; local 335 checksum ^= static_cast<uint32>(index_[ii].first); 336 checksum ^= static_cast<uint32>(index_[ii].second) [all...] |
/external/android-clat/ |
Android.mk | 4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c getroute.c netlink_callbacks.c netlink_msg.c setif.c setroute.c mtu.c
|
/external/chromium/sdch/open-vcdiff/src/ |
encodetable.h | 25 #include "checksum.h" 97 void AddChecksum(VCDChecksum checksum) { 99 checksum_ = checksum; 213 // If true, an Adler32 checksum of the target window data will be written as 218 // The checksum to be written to the current target window, 223 // the checksum all at once and to call AddChecksum() with that value.
|
vcdecoder_test.h | 21 #include "checksum.h" 50 // body, plus (if UseChecksum() is true) the corresponding checksum. 55 // This function adds an Adler32 checksum to the delta window header. 56 void AddChecksum(VCDChecksum checksum); 58 // This function computes the Adler32 checksum for the expected target
|
/external/chromium_org/sdch/open-vcdiff/src/ |
encodetable.h | 24 #include "checksum.h" 102 virtual void AddChecksum(VCDChecksum checksum) { 104 checksum_ = checksum; 214 // If true, an Adler32 checksum of the target window data will be written as 219 // The checksum to be written to the current target window, 224 // the checksum all at once and to call AddChecksum() with that value.
|
vcdecoder_test.h | 21 #include "checksum.h" 50 // body, plus (if UseChecksum() is true) the corresponding checksum. 55 // This function adds an Adler32 checksum to the delta window header. 56 void AddChecksum(VCDChecksum checksum); 58 // This function computes the Adler32 checksum for the expected target
|
/external/open-vcdiff/src/ |
encodetable.h | 24 #include "checksum.h" 102 virtual void AddChecksum(VCDChecksum checksum) { 104 checksum_ = checksum; 214 // If true, an Adler32 checksum of the target window data will be written as 219 // The checksum to be written to the current target window, 224 // the checksum all at once and to call AddChecksum() with that value.
|
/external/sfntly/cpp/src/sfntly/table/ |
header.h | 33 Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length); 61 // Get the checksum for the table as recorded in the table record header. 62 int64_t checksum() { return checksum_; } function in class:sfntly::Header 64 // Is the checksum valid. The checksum will not be valid if the table was 66 // Note that this does *NOT* check the validity of the checksum against 67 // the calculated checksum for the table data.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
WordListMetadata.java | 53 final String checksum, final String localFilename, final String remoteFilename, 60 mChecksum = checksum; 80 final String checksum = values.getAsString(MetadataDbHelper.CHECKSUM_COLUMN); local 92 || null == checksum 101 return new WordListMetadata(id, type, description, lastUpdate, fileSize, checksum,
|
/bionic/libc/kernel/common/linux/ |
icmp.h | 72 __u16 checksum; member in struct:icmphdr
|
/development/ndk/platforms/android-3/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_reader.h | 39 // If "checksum" is true, verify checksums if available. 43 Reader(SequentialFile* file, Reporter* reporter, bool checksum,
|
/external/grub/docs/ |
multiboot.h | 53 unsigned long checksum; member in struct:multiboot_header
|