Home | History | Annotate | Download | only in layout

Lines Matching full:chars

336 le_int32 KhmerReordering::findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount)
342 KhmerClassTable::CharClass charClass = (classTable->getCharClass(chars[cursor]) & KhmerClassTable::CF_CLASS_MASK);
359 le_int32 KhmerReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 /*scriptCode*/,
372 le_int32 syllable = findSyllable(classTable, chars, prev, charCount);
381 charClass = classTable->getCharClass(chars[i]);
392 output.writeChar(chars[i], i, tagPref);
401 ( (classTable->getCharClass(chars[i + 1]) & KhmerClassTable::CF_CLASS_MASK) == KhmerClassTable::CC_CONSONANT2) )
417 if (classTable->getCharClass(chars[prev]) & KhmerClassTable::CF_DOTTED_CIRCLE) {
423 charClass = classTable->getCharClass(chars[i]);
438 output.writeChar(chars[i], i, tagAbvf);
442 output.writeChar(chars[i], i, tagPstf);
446 output.writeChar(chars[i], i, tagBlwf);
453 if ( (classTable->getCharClass(chars[i + 1]) & KhmerClassTable::CF_CLASS_MASK)
455 output.writeChar(chars[i], i, tagPstf);
457 output.writeChar(chars[i], i, tagPstf);
460 output.writeChar(chars[i], i, tagBlwf);
462 output.writeChar(chars[i], i, tagBlwf);
472 if ((classTable->getCharClass(chars[i + 1]) & KhmerClassTable::CF_ABOVE_VOWEL)
474 && ( (classTable->getCharClass(chars[i + 1]) & KhmerClassTable::CF_CLASS_MASK) == C_VOWEL_AA)
475 && ( (classTable->getCharClass(chars[i + 2]) & KhmerClassTable::CF_CLASS_MASK) == C_SIGN_NIKAHIT))
476 || (i + 3 < syllable && (classTable->getCharClass(chars[i + 3]) & KhmerClassTable::CF_ABOVE_VOWEL))
478 && ( (classTable->getCharClass(chars[i + 3]) & KhmerClassTable::CF_CLASS_MASK) == C_VOWEL_AA)
479 && ( (classTable->getCharClass(chars[i + 4]) & KhmerClassTable::CF_CLASS_MASK) == C_SIGN_NIKAHIT) ) )
481 output.writeChar(chars[i], i, tagBlwf);
487 output.writeChar(chars[i], i, tagDefault);