Lines Matching refs:pos
511 protected function lookAheadTest($data, $pos, $mode) { argument
513 if ($pos >= $data_length) {
526 if (($pos + $charscount) == $data_length) {
545 $chr = ord($data[$pos + $charscount]);
618 $k = ($pos + $charscount + 1);
698 $pos = 0; // current position
702 while ($pos < $data_length) {
707 …th > 1) AND ($pos < ($data_length - 1)) AND ($this->isCharMode(ord($data[$pos]), self::ENC_ASCII_N…
709 $cw[] = (intval(substr($data, $pos, 2)) + 130);
711 $pos += 2;
714 $newenc = $this->lookAheadTest($data, $pos, $enc);
722 $chr = ord($data[$pos]);
723 ++$pos;
743 $epos = $pos;
793 $pos = $epos;
795 $newenc = $this->lookAheadTest($data, $pos, $enc);
806 $pos -= $p;
822 $pos = $epos;
832 $pos = $epos;
844 $pos = $epos;
854 $pos = ($epos - $p);
863 $epos = $pos;
909 $pos = $epos;
922 while (($pos < $data_length) AND ($field_length <= 1555)) {
923 $newenc = $this->lookAheadTest($data, $pos, $enc);
930 $chr = ord($data[$pos]);
931 ++$pos;