HomeSort by relevance Sort by last modified time
    Searched refs:checksum (Results 151 - 175 of 856) sorted by null

1 2 3 4 5 67 8 91011>>

  /prebuilts/go/linux-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())
  /dalvik/libdex/
DexFile.cpp 341 * Verify the checksum(s). This is reasonably quick, but does require
342 * touching every byte in the DEX file. The base checksum changes after
347 if (adler != pHeader->checksum) {
348 ALOGE("ERROR: bad checksum (%08x vs %08x)",
349 adler, pHeader->checksum);
353 ALOGV("+++ adler32 checksum (%08x) verified", adler);
359 if (adler != pOptHeader->checksum) {
360 ALOGE("ERROR: bad opt checksum (%08x vs %08x)",
361 adler, pOptHeader->checksum);
365 ALOGV("+++ adler32 opt checksum (%08x) verified", adler)
    [all...]
  /system/core/adb/
test_device.py 647 def __init__(self, handle, checksum):
649 self.checksum = checksum
655 def __init__(self, checksum, full_path):
656 self.checksum = checksum
704 def _verify_remote(self, checksum, remote_path):
707 self.assertEqual(checksum, dev_md5)
709 def _verify_local(self, checksum, local_path):
712 self.assertEqual(host_md5, checksum)
    [all...]
  /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/sfntly/cpp/src/test/
font_parsing_test.cc 60 EXPECT_EQ(gdef_header->checksum(), TTF_CHECKSUM[SAMPLE_TTF_FEAT]);
77 EXPECT_EQ(header_header->checksum(), TTF_CHECKSUM[SAMPLE_TTF_HEAD]);
  /external/squashfs-tools/squashfs-tools/
xattr.c 367 unsigned short checksum = 0; local
369 /* compute checksum over all xattrs */
373 checksum = get_checksum(xattr->full_name,
374 strlen(xattr->full_name), checksum);
375 checksum = get_checksum(xattr->value,
376 xattr->vsize, checksum);
379 for(entry = dupl_id[checksum]; entry; entry = entry->next) {
406 entry->next = dupl_id[checksum];
407 dupl_id[checksum] = entry;
mksquashfs.h 88 unsigned short checksum; member in struct:file_info
  /external/syslinux/efi/
wrapper.h 96 __uint32_t checksum; member in struct:extra_hdr
132 __uint32_t checksum; member in struct:extra_hdr_pe32p
  /external/syslinux/gpxe/src/core/
nvo.c 36 * Calculate checksum over non-volatile stored options
39 * @ret sum Checksum
86 uint8_t *checksum = data; local
90 /* Recalculate checksum */
91 *checksum -= nvo_checksum ( nvo );
121 /* Steal one byte for the checksum */
125 /* If checksum fails, or options data starts with a zero,
130 DBGC ( nvo, "NVO %p has checksum %02x and initial byte %02x; "
  /external/syslinux/gpxe/src/drivers/net/
myri10ge_mcp.h 49 uint16_t checksum; member in struct:mcp_slot
61 uint16_t checksum; member in struct:mcp_slot_8
  /external/syslinux/libinstaller/
syslxmod.c 194 /* Now produce a checksum */
195 set_32_sl(&patcharea->checksum, 0);
199 csum -= get_32_sl(wp); /* Negative checksum */
201 set_32_sl(&patcharea->checksum, csum);
  /external/vboot_reference/tests/
vboot_audio_tests.c 54 /* Set correct checksum for custom notes */
56 hdr->checksum = Crc32(&(hdr->count), sizeof(hdr->count) +
208 /* bad checksum is rejected */
210 use_hdr->checksum++;
  /external/autotest/server/site_tests/audiovideo_AVSync/
audiovideo_AVSync.py 68 def compute_video_keypoint(self, checksum):
70 checksum changes.
72 @param checksum: Checksums of frames put in a list.
77 for i in xrange(1, len(checksum))
78 if checksum[i] != checksum[i - 1]]
  /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/python/cpython2/Mac/BuildScript/
build-installer.py 247 checksum='96322138f0b69e61b7212bc53d5e912b',
263 checksum='f3df162f92c69b254079c4d0af7a690f',
279 checksum='55b8e33f903210a4e1c8bce0f820657f',
304 checksum='19d924e066b6fff0bc9d1981b4e53196',
315 checksum='8cb9c412e5f2d96bc6f459aa8c6282a1',
349 checksum='509ff98d8dc9729b618b7e96612079c6',
371 checksum='00b516f4704d4a7cb50a1d97e6e8e15b',
383 checksum='debc62758716a169df9f62e6ab2bc634',
396 checksum='fc2f7e714fe792db1ce6ddc4c9fb4ef3',
414 checksum='ec2b87e833779681a0c3a814aa71359e'
    [all...]
  /external/python/cpython3/Mac/BuildScript/
build-installer.py 218 checksum='f965fc0bf01bf882b31314b61391ae65',
234 checksum='f3df162f92c69b254079c4d0af7a690f',
250 checksum='55b8e33f903210a4e1c8bce0f820657f',
275 checksum='7cf6a8544a7dae8e8106fdf7addfa28c',
286 checksum='8cb9c412e5f2d96bc6f459aa8c6282a1',
320 checksum='90c53cacb811db27f990b8292bd96159',
343 checksum='00b516f4704d4a7cb50a1d97e6e8e15b',
355 checksum='debc62758716a169df9f62e6ab2bc634',
368 checksum='fc2f7e714fe792db1ce6ddc4c9fb4ef3',
386 checksum='ec2b87e833779681a0c3a814aa71359e'
    [all...]
  /external/sfntly/cpp/src/sfntly/table/
table.h 69 // Get the calculated checksum for the data in the table.
84 // Get the checksum for the table from the record header.
85 virtual int64_t header_checksum() { return header_->checksum(); }
  /external/syslinux/gpxe/src/arch/i386/image/
multiboot.c 320 uint32_t checksum; local
339 /* Copy header and verify checksum */
342 checksum = ( hdr->mb.magic + hdr->mb.flags +
343 hdr->mb.checksum );
344 if ( checksum != 0 )
  /external/syslinux/gpxe/src/arch/i386/include/
multiboot.h 78 uint32_t checksum; member in struct:multiboot_header
  /external/syslinux/gpxe/src/include/gpxe/
smbios.h 49 /** Checksum */
50 uint8_t checksum; member in struct:smbios_entry
65 /** DMI checksum */
  /external/tcpdump/
appletalk.h 37 uint16_t checksum; member in struct:atDDP
  /external/toolchain-utils/bestflags/
task.py 11 the image and the checksum field of a Task. The executor module will put the
129 The flag set uniquely identifies a task in the build stage. The checksum of
135 Return the flag set in build stage and return the checksum in test stage.
229 """Get the compilation image checksum of this task.
232 The compilation image checksum of this task.
235 # The checksum should be computed before this method is called.
267 # Each build results contains the checksum of the result image, the
270 (checksum, cost, image, file_length, text_length) = out.split()
287 self._checksum = checksum
339 def __SetBuildResult(self, (checksum, build_cost, image, file_length
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
som.h 44 unsigned int checksum; member in struct:som_hdr
  /external/syslinux/core/
dmi.c 70 static uint8_t checksum(const void *buf, size_t len) function
86 !checksum(dmi, 0x0f);
95 !checksum(smb, smb->len) &&
  /external/syslinux/gpxe/src/util/
makerom.pl 133 sub checksum ($$) { subroutine
142 print "Checksum fails\n"
144 print "Checksum ok\n";
205 checksum(\$rom, $opts{'n'} ? $stubsize : $romsize);
222 checksum(\$rom, ord(substr($rom, 2, 1)) * 512);

Completed in 938 milliseconds

1 2 3 4 5 67 8 91011>>