Lines Matching defs:pos
1395 protected $pos;
1631 $this->pos = 0;
1813 $begin_tag_pos = $this->pos;
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
1825 if (($pos = strpos($tag, ' ')) !== false) {
1826 $tag = substr($tag, 0, $pos);
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
1936 if ($pos = strpos($tag, '<') !== false) {
1940 $this->char = $this->doc[--$this->pos]; // prev
1957 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1990 if ($guard === $this->pos) { // Escape infinite loop
1991 $this->char = (++$this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
1995 $guard = $this->pos;
1999 if ($this->pos >= $this->size - 1 && $this->char !== '>') {
2010 if ($this->doc[$this->pos - 1] == '<') {
2018 $this->pos - $begin_tag_pos - 1
2020 $this->pos -= 2;
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
2158 $pos = $this->pos;
2159 $len = strspn($this->doc, $chars, $pos);
2160 $this->pos += $len;
2161 $this->char = ($this->pos < $this->size) ? $this->doc[$this->pos] : null; // next
2163 return substr($this->doc, $pos, $len);
2168 $pos = $this->pos;
2169 $len = strcspn($this->doc, $chars, $pos);
2170 $this->pos += $len;
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);
2182 $this->pos = $this->size;
2186 if ($pos === $this->pos) { return ''; }
2188 $pos_old = $this->pos;
2189 $this->char = $this->doc[$pos];
2190 $this->pos = $pos;
2191 return substr($this->doc, $pos_old, $pos - $pos_old);
2231 while (($pos = strpos($text, '___noise___')) !== false) {
2233 // pos+11 etc... token which indicates a problem outside of us...
2238 if (strlen($text) > $pos + 15) {
2240 . $text[$pos + 11]
2241 . $text[$pos + 12]
2242 . $text[$pos + 13]
2243 . $text[$pos + 14]
2244 . $text[$pos + 15];
2251 $text = substr($text, 0, $pos)
2253 . substr($text, $pos + 16);
2256 $text = substr($text, 0, $pos)
2259 . substr($text, $pos + 16);
2264 $text = substr($text, 0, $pos)
2266 . substr($text, $pos + 11);