Searched refs:checkSum (Results 1 – 10 of 10) sorted by relevance
/external/pdfium/fxbarcode/oned/ |
D | BC_OnedCode128Writer.cpp | 141 int32_t checkSum = 0; in EncodeImpl() local 143 checkSum = Encode128B(contents, &patterns); in EncodeImpl() 145 checkSum = Encode128C(contents, &patterns); in EncodeImpl() 147 checkSum %= 103; in EncodeImpl() 148 patterns.push_back(checkSum); in EncodeImpl() 175 int32_t checkSum = CODE_START_B * checkWeight; in Encode128B() local 179 checkSum += patternIndex * checkWeight++; in Encode128B() 181 return checkSum; in Encode128B() 189 int32_t checkSum = CODE_START_C * checkWeight; in Encode128C() local 206 checkSum += patternIndex * checkWeight++; in Encode128C() [all …]
|
/external/u-boot/tools/ |
D | img2srec.c | 182 uint16_t checkSum; in BuildSRecord() local 206 checkSum = 0; in BuildSRecord() 207 pa = WriteHex(pa, (uint8_t)sRLen, &checkSum); in BuildSRecord() 211 pa = WriteHex(pa, (uint8_t)(addr >> (8 * (addrLen - i))), &checkSum); in BuildSRecord() 216 pa = WriteHex(pa, *data++, &checkSum); in BuildSRecord() 220 checkSum = ~checkSum; in BuildSRecord() 221 pa = WriteHex(pa, (uint8_t)checkSum, &checkSum); in BuildSRecord()
|
/external/fonttools/Lib/fontTools/ |
D | ttx.py | 246 checkSum = calcChecksum(data) 248 checkSum = int(entry.checkSum) 249 if checkSum < 0: 250 checkSum = checkSum + 0x100000000 251 checksum = "0x%08X" % checkSum
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 114 assert checksum == entry.checkSum, "bad checksum for '%s' table" % tag 115 elif checksum != entry.checkSum: 259 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:]) 263 entry.checkSum = calcChecksum(data) 354 checksums.append(self.tables[tags[i]].checkSum) 365 sfntEntry.checkSum = entry.checkSum
|
D | woff2.py | 288 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:]) 290 entry.checkSum = calcChecksum(data) 328 checksums.append(self.tables[tags[i]].checkSum) 337 sfntEntry.checkSum = entry.checkSum
|
/external/harfbuzz_ng/src/ |
D | hb-open-file.hh | 73 CheckSum checkSum; /* CheckSum for this table. */ member 164 rec.checkSum.set_for_data (start, end - start); in serialize() 179 checksum.set (checksum + rec.checkSum); in serialize()
|
D | hb-uniscribe.cc | 430 record.checkSum.set_for_data (&name, padded_name_table_length); in _hb_rename_font()
|
/external/testng/src/test/java/test/factory/ |
D | FactoryInSeparateClass.java | 35 public void checkSum() { in checkSum() method in FactoryInSeparateClass
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 1456 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/ |
D | woff2_test.py | 447 self.assertEqual(entry.checkSum, self.writer.tables[tag].checkSum)
|