class QRinputSource code (3 results)/sprout/Helpers/phpqrcode/qrencode.php Highlighted file source
Line 59: public function __construct(QRinput $input) Line 163: public function encodeMask(QRinput $input, $mask) Line 238: public function encodeInput(QRinput $input) Line 251: $input = new QRinput($version, $level); Line 271: $input = new QRinput($version, $level); Line 274: $ret = QRsplit::splitStringToQRinput($string, $input, $hint, $casesensitive);
/sprout/Helpers/phpqrcode/qrinput.php Highlighted file source
Line 31: class QRinputItem {
Line 46: if(!QRinput::check($mode, $size, $setData)) {
Line 103: $val = (int)QRinput::lookAnTable(ord($this->data[$i*2 ])) * 45;
Line 104: $val += (int)QRinput::lookAnTable(ord($this->data[$i*2+1]));
Line 110: $val = QRinput::lookAnTable(ord($this->data[$words * 2]));
Line 203: case QR_MODE_NUM: $bits = QRinput::estimateBitsModeNum($this->size); break;
Line 204: case QR_MODE_AN: $bits = QRinput::estimateBitsModeAn($this->size); break;
Line 205: case QR_MODE_8: $bits = QRinput::estimateBitsMode8($this->size); break;
Line 206: case QR_MODE_KANJI: $bits = QRinput::estimateBitsModeKanji($this->size);break;
Line 231: $st1 = new QRinputItem($this->mode, $words, $this->data);
Line 232: $st2 = new QRinputItem($this->mode, $this->size - $words, array_slice($this->data, $words));
Line 273: class QRinput {
Line 330: public function appendEntry(QRinputItem $entry)
Line 339: $entry = new QRinputItem($mode, $size, $data);
Line 362: $entry = new QRinputItem(QR_MODE_STRUCTURE, 3, buf);
/sprout/Helpers/phpqrcode/qrsplit.php Highlighted file source
Line 62: return (QRinput::lookAnTable(ord($str[$pos])) >= 0);
Line 106: $dif = QRinput::estimateBitsModeNum($run) + 4 + $ln
Line 107: + QRinput::estimateBitsMode8(1) // + 4 + l8
Line 108: - QRinput::estimateBitsMode8($run + 1); // - 4 - l8
Line 114: $dif = QRinput::estimateBitsModeNum($run) + 4 + $ln
Line 115: + QRinput::estimateBitsModeAn(1) // + 4 + la
Line 116: - QRinput::estimateBitsModeAn($run + 1);// - 4 - la
Line 144: $dif = QRinput::estimateBitsModeAn($p) // + 4 + la
Line 145: + QRinput::estimateBitsModeNum($q - $p) + 4 + $ln
Line 146: - QRinput::estimateBitsModeAn($q); // - 4 - la
Line 161: $dif = QRinput::estimateBitsModeAn($run) + 4 + $la
Line 162: + QRinput::estimateBitsMode8(1) // + 4 + l8
Line 163: - QRinput::estimateBitsMode8($run + 1); // - 4 - l8
Line 212: $dif = QRinput::estimateBitsMode8($p) // + 4 + l8
Line 213: + QRinput::estimateBitsModeNum($q - $p) + 4 + $ln
Line 214: - QRinput::estimateBitsMode8($q); // - 4 - l8
Line 225: $dif = QRinput::estimateBitsMode8($p) // + 4 + l8
Line 226: + QRinput::estimateBitsModeAn($q - $p) + 4 + $la
Line 227: - QRinput::estimateBitsMode8($q); // - 4 - l8
Line 298: public static function splitStringToQRinput($string, QRinput $input, $modeHint, $casesensitive = true)
A total of 41 lines in 3 files were found
|