Lines Matching refs:x

311 	protected $x;  variable in jucksearm\\barcode\\lib\\QRcode
698 $this->x = $this->width - 1;
765 return array('x'=>$this->x, 'y'=>$this->y);
767 $x = $this->x;
771 $x--;
774 $x++;
781 $x -= 2;
783 if ($x == 6) {
784 $x--;
791 $x -= 2;
793 if ($x == 6) {
794 $x--;
799 if (($x < 0) OR ($y < 0)) {
802 $this->x = $x;
804 } while(ord($this->frame[$y][$x]) & 0x80);
805 return array('x'=>$x, 'y'=>$y);
941 protected function mask0($x, $y) { argument
942 return ($x + $y) & 1;
951 protected function mask1($x, $y) { argument
961 protected function mask2($x, $y) { argument
962 return ($x % 3);
971 protected function mask3($x, $y) { argument
972 return ($x + $y) % 3;
981 protected function mask4($x, $y) { argument
982 return (((int)($y / 2)) + ((int)($x / 3))) & 1;
991 protected function mask5($x, $y) { argument
992 return (($x * $y) & 1) + ($x * $y) % 3;
1001 protected function mask6($x, $y) { argument
1002 return ((($x * $y) & 1) + ($x * $y) % 3) & 1;
1011 protected function mask7($x, $y) { argument
1012 return ((($x * $y) % 3) + (($x + $y) & 1)) & 1;
1025 for ($x=0; $x<$width; ++$x) {
1026 if (ord($frame[$y][$x]) & 0x80) {
1027 $bitMask[$y][$x] = 0;
1029 $maskFunc = call_user_func(array($this, 'mask'.$maskNo), $x, $y);
1030 $bitMask[$y][$x] = ($maskFunc == 0)?1:0;
1055 for ($x=0; $x<$width; ++$x) {
1056 if ($bitMask[$y][$x] == 1) {
1057 $d[$y][$x] = chr(ord($s[$y][$x]) ^ ((int)($bitMask[$y][$x])));
1059 $b += (int)(ord($d[$y][$x]) & 1);
1126 for ($x=0; $x<$width; ++$x) {
1127 if (($x > 0) AND ($y > 0)) {
1128 $b22 = ord($frameY[$x]) & ord($frameY[$x-1]) & ord($frameYM[$x]) & ord($frameYM[$x-1]);
1129 $w22 = ord($frameY[$x]) | ord($frameY[$x-1]) | ord($frameYM[$x]) | ord($frameYM[$x-1]);
1134 if (($x == 0) AND (ord($frameY[$x]) & 1)) {
1138 } elseif ($x > 0) {
1139 if ((ord($frameY[$x]) ^ ord($frameY[$x-1])) & 1) {
1149 for ($x=0; $x<$width; ++$x) {
1153 if (($y == 0) AND (ord($frame[$y][$x]) & 1)) {
1158 if ((ord($frame[$y][$x]) ^ ord($frame[$y-1][$x])) & 1) {
2231 protected function qrstrset($srctab, $x, $y, $repl, $replLen=false) { argument
2232 …$srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x,…
2408 $x = $this->alignmentPattern[$version][0];
2410 $frame = $this->putAlignmentMarker($frame, $x, $y);
2415 for ($x=1; $x < $wo; ++$x) {
2423 for ($x=0; $x < $wo; ++$x) {
2529 for ($x=0; $x<6; ++$x) {
2531 $frame[($width - 11)+$y][$x] = chr(0x88 | ($v & 1));
2537 for ($x=0; $x<3; ++$x) {
2538 $frame[$y][$x+($width - 11)] = chr(0x88 | ($v & 1));
2684 protected function modnn($rs, $x) { argument
2685 while ($x >= $rs['nn']) {
2686 $x -= $rs['nn'];
2687 $x = ($x >> $rs['mm']) + ($x & $rs['nn']);
2689 return $x;