HomeSort by relevance Sort by last modified time
    Searched defs:checksum (Results 51 - 75 of 650) sorted by null

1 23 4 5 6 7 8 91011>>

  /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...]
  /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...]
  /art/tools/dexfuzz/src/dexfuzz/rawdex/
HeaderItem.java 25 public int checksum; field in class:HeaderItem
55 checksum = file.readUInt();
96 file.writeUInt(checksum);
  /bionic/libc/kernel/uapi/linux/
cycx_cfm.h 52 unsigned short checksum; member in struct:cycx_firmware
romfs_fs.h 37 __be32 checksum; member in struct:romfs_super_block
44 __be32 checksum; member in struct:romfs_inode
  /development/samples/USB/AdbTest/src/com/android/adb/
AdbMessage.java 56 mMessageBuffer.putInt(16, (data == null ? 0 : checksum(data)));
160 private static int checksum(byte[] data) { method in class:AdbMessage
  /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/
cycx_cfm.h 81 * @checksum - info + image
90 unsigned short checksum; member in struct:cycx_firmware
romfs_fs.h 29 __be32 checksum; member in struct:romfs_super_block
39 __be32 checksum; member in struct:romfs_inode
  /external/libxcam/modules/isp/
libtbd.h 74 uint32_t checksum; /*!< Global checksum, header included */ member in struct:__anon26627
125 * that was given. Also updates the checksum and size accordingly.
142 * including the verification of the checksum. The function does not
154 * including the verification of the checksum. Also, the data must have
190 * exists in the data. Also updates the checksum and size accordingly.
215 * which the checksum and size are updated accordingly. If there are
  /external/ltp/testcases/kernel/io/stress_cd/
stress_cd.c 53 static unsigned long checksum; variable
64 /* Read data from CDROM & compute checksum */
65 read_data(0, &checksum);
67 printf("Thread [main] checksum: %-#12lx\n", checksum);
129 if (checksum != cksum) {
130 fprintf(stderr, "\tThread [%d]: checksum mismatch!\n", num);
171 printf("\tThread [%d] bytes read: %5d checksum: "
177 printf("\tThread [%d] bytes read: %5d checksum: %-#12lx\n",
  /external/pdfium/fxbarcode/oned/
BC_OnedCode39Writer.cpp 152 int32_t checksum = 0;
158 checksum += j;
165 return kOnedCode39Checksum[checksum % FX_ArraySize(kOnedCode39Checksum)];
170 char checksum = CalcCheckSum(contents); local
171 if (checksum == '*')
179 encodedContents += checksum;
240 char checksum; local
241 checksum = CalcCheckSum(str);
242 if (checksum == '*')
244 str += checksum;
    [all...]
  /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.
  /external/skia/src/gpu/
GrProgramDesc.h 57 // Gets the a checksum of the key. Can be used as a hash value for a fast lookup in a cache.
123 uint32_t* checksum = this->atOffset<uint32_t, GrProgramDesc::kChecksumOffset>(); local
124 *checksum = 0; // We'll hash through these bytes, so make sure they're initialized.
125 *checksum = SkOpts::hash(fKey.begin(), keyLength);
139 // 2. uint32_t for a checksum.
  /external/skia/src/utils/
SkWhitelistTypefaces.cpp 173 uint32_t checksum = compute_checksum(tf); local
174 if (whitelist[whitelistIndex].fChecksum != checksum) {
177 SkDebugf("!!! checksum changed !!!\n");
179 SkDebugf("checksum updated\n");
180 SkDebugf(" { \"%s\", 0x%08x },\n", fontName, checksum);
182 whitelist[whitelistIndex].fChecksum = checksum;
211 uint32_t checksum = compute_checksum(tf.get()); local
212 if (whitelist[i].fChecksum != checksum) {
266 uint32_t checksum = compute_checksum(tf.get()); local
267 line.printf(checksumEntry, fontName, checksum);
    [all...]
  /external/skqp/src/gpu/
GrProgramDesc.h 57 // Gets the a checksum of the key. Can be used as a hash value for a fast lookup in a cache.
126 uint32_t* checksum = this->atOffset<uint32_t, GrProgramDesc::kChecksumOffset>(); local
127 *checksum = 0; // We'll hash through these bytes, so make sure they're initialized.
128 *checksum = SkOpts::hash(fKey.begin(), keyLength);
142 // 2. uint32_t for a checksum.
  /external/skqp/src/utils/
SkWhitelistTypefaces.cpp 173 uint32_t checksum = compute_checksum(tf); local
174 if (whitelist[whitelistIndex].fChecksum != checksum) {
177 SkDebugf("!!! checksum changed !!!\n");
179 SkDebugf("checksum updated\n");
180 SkDebugf(" { \"%s\", 0x%08x },\n", fontName, checksum);
182 whitelist[whitelistIndex].fChecksum = checksum;
211 uint32_t checksum = compute_checksum(tf.get()); local
212 if (whitelist[i].fChecksum != checksum) {
266 uint32_t checksum = compute_checksum(tf.get()); local
267 line.printf(checksumEntry, fontName, checksum);
    [all...]
  /external/squashfs-tools/squashfs-tools/
process_fragments.c 58 * Compute 16 bit BSD checksum over the data, and check for sparseness
75 file_buffer->checksum = chksum;
220 char *data_buffer, int fd, unsigned short *checksum)
237 *checksum = cksum;
279 unsigned short checksum; local
325 checksum = dupl_ptr->fragment_checksum;
329 * If we have the checksum and it matches then
332 * If we *don't* have the checksum, then we are
334 * "old" filesystem. Read it in and checksum
339 data_buffer, fd, &checksum);
    [all...]
  /external/syslinux/com32/modules/
sdi.c 55 uint64_t Checksum;
149 unsigned char checksum; local
152 checksum = 0;
154 checksum += header[i];
155 return (!checksum);
  /external/syslinux/gpxe/src/include/gpxe/
smbios.h 49 /** Checksum */
50 uint8_t checksum; member in struct:smbios_entry
65 /** DMI checksum */
  /external/syslinux/gpxe/src/util/Option/
ROM.pm 149 sub checksum { subroutine
231 checksum => { offset => 0x06, length => 0x01, pack => "C" },
342 =item C<< checksum () >>
344 Calculate the byte checksum of the ROM.
348 sub checksum { subroutine
359 Fix the byte checksum of the ROM.
367 $hash->{checksum} = ( ( $hash->{checksum} - $hash->checksum() ) & 0xff );
448 checksum => { offset => 0x09, length => 0x01, pack => "C" }
465 sub checksum { subroutine
    [all...]
  /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/syslinux/memdisk/
eltorito.h 40 uint16_t checksum; /* Sums with whole record to zero */ member in struct:validation_entry
  /external/valgrind/coregrind/m_syswrap/
syswrap-x86-solaris.c 253 /* Calculate a checksum. */
256 UInt checksum; local
263 checksum = ML_(fletcher32)((UShort*)&buf, sizeof(buf) / sizeof(UShort));
264 /* Store the checksum. */
265 VKI_UC_GUEST_EFLAGS_CHECKSUM(uc) = checksum;
459 UInt checksum; local
466 checksum = ML_(fletcher32)((UShort*)&buf,
468 if (checksum == VKI_UC_GUEST_EFLAGS_CHECKSUM(uc)) {
    [all...]
  /hardware/intel/bootstub/
sfi.h 35 u8 checksum; member in struct:sfi_table_header

Completed in 2231 milliseconds

1 23 4 5 6 7 8 91011>>