Home
last modified time | relevance | path

Searched refs:calcChecksum (Results 1 – 6 of 6) sorted by relevance

/external/fonttools/Tests/ttLib/
Dsfnt_test.py4 from fontTools.ttLib.sfnt import calcChecksum, SFNTReader
9 assert calcChecksum(b"abcd") == 1633837924
10 assert calcChecksum(b"abcdxyz") == 3655064932
Dwoff2_test.py487 w2CheckSum = ttLib.sfnt.calcChecksum(w2data)
488 normCheckSum = ttLib.sfnt.calcChecksum(normData)
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py110 checksum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
112 checksum = calcChecksum(data)
260 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
264 entry.checkSum = calcChecksum(data)
374 checksums.append(calcChecksum(directory))
572 def calcChecksum(data): function
Dwoff2.py14 sfntDirectoryEntrySize, calcChecksum)
319 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
321 entry.checkSum = calcChecksum(data)
389 checksums.append(calcChecksum(directory))
/external/pdfium/xfa/fxfa/
Dcxfa_ffbarcode.cpp199 Optional<bool> calcChecksum = barcode_->GetChecksum(); in UpdateWidgetProperty() local
200 if (calcChecksum) in UpdateWidgetProperty()
201 pBarCodeWidget->SetCalChecksum(*calcChecksum); in UpdateWidgetProperty()
/external/fonttools/Lib/fontTools/
Dttx.py243 from fontTools.ttLib.sfnt import calcChecksum
245 checkSum = calcChecksum(data)