Lines Matching refs:logicalStart
328 logicalFirst=GET_INDEX(iRun.logicalStart); in ubidi_getLogicalRun()
341 *pLevel=(UBiDiLevel)GET_ODD_BIT(iRun.logicalStart); in ubidi_getLogicalRun()
377 start=pBiDi->runs[runIndex].logicalStart; in ubidi_getVisualRun()
400 pBiDi->runs[0].logicalStart=MAKE_INDEX_ODD_PAIR(0, level); in getSingleRun()
472 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine()
480 … for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {} in reorderLine()
524 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; in getRunFromLogicalIndex() local
528 logicalStart=GET_INDEX(runs[i].logicalStart); in getRunFromLogicalIndex()
529 if((logicalIndex>=logicalStart) && (logicalIndex<(logicalStart+length))) { in getRunFromLogicalIndex()
643 runs[runIndex].logicalStart=start; in ubidi_getRuns()
651 runs[runIndex].logicalStart=limit; in ubidi_getRuns()
670 ADD_ODD_BIT_FROM_LEVEL(runs[i].logicalStart, levels[runs[i].logicalStart]); in ubidi_getRuns()
682 ADD_ODD_BIT_FROM_LEVEL(runs[trailingRun].logicalStart, pBiDi->paraLevel); in ubidi_getRuns()
904 offset=logicalIndex-GET_INDEX(runs[i].logicalStart); in ubidi_getVisualIndex()
906 if(IS_EVEN_RUN(runs[i].logicalStart)) { in ubidi_getVisualIndex()
966 if(IS_EVEN_RUN(runs[i].logicalStart)) { in ubidi_getVisualIndex()
968 start=runs[i].logicalStart; in ubidi_getVisualIndex()
973 limit=GET_INDEX(runs[i].logicalStart)+length; in ubidi_getVisualIndex()
1042 int32_t logicalStart, logicalEnd, visualStart=0, j, k; in ubidi_getLogicalIndex() local
1060 logicalStart=runs[i].logicalStart; in ubidi_getLogicalIndex()
1061 evenRun=IS_EVEN_RUN(logicalStart); in ubidi_getLogicalIndex()
1062 REMOVE_ODD_BIT(logicalStart); in ubidi_getLogicalIndex()
1063 logicalEnd=logicalStart+length-1; in ubidi_getLogicalIndex()
1065 k= evenRun ? logicalStart+j : logicalEnd-j; in ubidi_getLogicalIndex()
1099 start=runs[i].logicalStart; in ubidi_getLogicalIndex()
1125 int32_t logicalStart, logicalLimit; in ubidi_getLogicalMap() local
1136 logicalStart=GET_INDEX(runs[j].logicalStart); in ubidi_getLogicalMap()
1138 if(IS_EVEN_RUN(runs[j].logicalStart)) { in ubidi_getLogicalMap()
1140 indexMap[logicalStart++]=visualStart++; in ubidi_getLogicalMap()
1143 logicalStart+=visualLimit-visualStart; /* logicalLimit */ in ubidi_getLogicalMap()
1145 indexMap[--logicalStart]=visualStart++; in ubidi_getLogicalMap()
1163 logicalStart=GET_INDEX(runs[i].logicalStart); in ubidi_getLogicalMap()
1164 logicalLimit=logicalStart+length; in ubidi_getLogicalMap()
1165 for(j=logicalStart; j<logicalLimit; j++) { in ubidi_getLogicalMap()
1188 logicalStart=runs[i].logicalStart; in ubidi_getLogicalMap()
1189 evenRun=IS_EVEN_RUN(logicalStart); in ubidi_getLogicalMap()
1190 REMOVE_ODD_BIT(logicalStart); in ubidi_getLogicalMap()
1191 logicalLimit=logicalStart+length; in ubidi_getLogicalMap()
1194 for(j=logicalStart; j<logicalLimit; j++) { in ubidi_getLogicalMap()
1200 k= evenRun ? logicalStart+j : logicalLimit-j-1; in ubidi_getLogicalMap()
1226 int32_t logicalStart, visualStart, visualLimit, *pi=indexMap; in ubidi_getVisualMap() local
1233 logicalStart=runs->logicalStart; in ubidi_getVisualMap()
1235 if(IS_EVEN_RUN(logicalStart)) { in ubidi_getVisualMap()
1237 *pi++ = logicalStart++; in ubidi_getVisualMap()
1240 REMOVE_ODD_BIT(logicalStart); in ubidi_getVisualMap()
1241 logicalStart+=visualLimit-visualStart; /* logicalLimit */ in ubidi_getVisualMap()
1243 *pi++ = --logicalStart; in ubidi_getVisualMap()
1306 logicalStart=runs[i].logicalStart; in ubidi_getVisualMap()
1307 evenRun=IS_EVEN_RUN(logicalStart); in ubidi_getVisualMap()
1308 REMOVE_ODD_BIT(logicalStart); in ubidi_getVisualMap()
1309 logicalEnd=logicalStart+length-1; in ubidi_getVisualMap()
1311 m= evenRun ? logicalStart+j : logicalEnd-j; in ubidi_getVisualMap()