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

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/libjingle/source/talk/base/
crc32.h 37 // Updates a CRC32 checksum with |len| bytes from |buf|. |initial| holds the
38 // checksum result from the previous update; for the first call, it should be 0.
41 // Computes a CRC32 checksum using |len| bytes from |buf|.
  /external/skia/tests/
BitmapHasherTest.cpp 14 // Word size that is large enough to hold results of any checksum type.
46 // same pixel data but different dimensions should yield a different checksum
50 // same dimensions but different color should yield a different checksum
  /packages/apps/Launcher3/util/com/android/launcher3/
DecoderRing.java 126 if (key.checksum != checkKey(key)) {
132 // other types are wrapped in a checksum message
140 CRC32 checksum = new CRC32(); local
141 checksum.update(wrapper.payload);
142 if (wrapper.checksum != checksum.getValue()) {
193 CRC32 checksum = new CRC32(); local
194 checksum.update(key.type);
195 checksum.update((int) (key.id & 0xffff));
196 checksum.update((int) ((key.id >> 32) & 0xffff))
    [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/libnfc-nci/src/adaptation/
CrcChecksum.cpp 69 ** Description Compute a checksum on a buffer of data.
71 ** Returns 2-byte checksum.
92 ** Description Detect any corruption in a file by computing a checksum.
105 unsigned short checksum = 0; local
107 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum));
118 if ((actualReadCrc == sizeof(checksum)) && (data.size() > 0))
121 if (checksum == crcChecksumCompute ((const unsigned char*) data.data(), data.size()))
124 ALOGE ("%s: checksum mismatch", __FUNCTION__);
  /external/zlib/src/win32/
zlib.def 68 ; checksum functions
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
netfilter_bridge.h 13 /* After promisc drops, checksum checks. */
romfs_fs.h 25 __be32 checksum; member in struct:romfs_super_block
35 __be32 checksum; member in struct:romfs_inode
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
netfilter_bridge.h 13 /* After promisc drops, checksum checks. */
romfs_fs.h 25 __be32 checksum; member in struct:romfs_super_block
35 __be32 checksum; member in struct:romfs_inode
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
netfilter_bridge.h 13 /* After promisc drops, checksum checks. */
romfs_fs.h 25 __be32 checksum; member in struct:romfs_super_block
35 __be32 checksum; member in struct:romfs_inode
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
mock_drt_unittest.py 79 def input_line(self, port, test_name, checksum=None):
84 if checksum:
85 return url + "'" + checksum + '\n'
165 expected_checksum='image_checksum-checksum',
170 'ActualHash: image_checksum-checksum\n',
171 'ExpectedHash: image_checksum-checksum\n',
187 self.assertTest('passes/reftest.html', False, expected_checksum='mock-checksum', expected_text='reference text\n')
188 self.assertTest('passes/reftest.html', True, expected_checksum='mock-checksum', expected_text='reference text\n')
191 self.assertTest('passes/mismatch.html', False, expected_checksum='mock-checksum', expected_text='reference text\n')
192 self.assertTest('passes/mismatch.html', True, expected_checksum='mock-checksum', expected_text='reference text\n'
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
CheckedInputStreamTest.java 45 * java.util.zip.Checksum)
67 assertEquals("the checkSum value of an empty file is not zero", 0, checkEmpty
76 // ran JDK and found that the checkSum value of this is 2036203193
78 assertEquals("the checksum value is incorrect", 2036203193, checkIn.getChecksum()
85 // ran JDK and found that the checkSum value of this is 2235765342
87 assertEquals("the checksum value is incorrect", 2235765342L, checkIn2.getChecksum()
103 // ran JDK and found the checkSum value is 2235765342
105 assertEquals("checkSum value is not correct", 2235765342L, checkIn.getChecksum()
CheckedOutputStreamTest.java 30 * java.util.zip.Checksum)
38 assertEquals("the checkSum value of the constructor is not 0", 0, chkOut
60 // ran JDK and found that checkSum value is 7536755
63 assertEquals("the checkSum value for writeI is incorrect", 7536755, chkOut
67 // ran JDK and found that checkSum value is 51708133
70 assertEquals("the checkSum value for writeBII is incorrect ", 51708133, chkOut
95 "the checkSum value is zero, no bytes are written to the output file",
117 "the checkSum value is zero, no bytes are written to the output file",
  /external/e2fsprogs/tests/f_unused_itable/
expect.1 12 Group descriptor 0 checksum is invalid. FIXED.
13 Group descriptor 1 checksum is invalid. FIXED.
  /external/sfntly/cpp/src/sfntly/table/
header.cc 44 Header::Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length)
50 checksum_(checksum),
  /external/wpa_supplicant_8/wpa_supplicant/examples/
wps-ap-cli 19 if [ "$cpin" = "FAIL-CHECKSUM" ]; then
20 echo "Checksum digit is not valid"
  /external/chromium_org/third_party/lcov/man/
geninfo.1 22 .RB [ \-\-checksum ]
23 .RB [ \-\-no\-checksum ]
94 .B \-\-checksum
96 .B \-\-no\-checksum
99 Specify whether to generate checksum data when writing tracefiles.
101 Use \-\-checksum to enable checksum generation or \-\-no\-checksum to
102 disable it. Checksum generation is
106 When checksum generation is enabled, a checksum will be generated for eac
    [all...]
  /external/chromium_org/third_party/lcov-1.9/man/
geninfo.1 22 .RB [ \-\-checksum ]
23 .RB [ \-\-no\-checksum ]
121 .B \-\-checksum
123 .B \-\-no\-checksum
126 Specify whether to generate checksum data when writing tracefiles.
128 Use \-\-checksum to enable checksum generation or \-\-no\-checksum to
129 disable it. Checksum generation is
133 When checksum generation is enabled, a checksum will be generated for eac
    [all...]
  /external/qemu-pc-bios/vgabios/
biossums.c 98 printf( "Current checksum: 0x%02X\n", cur_val );
99 printf( "Calculated checksum: 0x%02X ", new_val );
103 printf("Setting checksum.");
112 printf( "Multiple PMID entries! No checksum set." );
145 printf("\nBios checksum at: 0x%4lX\n", offset);
146 printf("Current checksum: 0x%02X\n", cur_val);
147 printf("Calculated checksum: 0x%02X ", new_val);
149 printf("Setting checksum.");
255 check((offset + PMID_CHKSUM) <= (bios_len - 1), "PMID checksum out of bounds" );
262 check((offset + PMID_CHKSUM) <= (bios_len - 1), "PMID checksum out of bounds" )
    [all...]
  /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...]
  /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...]
  /external/chromium/chrome/browser/metrics/
metrics_service_unittest.cc 182 // Corrupt checksum of stored list.
193 // Fetch checksum (last element) and change it.
194 std::string checksum; local
195 EXPECT_TRUE((*(list.end() - 1))->GetAsString(&checksum));
196 checksum[0] = (checksum[0] == 'a') ? 'b' : 'a';
197 EXPECT_TRUE(list.Set(2, Value::CreateStringValue(checksum)));
  /external/kernel-headers/original/linux/can/
gw.h 40 CGW_CS_XOR, /* set data[] XOR checksum into data[index] */
41 CGW_CS_CRC8, /* set data[] CRC8 checksum into data[index] */
91 /* length of checksum operation parameters. idx = index in CAN frame data[] */
125 * Set a simple XOR checksum starting with an initial value into
128 * The XOR checksum is calculated like this:
142 * The CRC8 checksum is calculated like this:
152 * defined in the handling of 'checksum profiles' e.g. shown in AUTOSAR specs

Completed in 1407 milliseconds

1 23 4 5 6 7 8 91011>>