Lines Matching defs:doc
1402 protected $doc;
1523 $this->doc = str_replace("\r", ' ', $this->doc);
1524 $this->doc = str_replace("\n", ' ', $this->doc);
1527 $this->size = strlen($this->doc);
1560 if(($doc = call_user_func_array('file_get_contents', $args)) !== false) {
1561 $this->load($doc, true);
1618 unset($this->doc);
1634 $this->doc = trim($str);
1635 $this->size = strlen($this->doc);
1649 if ($this->size > 0) { $this->char = $this->doc[0]; }
1760 $this->doc,
1769 if (!@iconv('CP1252', 'UTF-8', $this->doc)) {
1820 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1824 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1907 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1936 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1946 $this->char = $this->doc[--$this->pos]; // prev
1950 // Handle invalid tag names (i.e. "<html#doc>")
1963 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1997 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2016 if ($this->doc[$this->pos - 1] == '<') {
2022 $this->doc,
2027 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2041 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2047 if ($this->char != '>') { $this->char = $this->doc[--$this->pos]; } // prev
2077 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2099 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2101 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2105 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2107 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2152 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2158 $this->pos += strspn($this->doc, $chars, $this->pos);
2159 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2165 $len = strspn($this->doc, $chars, $pos);
2167 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2169 return substr($this->doc, $pos, $len);
2175 $len = strcspn($this->doc, $chars, $pos);
2177 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2178 return substr($this->doc, $pos, $len);
2185 if (($pos = strpos($this->doc, $char, $this->pos)) === false) {
2186 $ret = substr($this->doc, $this->pos, $this->size - $this->pos);
2195 $this->char = $this->doc[$pos];
2197 return substr($this->doc, $pos_old, $pos - $pos_old);
2207 $this->doc,
2221 $this->doc = substr_replace($this->doc, $key, $matches[$i][$idx][1], strlen($matches[$i][$idx][0]));
2225 $this->size = strlen($this->doc);
2228 $this->char = $this->doc[0];