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

12345

/external/webkit/Tools/Scripts/webkitpy/layout_tests/
H A Dread_checksum_from_png_unittest.py34 checksum = read_checksum_from_png.read_checksum(filehandle)
35 self.assertEquals('3c4134fe2739880353f91c5b84cadbaa', checksum)
39 checksum = read_checksum_from_png.read_checksum(filehandle)
40 self.assertEquals(None, checksum)
/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/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/webkit/Tools/DumpRenderTree/
H A DPixelDumpSupport.h41 void dumpBitmap(BitmapContext*, const char* checksum);
43 void printPNG(const unsigned char* data, const size_t dataLength, const char* checksum);
H A DPixelDumpSupport.cpp87 static void convertChecksumToPNGComment(const char* checksum, Vector<unsigned char>& bytesToAdd) argument
95 bytesToAdd.append(checksum, checksumLength);
99 dataToCrc.append(checksum, checksumLength);
108 const int pngIHDRChunkLength = 25; // chunk length + "IHDR" + 13 bytes of data + checksum
112 void printPNG(const unsigned char* data, const size_t dataLength, const char* checksum) argument
115 convertChecksumToPNGComment(checksum, bytesToAdd);
/external/dropbear/libtomcrypt/src/mac/pmac/
H A Dpmac_done.c39 /* 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];
H A Dpmac_process.c57 *((LTC_FAST_TYPE*)(&pmac->checksum[y])) ^= *((LTC_FAST_TYPE*)(&Z[y]));
76 pmac->checksum[x] ^= Z[x];
/external/chromium/chrome/browser/sync/util/
H A Dcrypto_helpers_unittest.cc15 std::string checksum("e2c865db4162bed963bfaa9ef6ac18f0");
16 ASSERT_EQ(checksum, md5.GetHexDigest());
/external/webkit/Tools/DumpRenderTree/cairo/
H A DPixelDumpSupportCairo.cpp52 static void printPNG(cairo_surface_t* image, const char* checksum) argument
61 printPNG(data, dataLength, checksum);
82 md5Context.checksum(hash);
89 void dumpBitmap(BitmapContext* context, const char* checksum) argument
92 printPNG(surface, checksum);
/external/webkit/Source/JavaScriptCore/wtf/
H A DMD5.h48 // checksum has a side effect of resetting the state of the object.
49 void checksum(Vector<uint8_t, 16>&);
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
H A Ddryrun.py127 checksum = 'test-checksum'
132 checksum = 'test-checksum-mismatch'
137 checksum = self._port.expected_checksum(driver_input.filename)
139 return base.DriverOutput(text, image, checksum, audio, crash=False,
H A Dmock_drt.py170 self.checksum = None
173 self.checksum = vals[1]
211 if self._options.pixel_tests and test_input.checksum:
229 if self._options.pixel_tests and test_input.checksum:
232 self._stdout.write('ExpectedHash: %s\n' % test_input.checksum)
233 if actual_checksum != test_input.checksum:
248 self.uri, self.timeout, self.checksum = vals
252 self.checksum = None
267 if self._options.pixel_tests and test_input.checksum:
269 if actual_checksum != test_input.checksum
[all...]
H A Dmock_drt_unittest.py106 def input_line(self, port, test_name, checksum=None):
115 if checksum:
116 return url + "'" + checksum + '\n'
198 self.assertTest('failures/expected/checksum.html', pixel_tests=True,
199 expected_checksum='wrong-checksum',
201 'checksum-txt',
204 'ActualHash: checksum-checksum\n',
205 'ExpectedHash: wrong-checksum\n',
208 'checksum\x8
[all...]
/external/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;
197 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
/external/dropbear/libtomcrypt/src/encauth/ocb/
H A Ds_ocb_done.c22 * 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/grub/stage2/
H A Dmb_header.h37 unsigned checksum; member in struct:multiboot_header
H A Dsmp-imps.h109 unsigned char checksum; member in struct:imps_fps
124 unsigned char checksum; member in struct:imps_cth
/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)) {
/external/webkit/Tools/DumpRenderTree/cg/
H A DPixelDumpSupportCG.cpp58 static void printPNG(CGImageRef image, const char* checksum) argument
68 printPNG(static_cast<const unsigned char*>(data), static_cast<size_t>(dataLength), checksum); local
109 void dumpBitmap(BitmapContext* context, const char* checksum) argument
112 printPNG(image.get(), checksum);
/external/chromium/chrome/browser/safe_browsing/
H A Dprefix_set.cc49 // Used to build a checksum from the data used to construct the
53 uint32 checksum = static_cast<uint32>(sorted_prefixes[0]); local
54 checksum ^= static_cast<uint32>(deltas_.size());
70 checksum ^= static_cast<uint32>(sorted_prefixes[i]);
71 checksum ^= static_cast<uint32>(deltas_.size());
75 checksum ^= static_cast<uint32>(delta16);
84 checksum_ = checksum;
332 uint32 checksum = 0; local
335 checksum ^= static_cast<uint32>(index_[ii].first);
336 checksum
[all...]
/external/chromium/chrome/browser/password_manager/
H A Die7_password.cc97 unsigned char checksum = 0; local
102 checksum += hash_byte;
105 url_hash += StringPrintf(L"%2.2X", checksum);
/external/grub/docs/
H A Dmultiboot.h53 unsigned long checksum; member in struct:multiboot_header
/external/kernel-headers/original/linux/
H A Dicmp.h71 __u16 checksum; member in struct:icmphdr
/external/chromium/sdch/open-vcdiff/src/
H A Dencodetable.h25 #include "checksum.h"
97 void AddChecksum(VCDChecksum checksum) { argument
99 checksum_ = checksum;
213 // If true, an Adler32 checksum of the target window data will be written as
218 // The checksum to be written to the current target window,
223 // the checksum all at once and to call AddChecksum() with that value.

Completed in 821 milliseconds

12345