Searched defs:checksum (Results 1 - 25 of 59) sorted by relevance

123

/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");
H A Dsvn-apply76 sub checksum($);
209 sub checksum($) subroutine
214 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest();
216 return $checksum;
354 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
/external/chromium/chrome/browser/metrics/
H A Dmetrics_service_unittest.cc182 // Corrupt checksum of stored list.
193 // Fetch checksum (last element) and change it.
194 std::string checksum; local
195 EXPECT_TRUE((*(list.end() - 1))->GetAsString(&checksum));
196 checksum[0] = (checksum[0] == 'a') ? 'b' : 'a';
197 EXPECT_TRUE(list.Set(2, Value::CreateStringValue(checksum)));
/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/bluetooth/glib/tests/
H A Dchecksum-test.c591 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/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
H A DDESedeWrapEngine.java53 // checksum digest
306 * - Use the first 8 octets of this hash as the checksum value.
309 * @return the CMS checksum.
328 * @param checksum
334 byte[] checksum)
336 return Arrays.constantTimeAreEqual(calculateCMSKeyChecksum(key), checksum);
332 checkCMSKeyChecksum( byte[] key, byte[] checksum) argument
/external/chromium/base/metrics/
H A Dhistogram_unittest.cc390 uint32 checksum = i; local
393 if (checksum & 1)
394 checksum = kReversedPolynomial ^ (checksum >> 1);
396 checksum >>= 1;
398 EXPECT_EQ(Histogram::kCrcTable[i], checksum);
/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.
H A Dencodetable_test.cc25 #include "checksum.h"
430 const VCDChecksum checksum = 0xFFFFFFFF; // would be negative if signed local
431 interleaved_writer.AddChecksum(checksum);
446 ExpectByte(0x8F); // checksum byte 1
447 ExpectByte(0xFF); // checksum byte 2
448 ExpectByte(0xFF); // checksum byte 3
449 ExpectByte(0xFF); // checksum byte 4
450 ExpectByte(0x7F); // checksum byte 5
H A Dvcdecoder_test.cc19 #include "checksum.h"
85 void VCDiffDecoderTest::AddChecksum(VCDChecksum checksum) { argument
86 int32_t checksum_as_int32 = static_cast<int32_t>(checksum);
89 // Adjust delta window size to include checksum.
H A Dheaderparser.cc291 VCDChecksum* checksum) {
296 ParseChecksum("Adler32 checksum value", checksum);
286 ParseSectionLengths( bool has_checksum, size_t* add_and_run_data_length, size_t* instructions_and_sizes_length, size_t* addresses_length, VCDChecksum* checksum) argument
/external/grub/stage2/
H A Dmb_header.h37 unsigned checksum; member in struct:multiboot_header
H A Dbios.c230 unsigned char checksum;
228 unsigned char checksum; member in struct:drive_parameters
H A Dsmp-imps.h109 unsigned char checksum; member in struct:imps_fps
124 unsigned char checksum; member in struct:imps_cth
/external/webkit/Source/JavaScriptCore/wtf/
H A DMD5.cpp45 * and then call checksum, which will fill a supplied 16-byte array
72 md5.checksum(digest);
262 void MD5::checksum(Vector<uint8_t, 16>& digest) function in class:WTF::MD5
298 // Now, m_buf contains checksum result.
/external/webkit/Tools/DumpRenderTree/
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/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/Tools/Scripts/webkitpy/common/net/
H A Dtestoutput.py178 def checksum(self): member in class:ImageTestOutput
/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/chromium/chrome/browser/bookmarks/
H A Dbookmark_codec_unittest.cc91 Value* EncodeHelper(BookmarkModel* model, std::string* checksum) { argument
106 *checksum = computed_checksum;
138 // Stored checksum should be as expected.
213 // Undo the change and make sure the checksum is same as original.
/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/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_mac.h63 checksum[MAXBLOCKSIZE]; /* current checksum */ member in struct:__anon4067
147 checksum[MAXBLOCKSIZE]; /* current checksum */ member in struct:__anon4069
/external/freetype/src/truetype/
H A Dttobjs.c191 FT_UInt32 checksum = 0; local
199 checksum += (FT_UInt32)FT_GET_ULONG();
202 checksum += (FT_UInt32)( FT_GET_BYTE() << ( i * 8 ) );
206 return checksum;
323 FT_ULong checksum; local
338 checksum = 0;
364 if ( !checksum )
365 checksum = tt_get_sfnt_checksum( face, i );
367 if ( sfnt_id[j][k].CheckSum == checksum )
/external/grub/docs/
H A Dmultiboot.h53 unsigned long checksum; member in struct:multiboot_header
/external/guava/src/com/google/common/io/
H A DFiles.java572 * Computes and returns the checksum value for a file.
573 * The checksum object is reset when this method returns successfully.
576 * @param checksum the checksum object
578 * checksum object with all of the bytes in the file
581 public static long getChecksum(File file, Checksum checksum) argument
583 return ByteStreams.getChecksum(newInputStreamSupplier(file), checksum);

Completed in 2073 milliseconds

123