Home
last modified time | relevance | path

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

/external/fonttools/Tests/ttLib/
Dsfnt_test.py3 from fontTools.ttLib.sfnt import calcChecksum
7 assert calcChecksum(b"abcd") == 1633837924
8 assert calcChecksum(b"abcdxyz") == 3655064932
Dwoff2_test.py483 w2CheckSum = ttLib.sfnt.calcChecksum(w2data)
484 normCheckSum = ttLib.sfnt.calcChecksum(normData)
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py109 checksum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
111 checksum = calcChecksum(data)
259 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
263 entry.checkSum = calcChecksum(data)
373 checksums.append(calcChecksum(directory))
568 def calcChecksum(data): function
Dwoff2.py14 sfntDirectoryEntrySize, calcChecksum)
312 entry.checkSum = calcChecksum(data[:8] + b'\0\0\0\0' + data[12:])
314 entry.checkSum = calcChecksum(data)
382 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.py244 from fontTools.ttLib.sfnt import calcChecksum
246 checkSum = calcChecksum(data)