Lines Matching defs:Position
478 enum Position {
914 static inline Position indic_position(unsigned short uc) {
917 return (Position) indicPosition[uc-0x900];
951 Position position;
1217 HB_STACKARRAY(hb_uint8, position, len + 4);
1278 // * the matras position for rule 3 and 4
1281 memset(position, 0, len);
1285 position[i] = form(uc[i]);
1286 if (position[i] == Consonant) {
1291 position[i] = Vattu;
1293 } else if (position[i] == Matra) {
1299 position[i] = form(uc[i]);
1300 if (position[i] == Consonant)
1302 else if (matra < 0 && position[i] == Matra)
1307 Position pos = Post;
1309 if (position[i] != Consonant && (position[i] != Control || script == HB_Script_Kannada))
1312 if (i < len-1 && position[i] == Control && position[i+1] == Consonant) {
1317 Position charPosition = indic_position(uc[i]);
1367 Position matra_position = None;
1392 IDEBUG("moving leading ra+halant to position %d", toPos);
1434 position[i] = Pre;
1435 position[base] = Base;
1437 position[i] = indic_position(uc[i]);
1440 position[i] = Inherit;
1447 position[reph] = Reph;
1448 position[reph+1] = Inherit;
1462 IDEBUG("position[%d] = %d, form=%d uc=%x", i, position[i], form(uc[i]), uc[i]);
1464 // we continuosly position the matras and vowel marks and increase the fixed
1472 IDEBUG(" fixed = %d, toMove=%d, moving form %d with pos %d", fixed, toMove, finalOrder[toMove].form, finalOrder[toMove].position);
1475 // << "position=" << position[i];
1477 position[i] == finalOrder[toMove].position) {
1480 if (i < len-1 && position[i+1] == Inherit) {
1484 unsigned char pos = position[i];
1487 position[j] = position[j-2];
1491 position[to] = pos;
1492 position[to+1] = pos;
1497 unsigned char pos = position[i];
1500 position[j] = position[j-1];
1503 position[to] = pos;
1649 // move the left matra back to its correct position in malayalam and tamil
1658 // qDebug("moving prebase matra to position %d in syllable newlen=%d", basePos, newLen);
1699 HB_FREE_STACKARRAY(position);
1706 HB_FREE_STACKARRAY(position);