Lines Matching refs:this

229 		$cw = $this->getHighLevelEncoding($code);
237 foreach ($this->symbattr as $params) {
248 if ($this->last_enc == self::ENC_EDF) {
252 } elseif (($this->last_enc != self::ENC_ASCII) AND ($this->last_enc != self::ENC_BASE256)) {
264 $cw[] = $this->get253StateCodeword(129, $i);
269 $cw = $this->getErrorCorrection($cw, $params[13], $params[14], $params[15]);
273 $places = $this->getPlacementMap($params[2], $params[3]);
330 $this->barcode_array['num_rows'] = $params[0];
331 $this->barcode_array['num_cols'] = $params[1];
332 $this->barcode_array['bcode'] = $grid;
341 return $this->barcode_array;
390 $c[$j] = $c[($j - 1)] ^ $this->getGFProduct($c[$j], $alog[$i], $log, $alog, $gf);
392 $c[0] = $this->getGFProduct($c[0], $alog[$i], $log, $alog, $gf);
412 $we[$j] = ($we[($j + 1)] ^ $this->getGFProduct($k, $c[($nc - $j - 1)], $log, $alog, $gf));
548 if ($this->isCharMode($chr, self::ENC_ASCII_NUM)) {
550 } elseif ($this->isCharMode($chr, self::ENC_ASCII_EXT)) {
558 if ($this->isCharMode($chr, self::ENC_C40)) {
560 } elseif ($this->isCharMode($chr, self::ENC_ASCII_EXT)) {
566 if ($this->isCharMode($chr, self::ENC_TXT)) {
568 } elseif ($this->isCharMode($chr, self::ENC_ASCII_EXT)) {
574 if ($this->isCharMode($chr, self::ENC_X12) OR $this->isCharMode($chr, self::ENC_C40)) {
576 } elseif ($this->isCharMode($chr, self::ENC_ASCII_EXT)) {
582 if ($this->isCharMode($chr, self::ENC_EDF)) {
584 } elseif ($this->isCharMode($chr, self::ENC_ASCII_EXT)) {
590 if ($this->isCharMode($chr, self::ENC_BASE256)) {
621 if ($this->isCharMode($tmpchr, self::ENC_X12)) {
623 …} elseif (!($this->isCharMode($tmpchr, self::ENC_X12) OR $this->isCharMode($tmpchr, self::ENC_C40)…
645 if ($this->last_enc == self::ENC_EDF) {
681 foreach ($this->symbattr as $key => $matrix) {
704 $this->last_enc = $enc;
707 … > 1) AND ($pos < ($data_length - 1)) AND ($this->isCharMode(ord($data[$pos]), self::ENC_ASCII_NUM…
714 $newenc = $this->lookAheadTest($data, $pos, $enc);
718 $cw[] = $this->getSwitchEncodingCodeword($enc);
724 if ($this->isCharMode($chr, self::ENC_ASCII_EXT)) {
745 $set_id = $this->chset_id[$enc];
747 $charset = $this->chset[$set_id];
766 if (isset($this->chset['SH1'][$chr])) {
768 $shiftset = $this->chset['SH1'];
769 } elseif (isset($chr, $this->chset['SH2'][$chr])) {
771 $shiftset = $this->chset['SH2'];
772 } elseif (($enc == self::ENC_C40) AND isset($this->chset['S3C'][$chr])) {
774 $shiftset = $this->chset['S3C'];
775 } elseif (($enc == self::ENC_TXT) AND isset($this->chset['S3T'][$chr])) {
777 $shiftset = $this->chset['S3T'];
795 $newenc = $this->lookAheadTest($data, $pos, $enc);
801 $cw[] = $this->getSwitchEncodingCodeword(self::ENC_ASCII);
804 $cw[] = $this->getSwitchEncodingCodeword($enc);
815 $cwr = ($this->getMaxDataCodewords($cw_num) - $cw_num);
824 $this->last_enc = $enc;
834 $this->last_enc = $enc;
846 $this->last_enc = $enc;
851 $this->last_enc = $enc;
852 $cw[] = $this->getSwitchEncodingCodeword($enc);
869 if ($this->isCharMode($chr, self::ENC_EDF)) {
874 … if (($field_length == 4) OR ($epos == $data_length) OR !$this->isCharMode($chr, self::ENC_EDF)) {
877 $cw[] = $this->getSwitchEncodingCodeword($enc);
890 $this->last_enc = $enc;
923 $newenc = $this->lookAheadTest($data, $pos, $enc);
938 $cw[] = $this->get255StateCodeword($field_length, ($cw_num + 1));
941 $cw[] = $this->get255StateCodeword((floor($field_length / 250) + 249), ($cw_num + 1));
942 $cw[] = $this->get255StateCodeword(($field_length % 250), ($cw_num + 2));
948 $cw[] = $this->get255StateCodeword($cht, ($cw_num + $p + 1));
997 $marr = $this->placeModule($marr, $nrow, $ncol, $row-2, $col-2, $chr, 1);
998 $marr = $this->placeModule($marr, $nrow, $ncol, $row-2, $col-1, $chr, 2);
999 $marr = $this->placeModule($marr, $nrow, $ncol, $row-1, $col-2, $chr, 3);
1000 $marr = $this->placeModule($marr, $nrow, $ncol, $row-1, $col-1, $chr, 4);
1001 $marr = $this->placeModule($marr, $nrow, $ncol, $row-1, $col, $chr, 5);
1002 $marr = $this->placeModule($marr, $nrow, $ncol, $row, $col-2, $chr, 6);
1003 $marr = $this->placeModule($marr, $nrow, $ncol, $row, $col-1, $chr, 7);
1004 $marr = $this->placeModule($marr, $nrow, $ncol, $row, $col, $chr, 8);
1019 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-1, 0, $chr, 1);
1020 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-1, 1, $chr, 2);
1021 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-1, 2, $chr, 3);
1022 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-2, $chr, 4);
1023 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-1, $chr, 5);
1024 $marr = $this->placeModule($marr, $nrow, $ncol, 1, $ncol-1, $chr, 6);
1025 $marr = $this->placeModule($marr, $nrow, $ncol, 2, $ncol-1, $chr, 7);
1026 $marr = $this->placeModule($marr, $nrow, $ncol, 3, $ncol-1, $chr, 8);
1041 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-3, 0, $chr, 1);
1042 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-2, 0, $chr, 2);
1043 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-1, 0, $chr, 3);
1044 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-4, $chr, 4);
1045 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-3, $chr, 5);
1046 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-2, $chr, 6);
1047 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-1, $chr, 7);
1048 $marr = $this->placeModule($marr, $nrow, $ncol, 1, $ncol-1, $chr, 8);
1063 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-3, 0, $chr, 1);
1064 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-2, 0, $chr, 2);
1065 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-1, 0, $chr, 3);
1066 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-2, $chr, 4);
1067 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-1, $chr, 5);
1068 $marr = $this->placeModule($marr, $nrow, $ncol, 1, $ncol-1, $chr, 6);
1069 $marr = $this->placeModule($marr, $nrow, $ncol, 2, $ncol-1, $chr, 7);
1070 $marr = $this->placeModule($marr, $nrow, $ncol, 3, $ncol-1, $chr, 8);
1085 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-1, 0, $chr, 1);
1086 $marr = $this->placeModule($marr, $nrow, $ncol, $nrow-1, $ncol-1, $chr, 2);
1087 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-3, $chr, 3);
1088 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-2, $chr, 4);
1089 $marr = $this->placeModule($marr, $nrow, $ncol, 0, $ncol-1, $chr, 5);
1090 $marr = $this->placeModule($marr, $nrow, $ncol, 1, $ncol-3, $chr, 6);
1091 $marr = $this->placeModule($marr, $nrow, $ncol, 1, $ncol-2, $chr, 7);
1092 $marr = $this->placeModule($marr, $nrow, $ncol, 1, $ncol-1, $chr, 8);
1114 $marr = $this->placeCornerA($marr, $nrow, $ncol, $chr);
1118 $marr = $this->placeCornerB($marr, $nrow, $ncol, $chr);
1122 $marr = $this->placeCornerC($marr, $nrow, $ncol, $chr);
1126 $marr = $this->placeCornerD($marr, $nrow, $ncol, $chr);
1132 $marr = $this->placeUtah($marr, $nrow, $ncol, $row, $col, $chr);
1143 $marr = $this->placeUtah($marr, $nrow, $ncol, $row, $col, $chr);