Lines Matching refs:pos
58 protected $pos = 0;
102 $this->pos = 0;
110 $this->pos = 0;
123 while ($this->pos < $this->length) {
125 if (!preg_match(self::MATCH_KEY, substr($this->binary, $this->pos), $keyMatches)) {
128 $this->pos += strlen($keyMatches[1]);
129 if (!isset($this->binary[$this->pos])) {
191 if (isset($this->binary[$this->pos]) && $this->binary[$this->pos] !== ',') {
197 if (isset($this->binary[$this->pos]) && $this->binary[$this->pos] === ',') {
198 $this->pos++;
269 if (substr($this->binary, $this->pos, $length) !== $expected) {
275 $this->pos += $length;
285 if (!preg_match(self::MATCH_QD_STR_VAL, substr($this->binary, $this->pos), $matches)) {
288 $this->pos += strlen($matches[1]);
308 if (!preg_match(self::MATCH_LHEX, substr($this->binary, $this->pos), $matches)) {
314 $this->pos += strlen($matches[1]);
324 if (!preg_match($regex, substr($this->binary, $this->pos), $matches)) {
327 $this->pos += strlen($matches[1]);