Lines Matching refs:count

279 			if (count($ScriptLang)) {
295 elseif (count($ScriptLang)) {
313 for ($i = 0; $i < count($this->OTLdata); $i++) {
441 for ($i = 0; $i < count($this->OTLdata); $i++) {
533 for ($ptr = 1; $ptr < count($this->OTLdata); $ptr++) {
547 for ($ptr = 0; $ptr < count($this->OTLdata); $ptr++) {
552 for ($i = 0; $i < count($sub); $i++) {
567 $ptr += count($sub) - 1;
852 for ($ptr = 0; $ptr < count($this->OTLdata); $ptr++) {
917 for ($ptr = 0; $ptr < count($this->OTLdata) - 1; $ptr++) {
930 for($ptr=0; $ptr<count($this->OTLdata); $ptr++) {
935 for($i=0;$i<count($sub);$i++) {
947 $ptr += count($sub)-1;
991 for ($i = count($this->OTLdata) - 1; $i > 0; $i--) {
1009 for ($i = 0; $i < count($this->OTLdata); $i++) {
1084 if (count($this->Entry) || count($this->Exit)) {
1087 for ($i = (count($this->OTLdata) - 1); $i >= 0; $i--) {
1129 for ($i = 0; $i < count($this->OTLdata); $i++) {
1190 for ($i = 0; $i < count($this->schOTLdata[$sch]); $i++) {
1232 for ($i = 0; $i < count($m[0]); $i++) {
1245 for ($i = 0; $i < count($m[0]); $i++) {
1258 for ($i = 0; $i < count($m[0]); $i++) {
1271 for ($i = 0; $i < count($m[0]); $i++) {
1309 while ($ptr < (count($this->OTLdata))) { // whilst there is another glyph ..0064
1352 while ($ptr < (count($this->OTLdata))) { // whilst there is another glyph ..0064
1418 while ($ptr < (count($this->OTLdata))) { // whilst there is another glyph ..0064
1475 while ($ptr < (count($this->OTLdata))) { // whilst there is another glyph ..0064
1960 for ($gc = 1; $gc <= count($InputClasses); $gc++) {
2185 for ($gc = 1; $gc <= count($InputClasses); $gc++) {
2206 for ($gc = 1; $gc <= count($BacktrackClasses); $gc++) {
2228 for ($gc = 1; $gc <= count($LookaheadClasses); $gc++) {
2372 // Any position lpos or mpos > $pos + count($substitute)
2375 for ($p = count($this->OTLdata) - 1; $p >= ($pos + $n); $p--) {
2382 for ($p = count($this->OTLdata) - 1; $p >= 0; $p--) {
2397 for ($p = ($pos + 1); $p < count($this->OTLdata); $p++) {
2404 for ($p = 0; $p < count($this->OTLdata); $p++) {
2430 for ($i = 0; $i < count($substitute); $i++) {
2475 $newOTLdata[count($substitute) - 1]['wordend'] = true;
2481 // count($substitute)-1 is the number of glyphs added
2482 $nadd = count($substitute) - 1;
2484 return count($substitute);
2498 for ($i = 0; $i < count($GlyphPos); $i++) {
2517 for ($i = 1; $i < count($GlyphPos); $i++) {
2557 $lastPos = $GlyphPos[(count($GlyphPos) - 1)];
2589 for ($i = 0; $i < count($GlyphPos); $i++) {
2598 while ((($i == count($GlyphPos) - 1) || (isset($GlyphPos[$i + 1]) && ($GlyphPos[$i] + $ic) < $GlyphPos[$i + 1])) && isset($this->OTLdata[($GlyphPos[$i] + $ic)]) && strpos($this->GlyphClassMarks, $this->OTLdata[($GlyphPos[$i] + $ic)]['hex']) !== false) {
2610 $lastPos = $GlyphPos[(count($GlyphPos) - 1)] + $ic - 1;
2641 if (isset($this->OTLdata[$GlyphPos[(count($GlyphPos) - 1)]]['GPOSinfo']['kashida'])) {
2642 $ka = $this->OTLdata[$GlyphPos[(count($GlyphPos) - 1)]]['GPOSinfo']['kashida'];
2672 for ($i = count($GlyphPos) - 1; $i > 0; $i--) {
2682 // count($GlyphPos)-1 is the number of glyphs removed from string
2683 for ($p = ($GlyphPos[0] + 1); $p < (count($this->OTLdata) + count($GlyphPos) - 1); $p++) {
2685 for ($i = 0; $i < count($GlyphPos); $i++) {
2841 for ($i = 0; $i < count($this->OTLdata); $i++) {
2849 $max = count($chars);
2892 for ($i = 0; $i < count($this->OTLdata); $i++) {
2999 for ($ptr = 0; $ptr < count($this->OTLdata); $ptr++) {
3035 while ($ptr < count($this->OTLdata) - 3) {
3036 if (count($rollover)) {
3042 if (count($matches) == 1) {
3059 for ($m = count($matches) - 1; $m >= 0; $m--) {
3060 //for ($m=0;$m<count($matches);$m++) {
3063 if (count($matches2)) {
3074 $this->OTLdata[$matches[count($matches) - 1]]['wordend'] = true;
3075 $ptr = $matches[count($matches) - 1] + 1;
3126 if ($ptr > count($this->OTLdata) - 1) {
3177 while ($ptr < (count($this->OTLdata))) { // whilst there is another glyph ..0064
3416 if (isset($Class1[$i]) && count($Class1[$i])) {
3422 if (isset($Class2[$j]) && count($Class2[$j])) {
3842 for ($gc = 1; $gc <= count($InputClasses); $gc++) {
3983 for ($gc = 1; $gc <= count($InputClasses); $gc++) {
4005 for ($gc = 1; $gc <= count($BacktrackClasses); $gc++) {
4027 for ($gc = 1; $gc <= count($LookaheadClasses); $gc++) {
4175 for ($i = 0; $i < count($Backtrack); $i++) {
4191 for ($i = 1; $i < count($Input); $i++) {
4207 for ($i = 0; $i < count($Lookahead); $i++) {
4235 for ($i = 0; $i < count($Backtrack); $i++) {
4254 for ($i = 1; $i < count($Input); $i++) { // Start at 1 - already matched the first InputGlyph
4273 for ($i = 0; $i < count($Lookahead); $i++) {
4303 for ($i = 0; $i < count($Backtrack); $i++) {
4322 for ($i = 1; $i < count($Input); $i++) { // Start at 1 - already matched the first InputGlyph
4341 for ($i = 0; $i < count($Lookahead); $i++) {
4590 $numchars = count($chunkOTLdata['char_data']);
4654 if (count($remember)) {
4655 $last = count($remember) - 1;
4687 $numchars = count($chardata);
5005 $numchunks = count($para);
5009 $numchars = count($chunkOTLdata['char_data']);
5057 if (count($remember)) {
5058 $last = count($remember) - 1;
5087 while (!($nc2 == ($numchunks - 1) && $i2 == ((count($para[$nc2][18]['char_data'])) - 1))) { // while not at end of last chunk
5089 if ($i2 >= count($para[$nc2][18]['char_data'])) {
5130 // Increment the isolate count by one, and push an entry consisting of the new embedding level,
5140 // Pop the last entry from the directional status stack and decrement the isolate count by one.
5141 while (count($remember)) {
5142 $last = count($remember) - 1;
5202 $numchunks = count($para);
5204 if (count($para[$nc][18]['char_data']) == 0) {
5212 $numchunks = count($para);
5225 $numchars = count($chardata);
5233 while (!($nc2 == ($numchunks - 1) && $i2 == ((count($para[$nc2][18]['char_data'])) - 1))) { // while not at end of last chunk
5235 if ($i2 >= count($para[$nc2][18]['char_data'])) {
5268 $numchars = count($chardata);
5290 $numchars = count($chardata);
5312 $numchars = count($chardata);
5327 $numchars = count($chardata);
5336 while (!($nc2 == ($numchunks - 1) && $i2 == ((count($para[$nc2][18]['char_data'])) - 1))) { // while not at end of last chunk
5338 if ($i2 >= count($para[$nc2][18]['char_data'])) {
5369 $numchars = count($chardata);
5385 while (!($nc2 == ($numchunks - 1) && $i2 == ((count($para[$nc2][18]['char_data'])) - 1))) { // while not at end of last chunk
5387 if ($i2 >= count($para[$nc2][18]['char_data'])) {
5415 $numchars = count($chardata);
5428 $numchars = count($chardata);
5451 $numchars = count($chardata);
5477 while (!($nc2 == ($numchunks - 1) && $i2 == ((count($para[$nc2][18]['char_data'])) - 1))) { // while not at end of last chunk
5479 if ($i2 >= count($para[$nc2][18]['char_data'])) {
5514 $numchars = count($chardata);
5527 $numchars = count($chardata);
5547 $numchunks = count($para);
5558 if (count($para[$nc][18]['char_data']) == 0) {
5574 $numchunks = count($content);
5577 $numchars = isset($cOTLdata[$nc]['char_data']) ? count($cOTLdata[$nc]['char_data']) : 0;
5604 $numchars = count($bidiData);
5794 $len = (!is_array($cOTLdata) || $cOTLdata['char_data'] === null) ? 0 : count($cOTLdata['char_data']);
6187 for ($i = 0; $i < count($this->OTLdata); $i++) {
6198 for ($i = 0; $i < count($this->OTLdata); $i++) {
6210 for ($i = 0; $i < count($this->OTLdata); $i++) {