/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
H A D | read_checksum_from_png_unittest.py | 34 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 D | 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/stressapptest/src/ |
H A D | 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...] |
H A D | 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 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 D | PixelDumpSupport.h | 41 void dumpBitmap(BitmapContext*, const char* checksum); 43 void printPNG(const unsigned char* data, const size_t dataLength, const char* checksum);
|
H A D | PixelDumpSupport.cpp | 87 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 D | 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];
|
H A D | pmac_process.c | 57 *((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 D | crypto_helpers_unittest.cc | 15 std::string checksum("e2c865db4162bed963bfaa9ef6ac18f0"); 16 ASSERT_EQ(checksum, md5.GetHexDigest());
|
/external/webkit/Tools/DumpRenderTree/cairo/ |
H A D | PixelDumpSupportCairo.cpp | 52 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 D | MD5.h | 48 // 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 D | dryrun.py | 127 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 D | mock_drt.py | 170 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 D | mock_drt_unittest.py | 106 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 D | svn-unapply | 74 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 D | 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/grub/stage2/ |
H A D | mb_header.h | 37 unsigned checksum; member in struct:multiboot_header
|
H A D | smp-imps.h | 109 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 D | SDL_fbelo.c | 134 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 D | PixelDumpSupportCG.cpp | 58 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 D | prefix_set.cc | 49 // 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 D | ie7_password.cc | 97 unsigned char checksum = 0; local 102 checksum += hash_byte; 105 url_hash += StringPrintf(L"%2.2X", checksum);
|
/external/grub/docs/ |
H A D | multiboot.h | 53 unsigned long checksum; member in struct:multiboot_header
|
/external/kernel-headers/original/linux/ |
H A D | icmp.h | 71 __u16 checksum; member in struct:icmphdr
|
/external/chromium/sdch/open-vcdiff/src/ |
H A D | encodetable.h | 25 #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.
|