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

12 3 4 5 6 7 8 91011>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
Adler32Test.java 46 assertEquals("update(int) failed to update the checksum to the correct value ",
49 assertEquals("reset failed to reset the checksum value to zero", 1, adl
56 assertEquals("update(min) failed to update the checksum to the correct value ",
69 assertEquals("update(int) failed to update the checksum to the correct value ",
72 assertEquals("reset failed to reset the checksum value to zero", 1, adl
84 assertEquals("update(int) failed to update the checksum to the correct value ",
91 assertEquals("update(max) failed to update the checksum to the correct value ",
98 assertEquals("update(min) failed to update the checksum to the correct value ",
113 assertEquals("update(byte[]) failed to update the checksum to the correct value ",
121 assertEquals("update(byte[]) failed to update the checksum to the correct value "
163 Adler32 checksum = new Adler32(); local
187 Adler32 checksum = new Adler32(); local
    [all...]
CRC32Test.java 47 assertEquals("update(max) failed to update the checksum to the correct value ",
56 assertEquals("update(byte[]) failed to update the checksum to the correct value ",
64 // assertEquals("update(int) failed to update the checksum to the correct
67 assertEquals("reset failed to reset the checksum value to zero", 0, crc
81 assertEquals("update(int) failed to update the checksum to the correct value ",
84 assertEquals("reset failed to reset the checksum value to zero", 0, crc
99 assertEquals("update(1) failed to update the checksum to the correct value ",
107 assertEquals("update(max) failed to update the checksum to the correct value ",
115 assertEquals("update(min) failed to update the checksum to the correct value ",
130 assertEquals("update(byte[]) failed to update the checksum to the correct value "
180 CRC32 checksum = new CRC32(); local
204 CRC32 checksum = new CRC32(); local
    [all...]
  /test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
CertificationChecksumHelperTest.java 62 * Validation that the checksum generated can be properly checked when re-reading the file.
75 File checksum = new File(mWorkingDir, CertificationChecksumHelper.NAME); local
76 assertTrue(checksum.exists());
  /external/android-clat/
checksum.c 16 * checksum.c - ipv4/ipv6 checksum calculation
26 #include "checksum.h"
29 * adds data to a checksum
30 * current - the current checksum (or 0 to start a new checksum)
31 * data - the data to add to the checksum
35 uint32_t checksum = current; local
40 checksum += *data_16;
45 checksum += *(uint8_t *)data_16
    [all...]
  /external/libchrome/base/metrics/
bucket_ranges.cc 119 // Seed checksum.
120 uint32_t checksum = static_cast<uint32_t>(ranges_.size()); local
123 checksum = Crc32(checksum, ranges_[index]);
124 return checksum;
  /external/syslinux/com32/gplinclude/acpi/
structs.h 39 uint8_t checksum; member in struct:__anon36935
  /external/tcpdump/
checksum.c 126 /* precompute checksum tables */
135 * Creates the OSI Fletcher checksum. See 8473-1, Appendix C, section C.3.
136 * The checksum field of the passed PDU does not need to be reset to zero.
147 uint16_t checksum; local
155 * Ignore the contents of the checksum field.
186 checksum = ((x << 8) | y);
188 return checksum;
  /external/valgrind/coregrind/m_syswrap/
syswrap-amd64-solaris.c 228 /* Calculate a checksum. */
231 ULong checksum; local
238 checksum = ML_(fletcher64)((UInt*)&buf, sizeof(buf) / sizeof(UInt));
239 VKI_UC_GUEST_RFLAGS_CHECKSUM(uc) = checksum;
436 ULong checksum; local
443 checksum = ML_(fletcher64)((UInt*)&buf,
445 if (checksum == VKI_UC_GUEST_RFLAGS_CHECKSUM(uc)) {
  /system/nfc/src/adaptation/
libmain.cc 91 unsigned short checksum = 0; local
92 read(fileStream, &checksum, sizeof(checksum));
139 unsigned short checksum = crcChecksumCompute(pBuffer, nbytes); local
140 size_t actualWrittenCrc = write(fileStream, &checksum, sizeof(checksum));
145 (actualWrittenCrc == sizeof(checksum))) {
  /cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
IcmpMessage.java 34 int checksum = stream.readUnsignedShort(); local
48 throw new IOException("Corrupted message. Checksum: " + checksum);
59 stream.writeShort(/* checksum */ 0);
64 int checksum = Rfc1071.checksum(result, result.length); local
65 result[checksumPosition + 0] = (byte) ((checksum & 0xFF00) >> 8);
66 result[checksumPosition + 1] = (byte) ((checksum & 0x00FF));
  /device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/
css_bom_bootloader.c 31 uint32_t checksum; member in struct:__anon4086
105 uint32_t checksum; local
118 /* Extract the checksum from the image */
119 checksum = *(uint32_t *) image;
120 image = (char *) image + sizeof(checksum);
121 image_size -= sizeof(checksum);
136 cmd_info_payload->checksum = 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/pdfium/fxjs/xfa/
cjx_barcode.cpp 21 void CJX_Barcode::checksum(CFXJSE_Value* pValue, function in class:CJX_Barcode
  /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/syslinux/com32/mboot/
mb_header.h 37 * Checksum
41 uint32_t checksum; member in struct:multiboot_header
  /external/syslinux/com32/sysdump/
dmi.c 33 static uint8_t checksum(const void *buf, size_t len) function
49 !checksum(dmi, 0x0f);
58 !checksum(smb, smb->len) &&
74 * make dmidecode happy. The checksum on the smbios table is unchanged,
75 * since it includes the checksum on the dmi table.
78 smx.dmi.csum -= checksum(&smx.dmi, 0x0f);
104 fake.dmi.csum -= checksum(&fake.dmi, 0x0f);
  /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/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);
modrom.pl 131 sub checksum ($) { subroutine
140 print "Checksum fails\n"
142 print "Checksum ok\n";
199 &checksum(\$rom);
216 &checksum(\$rom);
  /external/vboot_reference/firmware/lib/include/
vboot_audio_private.h 21 uint32_t checksum; /* crc32 over count & all notes */ member in struct:VbDevMusic
  /external/webrtc/webrtc/modules/utility/source/
file_player_unittests.cc 61 rtc::Md5Digest checksum; local
67 checksum.Update(out, num_samples * sizeof(out[0]));
75 checksum.Finish(checksum_result, rtc::Md5Digest::kSize));
  /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);
  /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();
  /hardware/invensense/6515/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...]

Completed in 513 milliseconds

12 3 4 5 6 7 8 91011>>