HomeSort by relevance Sort by last modified time
    Searched refs:checksum (Results 1 - 25 of 469) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/chromeos/login/
hwid_checker.cc 31 char checksum[5]; local
33 snprintf(checksum, 5, "%04u", crc32 % 10000);
35 return checksum;
40 std::string checksum; local
41 if (!RE2::FullMatch(hwid, "([\\s\\S]*) (\\d{4})", &body, &checksum))
43 return CalculateHWIDv2Checksum(body) == checksum;
55 std::string checksum; local
56 checksum += base32_alphabet[(crc32 >> 5) & 0x1f];
57 checksum += base32_alphabet[crc32 & 0x1f];
58 return checksum;
74 std::string checksum = local
84 std::string checksum; local
95 std::string not_checksum, checksum; local
    [all...]
  /external/genext2fs/
test.sh 19 checksum=$1
21 if [ x$md5 = x$checksum ] ; then
31 # Usage: dtest file-size number-of-blocks correct-checksum
33 size=$1; blocks=$2; checksum=$3
36 md5cmp $checksum
43 # Usage: ftest spec-file number-of-blocks correct-checksum
45 fname=$1; blocks=$2; checksum=$3
48 md5cmp $checksum
  /external/chromium_org/rlz/lib/
crc8.h 19 unsigned char checksum,
  /external/chromium_org/chrome/browser/nacl_host/test/
gdb_rsp.py 13 checksum = 0
15 checksum = (checksum + ord(char)) % 0x100
16 return checksum
59 checksum = match.group(2)
61 if checksum != expected_checksum:
62 raise AssertionError('Bad RSP checksum: %r != %r' %
63 (checksum, expected_checksum))
  /external/chromium_org/base/metrics/
bucket_ranges_unittest.cc 20 EXPECT_EQ(0u, ranges.checksum());
48 // Checksum does not match.
58 TEST(BucketRangesTest, Checksum) {
65 EXPECT_EQ(289217253u, ranges.checksum());
71 EXPECT_EQ(2843835776u, ranges.checksum());
79 uint32 checksum = i; local
82 if (checksum & 1)
83 checksum = kReversedPolynomial ^ (checksum >> 1);
85 checksum >>= 1
    [all...]
bucket_ranges.h 39 uint32 checksum() const { return checksum_; } function in class:base::BucketRanges
40 void set_checksum(uint32 checksum) { checksum_ = checksum; }
48 // Checksum methods to verify whether the ranges are corrupted (e.g. bad
63 // Checksum for the conntents of ranges_. Used to detect random over-writes
  /external/stressapptest/src/
adler32memcpy.h 21 // Encapsulation for Adler checksum. Please see adler32memcpy.cc for more
22 // detail on the adler checksum algorithm.
29 // Returns string representation of the Adler checksum
31 // Sets components of the Adler checksum.
35 // Components of Adler checksum.
41 // Calculates Adler checksum for supplied data.
43 AdlerChecksum *checksum);
47 unsigned int size_in_bytes, AdlerChecksum *checksum);
52 unsigned int size_in_bytes, AdlerChecksum *checksum);
56 unsigned int size_in_bytes, AdlerChecksum *checksum);
    [all...]
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/dropbear/libtomcrypt/src/mac/pmac/
pmac_done.c 39 /* xor Lr against the checksum */
41 state->checksum[x] ^= state->block[x] ^ state->Lr[x];
46 state->checksum[x] ^= state->block[x];
48 state->checksum[x] ^= 0x80;
52 if ((err = cipher_descriptor[state->cipher_idx].ecb_encrypt(state->checksum, state->checksum, &state->key)) != CRYPT_OK) {
59 out[x] = state->checksum[x];
  /external/android-clat/
checksum.c 16 * checksum.c - ipv4/ipv6 checksum calculation
27 #include "checksum.h"
30 * adds data to a checksum
31 * current - the current checksum (or 0 to start a new checksum)
32 * data - the data to add to the checksum
36 uint32_t checksum = current; local
41 checksum += *data_16;
46 checksum += *(uint8_t *)data_16
    [all...]
checksum.h 16 * checksum.h - checksum functions
28 uint16_t ip_checksum_adjust(uint16_t checksum, uint32_t old_hdr_sum, uint32_t new_hdr_sum);
  /external/chromium/chrome/browser/sync/util/
crypto_helpers_unittest.cc 15 std::string checksum("e2c865db4162bed963bfaa9ef6ac18f0");
16 ASSERT_EQ(checksum, md5.GetHexDigest());
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
read_checksum_from_png_unittest.py 33 checksum = read_checksum_from_png.read_checksum(filehandle)
34 self.assertEqual('3c4134fe2739880353f91c5b84cadbaa', checksum)
38 checksum = read_checksum_from_png.read_checksum(filehandle)
39 self.assertIsNone(checksum)
  /hardware/invensense/60xx/libsensors_iio/software/core/mllite/
storage_manager.c 35 uint32_t checksum; member in struct:data_header_t
126 uint32_t checksum; local
139 checksum = inv_checksum(data, len);
140 if (checksum != hd->checksum)
150 checksum = inv_checksum(data, hd->size);
151 if (checksum == hd->checksum) {
184 hd->checksum = inv_checksum(cur, ds.hd[kk].size);
194 hd->checksum = inv_checksum(data + sizeof(struct data_header_t)
    [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/chromium_org/net/tools/testserver/
echo_message.py 7 This program has classes and functions to encode, decode, calculate checksum
14 <version><checksum><payload_size><payload>. <version> is the version number
15 of the "echo request" protocol. <checksum> is the checksum of the <payload>.
19 <version><checksum><payload_size><key><encoded_payload>.<version>,
20 <checksum> and <payload_size> are same as what is in the "echo request" message.
36 This class knows how to parse the checksum, payload_size from the
37 "echo request" and "echo response" messages. It holds the checksum,
44 # This specifies the starting position of the checksum and length of the
45 # checksum. Maximum value for the checksum is less than (2 ** 31 - 1)
    [all...]
  /external/chromium_org/third_party/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/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),
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
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/
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/
romfs_fs.h 25 __be32 checksum; member in struct:romfs_super_block
35 __be32 checksum; member in struct:romfs_inode
  /external/chromium_org/sdch/open-vcdiff/src/
codetablewriter_interface.h 26 #include "checksum.h" // VCDChecksum
65 // Adds a checksum to the output.
66 virtual void AddChecksum(VCDChecksum checksum) = 0;
  /external/open-vcdiff/src/
codetablewriter_interface.h 26 #include "checksum.h" // VCDChecksum
65 // Adds a checksum to the output.
66 virtual void AddChecksum(VCDChecksum checksum) = 0;
  /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)))
  /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...]

Completed in 2941 milliseconds

1 2 3 4 5 6 7 8 91011>>