Lines Matching refs:runCount
170 pLineBiDi->runCount=-1; in ubidi_setLine()
306 int32_t runCount, visualStart, logicalLimit, logicalFirst, i; in ubidi_getLogicalRun() local
312 runCount=ubidi_countRuns((UBiDi *)pBiDi, &errorCode); in ubidi_getLogicalRun()
322 for(i=0; i<runCount; i++) { in ubidi_getLogicalRun()
357 return pBiDi->runCount; in ubidi_countRuns()
371 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LTR); in ubidi_getVisualRun()
393 pBiDi->runCount=1; in getSingleRun()
438 int32_t firstRun, endRun, limitRun, runCount; in reorderLine() local
454 runCount=pBiDi->runCount; in reorderLine()
458 --runCount; in reorderLine()
468 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine()
471 if(firstRun>=runCount) { in reorderLine()
476 … for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {} in reorderLine()
488 if(limitRun==runCount) { in reorderLine()
502 --runCount; in reorderLine()
506 while(firstRun<runCount) { in reorderLine()
508 runs[firstRun]=runs[runCount]; in reorderLine()
509 runs[runCount]=tempRun; in reorderLine()
511 --runCount; in reorderLine()
520 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart; in getRunFromLogicalIndex() local
522 for(i=0; i<runCount; i++) { in getRunFromLogicalIndex()
553 if (pBiDi->runCount>=0) { in ubidi_getRuns()
565 int32_t i, runCount; in ubidi_getRuns() local
580 runCount=0; in ubidi_getRuns()
584 ++runCount; in ubidi_getRuns()
593 if(runCount==1 && limit==length) { in ubidi_getRuns()
604 ++runCount; in ubidi_getRuns()
608 if(getRunsMemory(pBiDi, runCount)) { in ubidi_getRuns()
658 pBiDi->runCount=runCount; in ubidi_getRuns()
665 for(i=0; i<runCount; ++i) { in ubidi_getRuns()
675 if(runIndex<runCount) { in ubidi_getRuns()
898 for(i=0; i<pBiDi->runCount; ++i) { in ubidi_getVisualIndex()
913 if(i>=pBiDi->runCount) { in ubidi_getVisualIndex()
987 int32_t i, runCount, start; in ubidi_getLogicalIndex() local
1006 runCount=pBiDi->runCount; in ubidi_getLogicalIndex()
1075 if(runCount<=10) { in ubidi_getLogicalIndex()
1080 int32_t begin=0, limit=runCount; in ubidi_getLogicalIndex()
1131 for(j=0; j<pBiDi->runCount; ++j) { in ubidi_getLogicalMap()
1148 int32_t markFound=0, runCount=pBiDi->runCount; in ubidi_getLogicalMap() local
1152 for(i=0; i<runCount; i++, visualStart+=length) { in ubidi_getLogicalMap()
1171 int32_t controlFound=0, runCount=pBiDi->runCount; in ubidi_getLogicalMap() local
1177 for(i=0; i<runCount; i++, visualStart+=length) { in ubidi_getLogicalMap()
1221 Run *runs=pBiDi->runs, *runsLimit=runs+pBiDi->runCount; in ubidi_getVisualMap()
1246 int32_t markFound=0, runCount=pBiDi->runCount; in ubidi_getVisualMap() local
1250 for(i=0; i<runCount; i++) { in ubidi_getVisualMap()
1261 for(i=runCount-1; i>=0 && markFound>0; i--) { in ubidi_getVisualMap()
1278 int32_t runCount=pBiDi->runCount, logicalEnd; in ubidi_getVisualMap() local
1286 for(i=0; i<runCount; i++, visualStart+=length) { in ubidi_getVisualMap()