Lines Matching defs:Lookahead

1853 						$Lookahead = [];
1860 $matched = $this->checkContextMatch($Input, $Backtrack, $Lookahead, $ignore, $ptr);
2059 $Lookahead = [];
2062 $Lookahead[] = $this->glyphToChar($gid);
2065 $matched = $this->checkContextMatch($Input, $Backtrack, $Lookahead, $ignore, $ptr);
2154 $Lookahead[$r] = $this->read_ushort();
2163 // [Backtrack] [Lookahead] and [Input] (Input is from the second position only)
2215 $classindex = $Lookahead[$gcl];
2946 // If GSUB includes a Backtrack or Lookahead condition (e.g. font ArabicTypesetting)
3959 $Lookahead = [];
3961 $Lookahead[$r] = $this->read_ushort();
4014 $classindex = $Lookahead[$gcl];
4165 private function checkContextMatch($Input, $Backtrack, $Lookahead, $ignore, $ptr)
4207 for ($i = 0; $i < count($Lookahead); $i++) {
4215 } elseif (!isset($this->OTLdata[$checkpos]) || $this->OTLdata[$checkpos]['uni'] != $Lookahead[$i]) {
4223 private function checkContextMatchMultiple($Input, $Backtrack, $Lookahead, $ignore, $ptr, $class0excl = '', $bclass0excl = '', $lclass0excl = '')
4273 for ($i = 0; $i < count($Lookahead); $i++) {
4282 elseif (!$Lookahead[$i] && isset($this->OTLdata[$checkpos]) && strpos($lclass0excl, $this->OTLdata[$checkpos]['hex']) !== false) {
4284 } elseif (!isset($this->OTLdata[$checkpos]) || strpos($Lookahead[$i], $this->OTLdata[$checkpos]['hex']) === false) {
4291 private function checkContextMatchMultipleUni($Input, $Backtrack, $Lookahead, $ignore, $ptr, $class0excl = [], $bclass0excl = [], $lclass0excl = [])
4341 for ($i = 0; $i < count($Lookahead); $i++) {
4350 elseif (!$Lookahead[$i] && isset($this->OTLdata[$checkpos]) && isset($lclass0excl[$this->OTLdata[$checkpos]['uni']])) {
4352 } elseif (!isset($this->OTLdata[$checkpos]) || !isset($Lookahead[$i][$this->OTLdata[$checkpos]['uni']])) {
4472 // for Input - set on secondary Lookup table if in Context, and set Backtrack and Lookahead on Context Lookup