Searched refs:checksum (Results 101 - 125 of 216) sorted by relevance

123456789

/external/chromium_org/base/metrics/
H A Dhistogram_unittest.cc401 uint32 checksum; local
402 EXPECT_TRUE(iter.ReadUInt32(&checksum));
403 EXPECT_EQ(histogram->bucket_ranges()->checksum(), checksum);
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_custom_dictionary.cc32 // Prefix for the checksum in the dictionary file.
35 // The status of the checksum in a custom spellcheck dictionary.
57 // valid checksum, then returns ChecksumStatus::VALID. If the file has an
58 // invalid checksum, then returns ChecksumStatus::INVALID and clears |words|.
66 std::string checksum = contents.substr(pos + strlen(CHECKSUM_PREFIX)); local
68 if (checksum != base::MD5String(contents))
87 // the dictionary checksum is not valid, but backup checksum is valid, then
94 // Load the contents and verify the checksum.
101 // Load the backup and verify its checksum
120 std::string checksum = base::MD5String(content.str()); local
121 content << CHECKSUM_PREFIX << checksum; local
[all...]
/external/chromium_org/printing/
H A Dimage.cc55 std::string Image::checksum() const { function in class:printing::Image
/external/chromium_org/rlz/lib/
H A Drlz_lib.cc411 // Find the checksum line.
418 // Calculate checksum of message preceeding checksum line.
433 // Find the checksum value on the response.
439 std::string checksum = response_string.substr(checksum_begin, local
441 base::TrimWhitespaceASCII(checksum, base::TRIM_ALL, &checksum);
446 return calculated_crc == HexStringToInteger(checksum.c_str());
/external/chromium_org/sdch/open-vcdiff/src/
H A Dheaderparser.h22 #include "checksum.h" // VCDChecksum
310 // Adler32 checksum - unsigned 32-bit integer (VarintBE format)
319 VCDChecksum* checksum);
/external/chromium_org/third_party/icu/source/samples/layout/
H A Dsfnt.h27 le_uint32 checksum; member in struct:DirectoryEntry
/external/chromium_org/third_party/icu/source/test/letest/
H A DFontObject.h24 le_uint32 checksum; member in struct:DirectoryEntry
/external/chromium_org/third_party/icu/source/test/perf/leperf/
H A DFontObject.h24 le_uint32 checksum; member in struct:DirectoryEntry
/external/guava/guava/src/com/google/common/io/
H A DByteStreams.java722 * Computes and returns the checksum value for a supplied input stream.
723 * The checksum object is reset when this method returns successfully.
726 * @param checksum the checksum object
728 * checksum object with all of the bytes in the stream
732 final Checksum checksum) throws IOException {
736 checksum.update(buf, off, len);
742 long result = checksum.getValue();
743 checksum.reset();
731 getChecksum(InputSupplier<? extends InputStream> supplier, final Checksum checksum) argument
/external/icu/icu4c/source/samples/layout/
H A Dsfnt.h27 le_uint32 checksum; member in struct:DirectoryEntry
/external/icu/icu4c/source/test/letest/
H A DFontObject.h24 le_uint32 checksum; member in struct:DirectoryEntry
/external/icu/icu4c/source/test/perf/leperf/
H A DFontObject.h24 le_uint32 checksum; member in struct:DirectoryEntry
/external/kernel-headers/original/uapi/linux/
H A Dedd.h169 __u8 checksum; member in struct:edd_device_params
/external/skia/src/gpu/gl/
H A DGrGLProgramDesc.h47 // Gets the a checksum of the key. Can be used as a hash value for a fast lookup in a cache.
177 // The key is 1 uint32_t for the length, followed another for the checksum, the header, and then
197 uint32_t* checksum() { return this->atOffset<uint32_t, kChecksumOffset>(); } function in class:GrGLProgramDesc
/external/srec/srec/include/
H A Dutteranc.h225 unsigned long checksum; member in struct:_UttHeader
/external/android-clat/
H A Dclatd_test.cpp29 #include "checksum.h"
47 55, (p), (c1), (c2), /* TTL=55, protocol=p, checksum=c1,c2 */ \
70 0x00, UDP_LEN, 0, 0, /* Length 21, checksum empty for now */
75 0x08, 0x00, 0x88, 0xd0, /* Type 8, code 0, checksum 0x88d0 */ \
79 0x80, 0x00, 0xc3, 0x42, /* Type 128, code 0, checksum 0xc342 */ \
213 EXPECT_EQ(0, ip_checksum(ip, sizeof(*ip))) << msg << ": Incorrect IP checksum\n";
257 // If we understand the payload, verify the checksum.
259 uint16_t checksum; local
264 checksum = ip_checksum_finish(ip_checksum_add(pseudo_checksum, payload, payload_length));
267 checksum
848 uint16_t checksum; member in struct:checksum_data
[all...]
/external/chromium_org/tools/perf_expectations/
H A Dmake_expectations.py116 # Include an updated checksum.
149 parser.add_option('-s', '--checksum', action='store_true',
181 # Verify the checksum.
188 OutputMessage('checksum matches, skipping')
190 elif options.checksum:
344 # Calculate the new checksum to test if this is the only thing that may have
362 if options.checksum:
/external/tcpdump/
H A DAndroid.mk4 tcpdump_CSRC = addrtoname.c af.c checksum.c cpack.c gmpls.c oui.c gmt2local.c ipproto.c \
/external/chromium_org/third_party/brotli/src/woff2/
H A Dwoff2_dec.cc630 uint32_t checksum = 0; local
633 checksum += (buf[i] << 24) | (buf[i + 1] << 16) |
636 return checksum;
653 uint32_t checksum = ComputeChecksum(table_data, table_length); local
654 StoreU32(dst, kSfntHeaderSize + i * kSfntEntrySize + 4, checksum);
655 file_checksum += checksum;
830 offset = StoreU32(result, offset, 0); // checksum, to fill in later
/external/chromium_org/third_party/ots/src/
H A Dwoff2.cc740 uint32_t checksum = 0; local
743 checksum += (buf[i] << 24) | (buf[i + 1] << 16) |
746 return checksum;
766 uint32_t checksum = ComputeChecksum(table_data, table_length); local
767 StoreU32(dst, kSfntHeaderSize + i * kSfntEntrySize + 4, checksum);
768 file_checksum += checksum; // The addition is mod 2^32
966 offset = StoreU32(result, offset, 0); // checksum, to fill in later
/external/chromium_org/chrome/renderer/printing/
H A Dprint_web_view_helper_browsertest.cc379 const char* checksum; member in struct:printing::__anon5837::TestPageData
445 // Retrieve the checksum of the bitmap data from the pseudo printer and
450 if (kTestPages[i].checksum)
451 EXPECT_EQ(kTestPages[i].checksum, bitmap_actual);
/external/chromium_org/native_client_sdk/src/build_tools/tests/
H A Dsdktools_commands_test.py65 archive.checksum = sha1
81 self.assertTrue(archive.checksum in output)
303 archive.checksum = 0
306 self.assertTrue('SHA1 checksum mismatch' in stdout)
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Daudio_coding_module_unittest.cc543 test::AudioChecksum checksum; local
552 test::AudioSinkFork output(&checksum, &output_file);
559 std::string checksum_string = checksum.Finish();
602 // packet header and updates a payload checksum with the new payload. The
603 // decoded output from the receiver is also verified with a (separate) checksum.
661 // Have the output audio sent both to file and to the checksum calculator.
671 // Extract and verify the audio checksum.
675 // Extract and verify the payload checksum.
718 // Update the checksum.
H A Daudio_coding_module_unittest_oldapi.cc550 test::AudioChecksum checksum; local
559 test::AudioSinkFork output(&checksum, &output_file);
569 std::string checksum_string = checksum.Finish();
612 // packet header and updates a payload checksum with the new payload. The
613 // decoded output from the receiver is also verified with a (separate) checksum.
674 // Have the output audio sent both to file and to the checksum calculator.
684 // Extract and verify the audio checksum.
688 // Extract and verify the payload checksum.
731 // Update the checksum.
/external/stressapptest/src/
H A Dos.cc226 AdlerChecksum *checksum) {
228 return AdlerMemcpyAsm(dstmem, srcmem, size_in_bytes, checksum);
230 return AdlerMemcpyWarmC(dstmem, srcmem, size_in_bytes, checksum);
224 AdlerMemcpyWarm(uint64 *dstmem, uint64 *srcmem, unsigned int size_in_bytes, AdlerChecksum *checksum) argument

Completed in 5384 milliseconds

123456789