Lines Matching refs:i

295 				for ($i = 0; $i < $this->length; $i++) {
296 $this->addData(ord(substr($this->value, $i, 1)), 8);
317 for ($i = 0; $i < $this->length; $i++) {
318 if (($i % 2) === 0) {
319 $this->addData($alNumHash[$this->value[$i]], 6, false);
321 $this->addData($this->valData[$this->ptr] * 45 + $alNumHash[$this->value[$i]], 11);
343 for ($i = 0; $i < $this->length; $i++) {
344 if (($i % 3) === 0) {
345 $this->addData((int) $this->value[$i], 4, false);
346 } elseif (($i % 3) === 1) {
347 $this->addData($this->valData[$this->ptr] * 10 + (int) $this->value[$i], 7, false);
349 $this->addData($this->valData[$this->ptr] * 10 + (int) $this->value[$i], 10);
391 $i = 1 + 40 * $this->ec;
392 $j = $i + 39;
393 while ($i <= $j) {
394 if ($maxBits[$i] >= $this->bitCount + $dataNumCorrection[$this->version]) {
395 $this->dataBitLimit = $maxBits[$i];
398 $i++;
437 for ($i = 0; $i < $this->ptr; $i++) {
438 $bufferVal = $this->valData[$i];
439 $bufferBit = $this->bitData[$i];
524 for ($i = 0; $i < 256; $i++) {
525 $rsTable[$i] = fread($fp0, $this->rsEccCodewords);
581 for ($i = 0; $i < $this->totalWordLimit; $i++) {
582 $word = $this->wordData[$i];
584 $bitPos = ($i << 3) + $j;
610 $i = 0;
614 while ($i < 8) {
618 $bit = 1 << $i;
665 if ($demeritScore <= $minDemeritScore || $i === 0) {
666 $maskNumber = $i;
670 $i++;
688 for ($i = 0; $i < 15; $i++) {
689 $content = (int) $formatInformationArray[$formatInformationValue][$i];
691 $this->matrix[$this->formatInformationX1[$i]][$this->formatInformationY1[$i]] = $content * 255;
692 $this->matrix[$this->formatInformationX2[$i + 1]][$this->formatInformationY2[$i + 1]] = $content * 255;