Searched refs:checksum (Results 51 - 75 of 216) sorted by relevance

123456789

/external/chromium_org/third_party/leveldatabase/src/db/
H A Dlog_reader.cc18 Reader::Reader(SequentialFile* file, Reporter* reporter, bool checksum, argument
22 checksum_(checksum),
246 ReportCorruption(drop_size, "checksum mismatch");
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dfont_parsing_test.cc60 EXPECT_EQ(gdef_header->checksum(), TTF_CHECKSUM[SAMPLE_TTF_FEAT]);
77 EXPECT_EQ(header_header->checksum(), TTF_CHECKSUM[SAMPLE_TTF_HEAD]);
/external/libnfc-nci/src/nfc/tags/
H A Dce_t3t.c219 UINT16 block_number, service_code, checksum, checksum_rx; local
288 checksum=0;
291 checksum+=p_temp[j];
294 /* Compare calcuated checksum with received checksum */
295 if (checksum != checksum_rx)
407 UINT16 block_number, service_code, checksum; local
485 checksum = 0;
488 checksum+=p_temp[i];
490 UINT16_TO_BE_STREAM (p_dst, checksum);
[all...]
/external/sfntly/cpp/src/test/
H A Dfont_parsing_test.cc60 EXPECT_EQ(gdef_header->checksum(), TTF_CHECKSUM[SAMPLE_TTF_FEAT]);
77 EXPECT_EQ(header_header->checksum(), TTF_CHECKSUM[SAMPLE_TTF_HEAD]);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/
H A DPrettyPatch_test.rb72 matches = pretty.match("INVALID: Image lacks a checksum.")
75 # the warning that the image is missing its checksum.
78 assert_equal(0, pretty.scan(/INVALID\: Image lacks a checksum\./).size)
83 matches = pretty.match("INVALID: Image lacks a checksum.")
89 matches = pretty.match("INVALID: Image lacks a checksum.")
90 assert(!matches, "Png should lack a checksum without an error.")
95 matches = pretty.match("INVALID: Image lacks a checksum.")
96 assert(!matches, "Png should lack a checksum without an error.")
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
H A Dtable.h69 // Get the calculated checksum for the data in the table.
84 // Get the checksum for the table from the record header.
85 virtual int64_t header_checksum() { return header_->checksum(); }
/external/kernel-headers/original/uapi/linux/
H A Dsom.h44 unsigned int checksum; member in struct:som_hdr
/external/openssl/crypto/krb5/
H A Dkrb5_asn.h153 ** checksum[1] OCTET STRING
159 ASN1_OCTET_STRING *checksum; member in struct:krb5_checksum_st
/external/openssl/include/openssl/
H A Dkrb5_asn.h153 ** checksum[1] OCTET STRING
159 ASN1_OCTET_STRING *checksum; member in struct:krb5_checksum_st
/external/sfntly/cpp/src/sfntly/table/
H A Dtable.h69 // Get the calculated checksum for the data in the table.
84 // Get the checksum for the table from the record header.
85 virtual int64_t header_checksum() { return header_->checksum(); }
/external/tcpdump/
H A Dappletalk.h39 u_int16_t checksum; member in struct:atDDP
H A Dchecksum.c22 "@(#) $Header: /tcpdump/master/tcpdump/checksum.c,v 1.4 2006-09-25 09:23:32 hannes Exp $";
131 /* precompute checksum tables */
140 * Creates the OSI Fletcher checksum. See 8473-1, Appendix C, section C.3.
141 * The checksum field of the passed PDU does not need to be reset to zero.
152 u_int16_t checksum; local
160 * Ignore the contents of the checksum field.
191 checksum = ((x << 8) | y);
193 return checksum;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dmock_drt_unittest.py85 def input_line(self, port, test_name, pixel_tests, checksum=None):
91 if checksum:
92 url += "'" + checksum
165 expected_checksum='image_checksum-checksum',
170 'ActualHash: image_checksum-checksum\n',
171 'ExpectedHash: image_checksum-checksum\n',
187 self.assertTest('passes/reftest.html', True, expected_checksum='mock-checksum', expected_text='reference text\n')
190 self.assertTest('passes/mismatch.html', True, expected_checksum='mock-checksum', expected_text='reference text\n')
H A Dmock_drt.py199 checksum = None
205 checksum = vals[2]
214 return DriverInput(test_name, 0, checksum, should_run_pixel_tests, args=[])
227 actual_checksum = 'mock-checksum'
231 actual_checksum = 'not-mock-checksum'
/external/fonttools/Lib/fontTools/ttLib/
H A Dsfnt.py80 checksum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
82 checksum = calcChecksum(data)
85 assert checksum == entry.checksum, "bad checksum for '%s' table" % tag
86 elif checksum != entry.checkSum:
88 print("bad checksum for '%s' table" % tag)
242 # TODO(behdad) I'm fairly sure the checksum for woff is not working correctly.
245 # Create a SFNT directory for checksum calculation purposes
259 checksum
[all...]
/external/fonttools/Tools/fontTools/ttLib/
H A Dsfnt.py80 checksum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
82 checksum = calcChecksum(data)
85 assert checksum == entry.checksum, "bad checksum for '%s' table" % tag
86 elif checksum != entry.checkSum:
88 print("bad checksum for '%s' table" % tag)
242 # TODO(behdad) I'm fairly sure the checksum for woff is not working correctly.
245 # Create a SFNT directory for checksum calculation purposes
259 checksum
[all...]
/external/iputils/
H A Dclockdiff.c173 oicp->checksum = 0;
193 oicp->checksum = 0;
198 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp) + 12);
349 oicp->checksum = 0;
371 oicp->checksum = 0;
376 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp)+12);
/external/chromium_org/chrome/renderer/printing/
H A Dmock_printer.cc263 unsigned int page, std::string* checksum) const {
266 *checksum = pages_[page]->image().checksum();
H A Dmock_printer.h99 bool GetBitmapChecksum(unsigned int page, std::string* checksum) const;
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dmanifest_util.py25 VALID_ARCHIVE_KEYS = frozenset(['host_os', 'size', 'checksum', 'url'])
141 checksum = self.get('checksum', None)
142 if not checksum:
143 raise Error('Archive "%s" has no checksum' % host_os)
144 elif not isinstance(checksum, dict):
145 raise Error('Archive "%s" has a checksum, but it is not a dict' % host_os)
146 elif not len(checksum):
147 raise Error('Archive "%s" has an empty checksum dict' % host_os)
156 """Update the size and checksum informatio
[all...]
/external/chromium_org/third_party/freetype/src/truetype/
H A Dttobjs.c192 FT_UInt32 checksum = 0; local
200 checksum += (FT_UInt32)FT_GET_ULONG();
203 checksum += (FT_UInt32)( FT_GET_BYTE() << ( i * 8 ) );
207 return checksum;
344 FT_ULong checksum; local
359 checksum = 0;
385 if ( !checksum )
386 checksum = tt_get_sfnt_checksum( face, i );
388 if ( sfnt_id[j][k].CheckSum == checksum )
/external/chromium_org/third_party/skia/src/core/
H A DSkPictureFlat.h286 // Stamp the index, size and checksum in the header.
311 if (this->checksum() != that.checksum() || this->flatSize() != that.flatSize()) {
320 uint32_t checksum() const { return fChecksum; } function in class:SkFlatData
343 static uint32_t Hash(const SkFlatData& flat) { return flat.checksum(); }
/external/chromium_org/third_party/webrtc/test/
H A Drtp_file_reader.cc471 uint16_t checksum; local
477 TRY_PCAP(Read(&checksum, true));
503 uint16_t checksum; local
507 TRY_PCAP(Read(&checksum, true));
/external/freetype/src/truetype/
H A Dttobjs.c193 FT_UInt32 checksum = 0; local
201 checksum += (FT_UInt32)FT_GET_ULONG();
204 checksum += (FT_UInt32)( FT_GET_BYTE() << ( i * 8 ) );
208 return checksum;
345 FT_ULong checksum; local
360 checksum = 0;
386 if ( !checksum )
387 checksum = tt_get_sfnt_checksum( face, i );
389 if ( sfnt_id[j][k].CheckSum == checksum )
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttobjs.c192 FT_UInt32 checksum = 0; local
200 checksum += (FT_UInt32)FT_GET_ULONG();
203 checksum += (FT_UInt32)( FT_GET_BYTE() << ( i * 8 ) );
207 return checksum;
344 FT_ULong checksum; local
359 checksum = 0;
385 if ( !checksum )
386 checksum = tt_get_sfnt_checksum( face, i );
388 if ( sfnt_id[j][k].CheckSum == checksum )

Completed in 1820 milliseconds

123456789