/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/bluetooth/glib/glib/ |
H A D | gchecksum.h | 66 void g_checksum_reset (GChecksum *checksum); 67 GChecksum * g_checksum_copy (const GChecksum *checksum); 68 void g_checksum_free (GChecksum *checksum); 69 void g_checksum_update (GChecksum *checksum, 72 G_CONST_RETURN gchar *g_checksum_get_string (GChecksum *checksum); 73 void g_checksum_get_digest (GChecksum *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/bluetooth/glib/tests/ |
H A D | checksum-test.c | 591 GChecksum *checksum; local 597 checksum = g_checksum_new (checksum_type); 600 g_checksum_update (checksum, (const guchar *)p, 604 if (strcmp (g_checksum_get_string (checksum), sum) != 0) 606 g_print ("Invalid %s checksum for `%.*s' (length %d) counting by %d:\n" 611 g_checksum_get_string (checksum), 616 g_checksum_free (checksum); 630 char *checksum; local 632 checksum = g_compute_checksum_for_string (checksum_type, 635 if (strcmp (checksum, expecte [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...] |
/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.12/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.
|
/external/elfutils/libelf/ |
H A D | elf32_checksum.c | 1 /* Compute simple checksum from permanent parts of the ELF file. 46 elfw2(LIBELFBITS,checksum) (elf) 96 /* To compute the checksum we need to get to the data. For 140 INTDEF(elfw2(LIBELFBITS,checksum))
|