Lines Matching refs:logicalStart

326         logicalFirst=GET_INDEX(iRun.logicalStart);  in ubidi_getLogicalRun()
339 *pLevel=(UBiDiLevel)GET_ODD_BIT(iRun.logicalStart); in ubidi_getLogicalRun()
375 start=pBiDi->runs[runIndex].logicalStart; in ubidi_getVisualRun()
398 pBiDi->runs[0].logicalStart=MAKE_INDEX_ODD_PAIR(0, level); in getSingleRun()
470 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine()
478 … for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {} in reorderLine()
522 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; in getRunFromLogicalIndex() local
526 logicalStart=GET_INDEX(runs[i].logicalStart); in getRunFromLogicalIndex()
527 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex()
641 runs[runIndex].logicalStart=start; in ubidi_getRuns()
649 runs[runIndex].logicalStart=limit; in ubidi_getRuns()
668 ADD_ODD_BIT_FROM_LEVEL(runs[i].logicalStart, levels[runs[i].logicalStart]); in ubidi_getRuns()
680 ADD_ODD_BIT_FROM_LEVEL(runs[trailingRun].logicalStart, pBiDi->paraLevel); in ubidi_getRuns()
902 offset=logicalIndex-GET_INDEX(runs[i].logicalStart); in ubidi_getVisualIndex()
904 if(IS_EVEN_RUN(runs[i].logicalStart)) { in ubidi_getVisualIndex()
964 if(IS_EVEN_RUN(runs[i].logicalStart)) { in ubidi_getVisualIndex()
966 start=runs[i].logicalStart; in ubidi_getVisualIndex()
971 limit=GET_INDEX(runs[i].logicalStart)+length; in ubidi_getVisualIndex()
1040 int32_t logicalStart, logicalEnd, visualStart=0, j, k; in ubidi_getLogicalIndex() local
1058 logicalStart=runs[i].logicalStart; in ubidi_getLogicalIndex()
1059 evenRun=IS_EVEN_RUN(logicalStart); in ubidi_getLogicalIndex()
1060 REMOVE_ODD_BIT(logicalStart); in ubidi_getLogicalIndex()
1061 logicalEnd=logicalStart+length-1; in ubidi_getLogicalIndex()
1063 k= evenRun ? logicalStart+j : logicalEnd-j; in ubidi_getLogicalIndex()
1097 start=runs[i].logicalStart; in ubidi_getLogicalIndex()
1123 int32_t logicalStart, logicalLimit; in ubidi_getLogicalMap() local
1134 logicalStart=GET_INDEX(runs[j].logicalStart); in ubidi_getLogicalMap()
1136 if(IS_EVEN_RUN(runs[j].logicalStart)) { in ubidi_getLogicalMap()
1138 indexMap[logicalStart++]=visualStart++; in ubidi_getLogicalMap()
1141 logicalStart+=visualLimit-visualStart; /* logicalLimit */ in ubidi_getLogicalMap()
1143 indexMap[--logicalStart]=visualStart++; in ubidi_getLogicalMap()
1161 logicalStart=GET_INDEX(runs[i].logicalStart); in ubidi_getLogicalMap()
1162 logicalLimit=logicalStart+length; in ubidi_getLogicalMap()
1163 for(j=logicalStart; j<logicalLimit; j++) { in ubidi_getLogicalMap()
1186 logicalStart=runs[i].logicalStart; in ubidi_getLogicalMap()
1187 evenRun=IS_EVEN_RUN(logicalStart); in ubidi_getLogicalMap()
1188 REMOVE_ODD_BIT(logicalStart); in ubidi_getLogicalMap()
1189 logicalLimit=logicalStart+length; in ubidi_getLogicalMap()
1192 for(j=logicalStart; j<logicalLimit; j++) { in ubidi_getLogicalMap()
1198 k= evenRun ? logicalStart+j : logicalLimit-j-1; in ubidi_getLogicalMap()
1224 int32_t logicalStart, visualStart, visualLimit, *pi=indexMap; in ubidi_getVisualMap() local
1231 logicalStart=runs->logicalStart; in ubidi_getVisualMap()
1233 if(IS_EVEN_RUN(logicalStart)) { in ubidi_getVisualMap()
1235 *pi++ = logicalStart++; in ubidi_getVisualMap()
1238 REMOVE_ODD_BIT(logicalStart); in ubidi_getVisualMap()
1239 logicalStart+=visualLimit-visualStart; /* logicalLimit */ in ubidi_getVisualMap()
1241 *pi++ = --logicalStart; in ubidi_getVisualMap()
1304 logicalStart=runs[i].logicalStart; in ubidi_getVisualMap()
1305 evenRun=IS_EVEN_RUN(logicalStart); in ubidi_getVisualMap()
1306 REMOVE_ODD_BIT(logicalStart); in ubidi_getVisualMap()
1307 logicalEnd=logicalStart+length-1; in ubidi_getVisualMap()
1309 m= evenRun ? logicalStart+j : logicalEnd-j; in ubidi_getVisualMap()