Home
last modified time | relevance | path

Searched refs:checkSum (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/fxbarcode/oned/
DBC_OnedCode128Writer.cpp138 int32_t checkSum = 0; in EncodeImpl() local
140 checkSum = Encode128B(contents, &patterns); in EncodeImpl()
142 checkSum = Encode128C(contents, &patterns); in EncodeImpl()
144 checkSum %= 103; in EncodeImpl()
145 patterns.push_back(checkSum); in EncodeImpl()
169 int32_t checkSum = CODE_START_B * checkWeight; in Encode128B() local
173 checkSum += patternIndex * checkWeight++; in Encode128B()
175 return checkSum; in Encode128B()
183 int32_t checkSum = CODE_START_C * checkWeight; in Encode128C() local
200 checkSum += patternIndex * checkWeight++; in Encode128C()
[all …]
/external/fonttools/Lib/fontTools/
Dttx.py245 checkSum = calcChecksum(data)
247 checkSum = int(entry.checkSum)
248 if checkSum < 0:
249 checkSum = checkSum + 0x100000000
250 checksum = "0x%08X" % checkSum
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py115 assert checksum == entry.checkSum, "bad checksum for '%s' table" % tag
116 elif checksum != entry.checkSum:
260 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
264 entry.checkSum = calcChecksum(data)
355 checksums.append(self.tables[tags[i]].checkSum)
366 sfntEntry.checkSum = entry.checkSum
Dwoff2.py319 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
321 entry.checkSum = calcChecksum(data)
372 checksums.append(self.tables[tags[i]].checkSum)
381 sfntEntry.checkSum = entry.checkSum
/external/testng/src/test/java/test/factory/
DFactoryInSeparateClass.java35 public void checkSum() { in checkSum() method in FactoryInSeparateClass
/external/harfbuzz_ng/src/
Dhb-open-file.hh73 CheckSum checkSum; /* CheckSum for this table. */ member
166 rec.checkSum.set_for_data (start, end - start); in serialize()
181 checksum = checksum + rec.checkSum; in serialize()
Dhb-uniscribe.cc438 record.checkSum.set_for_data (&name, padded_name_table_length); in _hb_rename_font()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp1456 const UInt32 *checkSum, IHasher *hf, in CrcBig() argument
1478 if (checkSum && sum != *checkSum) in CrcBig()
2220 const UInt32 *checkSum, in CrcBench() argument
2286 if (checkSum) in CrcBench()
2288 info.CheckSum = *checkSum; in CrcBench()
2289 info.CheckSumDefined = (checkSum && (i == 0)); in CrcBench()
2328 RINOK(CrcBig(buf, bufferSize, numIterations, checkSum, hasher, _file)); in CrcBench()
3090 const UInt32 *checkSum = NULL; in Bench() local
3112 checkSum = &h.CheckSum; in Bench()
3167 (pow == kNumHashDictBits) ? checkSum : NULL, method, NULL, NULL, false, 0)); in Bench()
/external/fonttools/Tests/ttLib/
Dwoff2_test.py504 self.assertEqual(entry.checkSum, self.writer.tables[tag].checkSum)
/external/libabigail/tests/data/test-annotate/
Dtest17-pr19027.so.abi3652 <!-- OT::CheckSum OT::TableRecord::checkSum -->
3653 …<var-decl name='checkSum' type-id='type-id-271' visibility='default' filepath='/tmp/legendre/spack…
/external/libabigail/tests/data/test-read-dwarf/
Dtest17-pr19027.so.abi2332 …<var-decl name='checkSum' type-id='type-id-271' visibility='default' filepath='/tmp/legendre/spack…