Lines Matching defs:doc
1396 protected $doc;
1517 $this->doc = str_replace("\r", ' ', $this->doc);
1518 $this->doc = str_replace("\n", ' ', $this->doc);
1521 $this->size = strlen($this->doc);
1554 if(($doc = call_user_func_array('file_get_contents', $args)) !== false) {
1555 $this->load($doc, true);
1612 unset($this->doc);
1628 $this->doc = trim($str);
1629 $this->size = strlen($this->doc);
1643 if ($this->size > 0) { $this->char = $this->doc[0]; }
1754 $this->doc,
1763 if (!@iconv('CP1252', 'UTF-8', $this->doc)) {
1814 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1818 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1901 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1930 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1940 $this->char = $this->doc[--$this->pos]; // prev
1944 // Handle invalid tag names (i.e. "<html#doc>")
1957 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1991 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2010 if ($this->doc[$this->pos - 1] == '<') {
2016 $this->doc,
2021 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2035 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2041 if ($this->char != '>') { $this->char = $this->doc[--$this->pos]; } // prev
2071 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2093 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2095 $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
2146 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2152 $this->pos += strspn($this->doc, $chars, $this->pos);
2153 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2159 $len = strspn($this->doc, $chars, $pos);
2161 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2163 return substr($this->doc, $pos, $len);
2169 $len = strcspn($this->doc, $chars, $pos);
2171 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2172 return substr($this->doc, $pos, $len);
2179 if (($pos = strpos($this->doc, $char, $this->pos)) === false) {
2180 $ret = substr($this->doc, $this->pos, $this->size - $this->pos);
2189 $this->char = $this->doc[$pos];
2191 return substr($this->doc, $pos_old, $pos - $pos_old);
2201 $this->doc,
2215 $this->doc = substr_replace($this->doc, $key, $matches[$i][$idx][1], strlen($matches[$i][$idx][0]));
2219 $this->size = strlen($this->doc);
2222 $this->char = $this->doc[0];