Lines Matching refs:classTable
232 …void decomposeReorderMatras ( const IndicClassTable *classTable, le_int32 beginSyllable, le_int32 … in decomposeReorderMatras() argument
237 if ( classTable->isMatra(fOutChars[i+inv_count])) { in decomposeReorderMatras()
238 IndicClassTable::CharClass matraClass = classTable->getCharClass(fOutChars[i+inv_count]); in decomposeReorderMatras()
239 if ( classTable->isSplitMatra(matraClass)) { in decomposeReorderMatras()
242 const SplitMatra *splitMatra = classTable->getSplitMatra(matraClass); in decomposeReorderMatras()
248 matraClass = classTable->getCharClass(piece); in decomposeReorderMatras()
320 …le_bool noteMatra(const IndicClassTable *classTable, LEUnicode matra, le_uint32 matraIndex, Featur… in noteMatra() argument
322 IndicClassTable::CharClass matraClass = classTable->getCharClass(matra); in noteMatra()
332 const SplitMatra *splitMatra = classTable->getSplitMatra(matraClass); in noteMatra()
337 IndicClassTable::CharClass pieceClass = classTable->getCharClass(piece); in noteMatra()
351 …void noteVowelModifier(const IndicClassTable *classTable, LEUnicode vowelModifier, le_uint32 vowel… in noteVowelModifier() argument
353 IndicClassTable::CharClass vmClass = classTable->getCharClass(vowelModifier); in noteVowelModifier()
375 …void noteStressMark(const IndicClassTable *classTable, LEUnicode stressMark, le_uint32 stressMarkI… in noteStressMark() argument
377 IndicClassTable::CharClass smClass = classTable->getCharClass(stressMark); in noteStressMark()
597 le_int32 IndicReordering::findSyllable(const IndicClassTable *classTable, const LEUnicode *chars, l… in findSyllable() argument
604 IndicClassTable::CharClass charClass = classTable->getCharClass(chars[cursor]); in findSyllable()
634 const IndicClassTable *classTable = IndicClassTable::getScriptClassTable(scriptCode); in reorder() local
636 if (classTable==NULL) { in reorder()
641 if (classTable->scriptFlags & SF_MPRE_FIXUP) { in reorder()
654 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); in reorder()
659 if (classTable->isStressMark(chars[markStart - 1])) { in reorder()
661 output.noteStressMark(classTable, chars[markStart], markStart, tagArray1); in reorder()
664 if (markStart != prev && classTable->isVowelModifier(chars[markStart - 1])) { in reorder()
666 output.noteVowelModifier(classTable, chars[markStart], markStart, tagArray1); in reorder()
671 …while (output.noteMatra(classTable, chars[matra], matra, tagArray1, !lastInWord) && matra != prev)… in reorder()
677 switch (classTable->getCharClass(chars[prev]) & CF_CLASS_MASK) { in reorder()
721 if ((classTable->scriptFlags & SF_MATRAS_AFTER_BASE) != 0) { in reorder()
725 if ((classTable->scriptFlags & SF_REPH_AFTER_BELOW) != 0) { in reorder()
730 if ((classTable->scriptFlags & SF_MATRAS_AFTER_BASE) == 0) { in reorder()
737 if ((classTable->scriptFlags & SF_REPH_AFTER_BELOW) == 0) { in reorder()
755 …if (length > 2 && classTable->isReph(chars[prev]) && classTable->isVirama(chars[prev + 1]) && char… in reorder()
759 if ((classTable->scriptFlags & SF_EYELASH_RA) != 0 && in reorder()
769 while (lastConsonant > baseLimit && !classTable->isConsonant(chars[lastConsonant])) { in reorder()
778 le_int32 postBaseLimit = classTable->scriptFlags & SF_POST_BASE_LIMIT_MASK; in reorder()
787 if (postBase < markStart && classTable->isNukta(chars[postBase])) { in reorder()
795 charClass = classTable->getCharClass(chars[baseConsonant]); in reorder()
803 … (baseConsonant > baseLimit && !classTable->isVirama(chars[baseConsonant - 1])) || in reorder()
810 hasPreBaseForm && classTable->isVirama(chars[baseConsonant - 1])) { in reorder()
856 charClass = classTable->getCharClass(ch); in reorder()
857 nextClass = classTable->getCharClass(chars[i + 1]); in reorder()
876 if (bcSpan < markStart && classTable->isNukta(chars[bcSpan])) { in reorder()
881 (classTable->isVirama(chars[bcSpan]) || classTable->isAlLakuna(chars[bcSpan]))) { in reorder()
897 if ((classTable->scriptFlags & SF_MATRAS_AFTER_BASE) != 0) { in reorder()
917 if ((classTable->scriptFlags & SF_MATRAS_AFTER_BASE) == 0) { in reorder()
923 if ((classTable->scriptFlags & SF_REPH_AFTER_BELOW) != 0) { in reorder()
946 if (lastConsonant < matra && classTable->isVirama(chars[matra])) { in reorder()
952 if ((classTable->scriptFlags & SF_MATRAS_AFTER_BASE) == 0) { in reorder()
960 if ((classTable->scriptFlags & SF_REPH_AFTER_BELOW) == 0) { in reorder()
1076 const IndicClassTable *classTable = IndicClassTable::getScriptClassTable(scriptCode); in v2process() local
1077 if (classTable == NULL) { in v2process()
1082 IndicReordering::getDynamicProperties(dynProps,classTable); in v2process()
1089 le_int32 nextSyllable = findSyllable(classTable, chars, beginSyllable, charCount); in v2process()
1095 if ( classTable->isConsonant(chars[firstConsonant]) ) { in v2process()
1108 if ( classTable->isConsonant(chars[baseConsonant]) && in v2process()
1109 !classTable->hasBelowBaseForm(chars[baseConsonant]) && in v2process()
1110 !classTable->hasPostBaseForm(chars[baseConsonant]) ) { in v2process()
1114 if ( classTable->isConsonant(chars[baseConsonant]) ) { in v2process()
1124 if ( classTable->isReph(chars[beginSyllable]) && in v2process()
1125 beginSyllable+1 < nextSyllable && classTable->isVirama(chars[beginSyllable+1]) && in v2process()
1135 if ( classTable->isVirama(chars[beginSyllable]) || in v2process()
1136 classTable->isMatra(chars[beginSyllable]) || in v2process()
1137 classTable->isVowelModifier(chars[beginSyllable]) || in v2process()
1138 classTable->isNukta(chars[beginSyllable]) ) { in v2process()
1158 if ( i == beginSyllable && i < baseConsonant && classTable->isReph(chars[i]) && in v2process()
1159 i+1 < nextSyllable && classTable->isVirama(chars[i+1])) { in v2process()
1170 if ( classTable->isMatra(chars[i])) { in v2process()
1172 if ( classTable->hasAboveBaseForm(chars[i])) { in v2process()
1174 } else if ( classTable->hasBelowBaseForm(chars[i])) { in v2process()
1182 if ( classTable->isVirama(chars[i]) && (i+1 == nextSyllable) ) { in v2process()
1184 if ( classTable->isConsonant(chars[i-1]) ) { in v2process()
1196 output.decomposeReorderMatras(classTable,beginSyllable,nextSyllable,inv_count); in v2process()
1206 void IndicReordering::getDynamicProperties( DynamicProperties *, const IndicClassTable *classTable … in getDynamicProperties() argument
1221 …for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { in getDynamicProperties()
1222 if ( classTable->isVirama(currentChar)) { in getDynamicProperties()
1229 …for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { in getDynamicProperties()
1230 if ( classTable->isConsonant(currentChar)) { in getDynamicProperties()