Lines Matching refs:mode

175         public static function tcpdfBarcodeArray($code, $mode = 'QR,L', $tcPdfVersion = '4.5.037')  argument
179 if (!is_array($mode))
180 $mode = explode(',', $mode);
184 if (count($mode) > 1) {
185 $eccLevel = $mode[1];
447 public static function lengthIndicator($mode, $version) argument
449 if ($mode == QR_MODE_STRUCTURE)
460 return self::$lengthTableBits[$mode][$l];
464 public static function maximumWords($mode, $version) argument
466 if($mode == QR_MODE_STRUCTURE)
477 $bits = self::$lengthTableBits[$mode][$l];
480 if($mode == QR_MODE_KANJI) {
1046 public $mode; variable in QRinputItem
1051 public function __construct($mode, $size, $data, $bstream = null) argument
1059 if(!QRinput::check($mode, $size, $setData)) {
1060 throw new Exception('Error m:'.$mode.',s:'.$size.',d:'.join(',',$setData));
1064 $this->mode = $mode;
1216 switch($this->mode) {
1226 $l = QRspec::lengthIndicator($this->mode, $version);
1241 $words = QRspec::maximumWords($this->mode, $version);
1245 $st1 = new QRinputItem($this->mode, $words, $this->data);
1246 … $st2 = new QRinputItem($this->mode, $this->size - $words, array_slice($this->data, $words));
1262 switch($this->mode) {
1351 public function append($mode, $size, $data) argument
1354 $entry = new QRinputItem($mode, $size, $data);
1391 if($item->mode != QR_MODE_STRUCTURE) {
1510 public static function check($mode, $size, $data) argument
1515 switch($mode) {
1560 public static function lengthOfCode($mode, $version, $bits) argument
1562 $payload = $bits - 4 - QRspec::lengthIndicator($mode, $version);
1563 switch($mode) {
1595 $maxsize = QRspec::maximumWords($mode, $version);
2040 $mode = $this->identifyMode($p);
2042 if($mode == QR_MODE_8) {
2050 if($mode == QR_MODE_AN) {
2140 $mode = $this->identifyMode($p);
2141 if($mode == QR_MODE_KANJI) {
2144 if($mode == QR_MODE_NUM) {
2157 } else if($mode == QR_MODE_AN) {
2192 $mode = $this->identifyMode(0);
2194 switch ($mode) {
2220 $mode = self::identifyMode(substr($this->dataStr, $p), $this->modeHint);
2221 if($mode == QR_MODE_KANJI) {