Lines Matching refs:consumed
66 * Currently consumed bytes
71 public $consumed = '';
103 $this->consumed = '';
117 $this->consumed .= $this->data[$this->position];
135 $this->consumed .= $data;
150 $this->consumed = substr($this->consumed, 0, -1);
206 $consumed_length = strlen($this->consumed);
583 $consumed = substr($this->consumed, 1);
584 if (isset($entities[$consumed])) {
585 $match = $consumed;
590 $this->data = substr_replace($this->data, $entities[$match], $this->position - strlen($consumed) - 1, strlen($match) + 1);
591 $this->position += strlen($entities[$match]) - strlen($consumed) - 1;