Lines Matching refs:cw
229 $cw = $this->getHighLevelEncoding($code);
231 $nd = count($cw);
247 if ((($params[11] - $nd) > 1) AND ($cw[($nd - 1)] != 254)) {
250 $cw[] = 124;
254 $cw[] = 254;
260 $cw[] = 129;
264 $cw[] = $this->get253StateCodeword(129, $i);
269 $cw = $this->getErrorCorrection($cw, $params[13], $params[14], $params[15]);
322 $grid[$row][$col] = (($cw[$cw_id] & $cw_bit) == 0) ? 0 : 1;
644 $cw = 254;
646 $cw = 124;
651 $cw = 230;
655 $cw = 239;
659 $cw = 238;
663 $cw = 240;
667 $cw = 231;
671 return $cw;
699 $cw = array(); // array of codewords to be returned
709 $cw[] = (intval(substr($data, $pos, 2)) + 130);
718 $cw[] = $this->getSwitchEncodingCodeword($enc);
726 $cw[] = 235;
727 $cw[] = ($chr - 127);
731 $cw[] = ($chr + 1);
790 $cw[] = ($tmp >> 8);
791 $cw[] = ($tmp % 256);
801 $cw[] = $this->getSwitchEncodingCodeword(self::ENC_ASCII);
804 $cw[] = $this->getSwitchEncodingCodeword($enc);
820 $cw[] = ($chr + 1);
829 $cw[] = 254;
830 $cw[] = ($chr + 1);
841 $cw[] = ($tmp >> 8);
842 $cw[] = ($tmp % 256);
852 $cw[] = $this->getSwitchEncodingCodeword($enc);
877 $cw[] = $this->getSwitchEncodingCodeword($enc);
895 $cw[] = $tcw;
900 $cw[] = $tcw;
905 $cw[] = $tcw;
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));
955 return $cw;