Lines Matching defs:version
14 * Maximal allowed QR code version
41 private $version = 0;
288 $this->dataPtr = $this->addData($this->length, 8); /* #version 1-9 */
303 $this->dataPtr = $this->addData($this->length, 9); /* #version 1-9 */
336 $this->dataPtr = $this->addData($this->length, 10); /* #version 1-9 */
389 // version determination
390 $this->version = 1;
394 if ($maxBits[$i] >= $this->bitCount + $dataNumCorrection[$this->version]) {
399 $this->version++;
402 if ($this->version > $this->maxVersion) {
403 throw new \Mpdf\QrCode\QrCodeException('QrCode version too large');
407 $this->bitCount += $dataNumCorrection[$this->version];
408 $this->bitData[$this->dataPtr] += $dataNumCorrection[$this->version];
417 $this->totalWordLimit = $maxWordCountArray[$this->version];
418 $this->size = 17 + 4 * $this->version;
492 $this->matrixRemain = $matrixRemainBits[$this->version];
495 // data file of geometry & mask for version V, ecc level N
498 $filename = __DIR__ . '/../data/qrv' . $this->version . '_' . $this->ec . '.dat';
695 $this->final = unpack('C*', file_get_contents(__DIR__ . '/../data/modele' . $this->version . '.dat'));