Lines Matching refs:checksum
309 $record['checksum'] = [$this->read_ushort(), $this->read_ushort()];
326 $checksum = $this->calcChecksum($table);
331 $checksum = $this->sub32($checksum, $adjustment);
333 $xchecksum = $t['checksum'];
334 if ($xchecksum != $checksum) {
335 throw new \Mpdf\Exception\FontException(sprintf('TTF file "%s": invalid checksum %s table: %s (expected %s)', $this->filename, dechex($checksum[0]) . dechex($checksum[1]), $t['tag'], dechex($xchecksum[0]) . dechex($xchecksum[1])));
4740 $checksum = $this->calcChecksum($data);
4741 $stm .= pack('nn', $checksum[0], $checksum[1]);
4753 $checksum = $this->calcChecksum($stm);
4754 $checksum = $this->sub32([0xB1B0, 0xAFBA], $checksum);
4755 $chk = pack("nn", $checksum[0], $checksum[1]);