Lines Matching refs:position

114 	protected $position = 0;  variable in SimplePie_HTTP_Parser
174 return (bool) ($this->position < $this->data_length);
184 return (bool) ($this->data[$this->position] === "\x09"
185 || $this->data[$this->position] === "\x20"
186 || ($this->data[$this->position] === "\x0A"
187 && isset($this->data[$this->position + 1])
188 … && ($this->data[$this->position + 1] === "\x09" || $this->data[$this->position + 1] === "\x20")));
200 $this->position += 5 + $len;
204 $this->position += strspn($this->data, "\x09\x20", $this->position);
223 if ($len = strspn($this->data, '0123456789', $this->position))
225 $this->status_code = (int) substr($this->data, $this->position, $len);
226 $this->position += $len;
240 $len = strcspn($this->data, "\x0A", $this->position);
241 $this->reason = trim(substr($this->data, $this->position, $len), "\x09\x0D\x20");
242 $this->position += $len + 1;
267 if (substr($this->data[$this->position], 0, 2) === "\x0D\x0A")
269 $this->position += 2;
272 elseif ($this->data[$this->position] === "\x0A")
274 $this->position++;
288 $len = strcspn($this->data, "\x0A:", $this->position);
289 if (isset($this->data[$this->position + $len]))
291 if ($this->data[$this->position + $len] === "\x0A")
293 $this->position += $len;
298 $this->name = substr($this->data, $this->position, $len);
299 $this->position += $len + 1;
316 if (substr($this->data, $this->position, 2) === "\x0D\x0A")
318 $this->position += 2;
320 elseif ($this->data[$this->position] === "\x0A")
322 $this->position++;
324 $this->position += strspn($this->data, "\x09\x20", $this->position);
340 switch ($this->data[$this->position])
348 $this->position++;
352 $this->position++;
357 $this->position++;
373 $len = strcspn($this->data, "\x09\x20\x0A\"", $this->position);
374 $this->value .= substr($this->data, $this->position, $len);
375 $this->position += $len;
390 switch ($this->data[$this->position])
393 $this->position++;
398 $this->position++;
403 $this->position++;
419 $len = strcspn($this->data, "\x09\x20\x0A\"\\", $this->position);
420 $this->value .= substr($this->data, $this->position, $len);
421 $this->position += $len;
430 $this->value .= $this->data[$this->position];
431 $this->position++;
440 $this->body = substr($this->data, $this->position);