/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");
|
H A D | svn-apply | 76 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/android-clat/ |
H A D | checksum.c | 16 * 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 [all...] |
H A D | ipv4.c | 30 #include "checksum.h" 40 * checksum - pseudo-header checksum 44 int icmp_packet(clat_packet out, int pos, const struct icmphdr *icmp, uint32_t checksum, argument 57 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size); 74 uint32_t checksum; local 118 * UDP include parts of the IP header in the checksum. Set the length to zero because we don't 124 // Calculate the pseudo-header checksum. 125 checksum = ipv6_pseudo_header_checksum(0, ip6_targ, len_left); 128 iov_len = icmp_packet(out, pos + 1, (const struct icmphdr *) next_header, checksum, len_lef [all...] |
H A D | ipv6.c | 31 #include "checksum.h" 42 * checksum - pseudo-header checksum (unused) 46 int icmp6_packet(clat_packet out, int pos, const struct icmp6_hdr *icmp6, uint32_t checksum, argument 59 return icmp6_to_icmp(out, pos, icmp6, checksum, payload, payload_size); 91 uint32_t checksum; local 130 * UDP include parts of the IP header in the checksum. Set the length to zero because we don't 136 // Calculate the pseudo-header checksum. 137 checksum = ipv4_pseudo_header_checksum(0, ip_targ, len_left); 141 iov_len = icmp6_packet(out, pos + 1, (const struct icmp6_hdr *) next_header, checksum, [all...] |
/external/chromium/chrome/browser/metrics/ |
H A D | metrics_service_unittest.cc | 182 // 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/libyuv/files/unit_test/ |
H A D | planar_test.cc | 1001 uint32 checksum = HashDjb2(&pixels565[0][0], sizeof(pixels565), 5381); local 1002 EXPECT_EQ(610919429u, checksum);
|
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | DESedeWrapEngine.java | 55 // checksum digest 310 * - Use the first 8 octets of this hash as the checksum value. 313 * @return the CMS checksum. 332 * @param checksum 338 byte[] checksum) 340 return Arrays.constantTimeAreEqual(calculateCMSKeyChecksum(key), checksum); 336 checkCMSKeyChecksum( byte[] key, byte[] checksum) argument
|
/external/chromium/base/metrics/ |
H A D | histogram_unittest.cc | 390 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 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.
|
H A D | encodetable_test.cc | 25 #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 D | vcdecoder_test.cc | 19 #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.
|
/external/grub/stage2/ |
H A D | mb_header.h | 37 unsigned checksum; member in struct:multiboot_header
|
/external/open-vcdiff/src/ |
H A D | encodetable.h | 24 #include "checksum.h" 102 virtual void AddChecksum(VCDChecksum checksum) { argument 104 checksum_ = checksum; 214 // If true, an Adler32 checksum of the target window data will be written as 219 // The checksum to be written to the current target window, 224 // the checksum all at once and to call AddChecksum() with that value.
|
H A D | encodetable_test.cc | 24 #include "checksum.h" 374 const VCDChecksum checksum = 0xFFFFFFFF; // would be negative if signed local 375 interleaved_writer.AddChecksum(checksum); 390 ExpectByte(0x8F); // checksum byte 1 391 ExpectByte(0xFF); // checksum byte 2 392 ExpectByte(0xFF); // checksum byte 3 393 ExpectByte(0xFF); // checksum byte 4 394 ExpectByte(0x7F); // checksum byte 5
|
H A D | vcdecoder_test.cc | 19 #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.
|
/external/skia/src/sfnt/ |
H A D | SkSFNTHeader.h | 58 SK_SFNT_ULONG checksum; member in struct:SkSFNTHeader::TableDirectoryEntry
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
H A D | HeaderItem.java | 57 private int checksum; field in class:HeaderItem 93 checksum = in.readInt(); //checksum 188 out.annotate("checksum"); 274 * Get the checksum that was originally stored as part of this header item 279 * @return The addler32 checksum (as an integer) of the dex file 284 return checksum; 293 * @return The sha1 checksum of the dex file, as a 20-element byte array
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | MD5.cpp | 45 * 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 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/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/Tools/Scripts/webkitpy/common/net/ |
H A D | testoutput.py | 178 def checksum(self): member in class:ImageTestOutput
|
/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/skia/gm/ |
H A D | gm_expectations.h | 31 // The actual type we use to represent a checksum is hidden in here. 33 static inline Json::Value asJsonValue(Checksum checksum) { argument 34 return checksum;
|