Searched refs:checksum (Results 1 - 25 of 216) sorted by relevance

123456789

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
H A Dread_checksum_from_png_unittest.py34 checksum = read_checksum_from_png.read_checksum(filehandle)
35 self.assertEqual('3c4134fe2739880353f91c5b84cadbaa', checksum)
39 checksum = read_checksum_from_png.read_checksum(filehandle)
40 self.assertIsNone(checksum)
/external/chromium_org/chrome/browser/chromeos/login/
H A Dhwid_checker.cc31 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/
H A Dtest.sh19 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/base/metrics/
H A Dbucket_ranges_unittest.cc20 EXPECT_EQ(0u, ranges.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;
87 EXPECT_EQ(kCrcTable[i], checksum);
H A Dbucket_ranges.h39 uint32 checksum() const { return checksum_; } function in class:base::BucketRanges
40 void set_checksum(uint32 checksum) { checksum_ = checksum; } argument
/external/chromium_org/rlz/lib/
H A Dcrc8.h19 unsigned char checksum,
/external/stressapptest/src/
H A Dadler32memcpy.h21 // 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...]
H A Dadler32memcpy.cc17 // 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
86 CalculateAdlerChecksum(uint64 *data64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
124 AdlerMemcpyC(uint64 *dstmem64, uint64 *srcmem64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
165 AdlerMemcpyWarmC(uint64 *dstmem64, uint64 *srcmem64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
226 AdlerMemcpyAsm(uint64 *dstmem64, uint64 *srcmem64, unsigned int size_in_bytes, AdlerChecksum *checksum) argument
[all...]
/external/zopfli/src/zopfli/
H A Dzlib_container.c28 /* Calculates the adler32 checksum of the data */
54 unsigned checksum = adler32(in, (unsigned)insize); local
68 ZOPFLI_APPEND_DATA((checksum >> 24) % 256, out, outsize);
69 ZOPFLI_APPEND_DATA((checksum >> 16) % 256, out, outsize);
70 ZOPFLI_APPEND_DATA((checksum >> 8) % 256, out, outsize);
71 ZOPFLI_APPEND_DATA(checksum % 256, out, outsize);
/external/android-clat/
H A Dchecksum.c16 * 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
132 ip_checksum_adjust(uint16_t checksum, uint32_t old_hdr_sum, uint32_t new_hdr_sum) argument
[all...]
H A DAndroid.mk4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c netlink_callbacks.c netlink_msg.c setif.c mtu.c
33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c
H A Dchecksum.h16 * checksum.h - checksum functions
32 uint16_t ip_checksum_adjust(uint16_t checksum, uint32_t old_hdr_sum, uint32_t new_hdr_sum);
/external/chromium_org/net/tools/testserver/
H A Decho_message.py7 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
[all...]
/external/chromium_org/third_party/brotli/src/woff2/
H A Dnormalize.cc138 uint32_t checksum = 0; local
140 checksum += ((buf[i] << 24) |
145 return checksum;
149 uint32_t checksum = font.flavor; local
153 checksum += (font.num_tables << 16 | search_range);
154 checksum += (max_pow2 << 16 | range_shift);
156 checksum += i.second.tag;
157 checksum += i.second.checksum;
158 checksum
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
H A Dheader.cc44 Header::Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length) argument
50 checksum_(checksum),
/external/deqp/external/
H A Dfetch_sources.py14 def __init__(self, url, filename, checksum, dstDir, postExtract=None):
17 self.checksum = checksum
43 checksum = computeChecksum(data)
46 if checksum != pkg.checksum:
47 raise Exception("Checksum mismatch for %s, exepected %s, got %s" % (pkg.filename, pkg.checksum, checksum))
/external/sfntly/cpp/src/sfntly/table/
H A Dheader.cc44 Header::Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length) argument
50 checksum_(checksum),
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DNonVolatileStore.cpp80 unsigned short checksum = 0; local
81 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum));
139 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); local
140 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum));
143 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))
/external/libnfc-nci/src/adaptation/
H A Dlibmain.c103 unsigned short checksum = 0; local
104 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum));
164 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes); local
165 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum));
168 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dsvn-unapply74 sub checksum($);
126 sub checksum($) subroutine
131 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest();
133 return $checksum;
199 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
/external/chromium_org/third_party/webrtc/modules/utility/source/
H A Dfile_player_unittests.cc61 rtc::Md5Digest checksum; local
67 checksum.Update(out, num_samples * sizeof(out[0]));
75 checksum.Finish(checksum_result, rtc::Md5Digest::kSize));
/external/chromium_org/sdch/open-vcdiff/src/
H A Dcodetablewriter_interface.h26 #include "checksum.h" // VCDChecksum
65 // Adds a checksum to the output.
66 virtual void AddChecksum(VCDChecksum checksum) = 0;
/external/chromium_org/third_party/jinja2/
H A Dbccache.py61 The buckets get an internal checksum from the cache assigned and use this
66 def __init__(self, environment, key, checksum):
69 self.checksum = checksum
84 checksum = pickle.load(f)
85 if self.checksum != checksum:
95 pickle.dump(self.checksum, f, 2)
169 """Returns a checksum for the source."""
177 checksum
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dcycx_cfm.h80 * @checksum - info + image
89 unsigned short checksum; member in struct:cycx_firmware
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbelo.c134 int eloGetPacket(unsigned char* buffer, int* buffer_p, int* checksum, int fd) { argument
160 *checksum = *checksum + buffer[*buffer_p];
161 *checksum = *checksum % 256;
169 ok = (*checksum == buffer[ELO_PACKET_SIZE-1]);
170 *checksum = ELO_INIT_CHECKSUM;
424 int checksum = ELO_INIT_CHECKSUM; local
427 if(eloGetPacket(buffer, &pointer, &checksum, fd)) {

Completed in 703 milliseconds

123456789