Lines Matching refs:self

116 		$type = self::myanmar_get_categories($u);
123 if (self::in_range($u, 0xFE00, 0xFE0F)) {
124 $cat = self::OT_VS;
126 $cat = self::OT_ZWNJ;
128 $cat = self::OT_ZWJ;
145 $cat = self::OT_GB;
151 $cat = self::OT_RA;
156 $cat = self::OT_A;
160 $cat = self::OT_AS;
182 $cat = self::OT_D;
186 $cat = self::OT_D; /* XXX The spec says D0, but Uniscribe doesn't seem to do. */
191 $cat = self::OT_MH;
195 $cat = self::OT_MR;
200 $cat = self::OT_MW;
206 $cat = self::OT_MY;
217 $cat = self::OT_PT;
232 $cat = self::OT_SM;
236 if ($cat == self::OT_M) {
238 case self::POS_PRE_C:
239 $cat = self::OT_VPRE;
240 $pos = self::POS_PRE_M;
242 case self::POS_ABOVE_C:
243 $cat = self::OT_VABV;
245 case self::POS_BELOW_C:
246 $cat = self::OT_VBLW;
248 case self::POS_POST_C:
249 $cat = self::OT_VPST;
271 $syllable_type = self::NON_MYANMAR_CLUSTER;
276 $syllable_type = self::CONSONANT_SYLLABLE;
281 $syllable_type = self::BROKEN_CLUSTER;
299 self::insert_dotted_circles($info, $dottedcircle);
309 self::reordering_syllable($info, $GSUBdata, $last, $i);
314 self::reordering_syllable($info, $GSUBdata, $last, $count);
324 if ($last_syllable != $syllable && $syllable_type == self::BROKEN_CLUSTER) {
335 if ($last_syllable != $syllable && $syllable_type == self::BROKEN_CLUSTER) {
350 if ($syllable_type == self::NON_MYANMAR_CLUSTER) {
353 if ($syllable_type == self::BROKEN_CLUSTER) {
358 if ($info[$end - 1]['myanmar_category'] == self::OT_DOTTEDCIRCLE) {
368 $info[$start]['myanmar_category'] == self::OT_RA &&
369 $info[$start + 1]['myanmar_category'] == self::OT_AS &&
370 $info[$start + 2]['myanmar_category'] == self::OT_H) {
381 if (self::is_consonant($info[$i])) {
391 $info[$i]['myanmar_position'] = self::POS_AFTER_MAIN;
394 $info[$i]['myanmar_position'] = self::POS_PRE_C;
397 $info[$i]['myanmar_position'] = self::POS_BASE_C;
400 $pos = self::POS_AFTER_MAIN;
404 if ($info[$i]['myanmar_category'] == self::OT_MR) { /* Pre-base reordering */
405 $info[$i]['myanmar_position'] = self::POS_PRE_C;
408 if ($info[$i]['myanmar_position'] < self::POS_BASE_C) { /* Left matra */
412 if ($pos == self::POS_AFTER_MAIN && $info[$i]['myanmar_category'] == self::OT_VBLW) {
413 $pos = self::POS_BELOW_C;
418 if ($pos == self::POS_BELOW_C && $info[$i]['myanmar_category'] == self::OT_A) {
419 $info[$i]['myanmar_position'] = self::POS_BEFORE_SUB;
422 if ($pos == self::POS_BELOW_C && $info[$i]['myanmar_category'] == self::OT_VBLW) {
426 if ($pos == self::POS_BELOW_C && $info[$i]['myanmar_category'] != self::OT_A) {
427 $pos = self::POS_AFTER_SUB;
436 self::bubble_sort($info, $start, $end - $start);
444 return !!(self::FLAG($info['myanmar_category']) & $flags);
451 return self::is_one_of($info, (self::FLAG(self::OT_C) | self::FLAG(self::OT_CM) | self::FLAG(self::OT_RA) | self::FLAG(self::OT_V) | self::FLAG(self::OT_NBSP) | self::FLAG(self::OT_GB)));
472 return self::FLAG($y + 1) - self::FLAG($x);
512 return self::$myanmar_table[$u - 0x1000 + 0]; // offset 0 for Most "myanmar"
515 return self::$myanmar_table[$u - 0xAA60 + 160]; // offset for extensions