Lines Matching refs:runCount

170     pLineBiDi->runCount=-1;
306 int32_t runCount, visualStart, logicalLimit, logicalFirst, i;
312 runCount=ubidi_countRuns((UBiDi *)pBiDi, &errorCode);
322 for(i=0; i<runCount; i++) {
357 return pBiDi->runCount;
371 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LTR);
393 pBiDi->runCount=1;
405 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel.
431 * this run and can --runCount. If it is later part of the all-runs
432 * reordering, then runCount is adjusted accordingly.
438 int32_t firstRun, endRun, limitRun, runCount;
454 runCount=pBiDi->runCount;
458 --runCount;
468 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) {
471 if(firstRun>=runCount) {
476 for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {}
488 if(limitRun==runCount) {
502 --runCount;
505 /* Swap the entire sequence of all runs. (endRun==runCount) */
506 while(firstRun<runCount) {
508 runs[firstRun]=runs[runCount];
509 runs[runCount]=tempRun;
511 --runCount;
520 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart;
522 for(i=0; i<runCount; i++) {
538 * After ubidi_getRuns() returns TRUE, runCount is guaranteed to be >0
553 if (pBiDi->runCount>=0) {
565 int32_t i, runCount;
580 runCount=0;
582 /* increment runCount at the start of each run */
584 ++runCount;
593 if(runCount==1 && limit==length) {
596 } else /* runCount>1 || limit<length */ {
604 ++runCount;
607 /* runCount>1 */
608 if(getRunsMemory(pBiDi, runCount)) {
658 pBiDi->runCount=runCount;
665 for(i=0; i<runCount; ++i) {
674 if(runIndex<runCount) {
897 for(i=0; i<pBiDi->runCount; ++i) {
912 if(i>=pBiDi->runCount) {
986 int32_t i, runCount, start;
1005 runCount=pBiDi->runCount;
1074 if(runCount<=10) {
1079 int32_t begin=0, limit=runCount;
1130 for(j=0; j<pBiDi->runCount; ++j) {
1147 int32_t markFound=0, runCount=pBiDi->runCount;
1151 for(i=0; i<runCount; i++, visualStart+=length) {
1170 int32_t controlFound=0, runCount=pBiDi->runCount;
1176 for(i=0; i<runCount; i++, visualStart+=length) {
1220 Run *runs=pBiDi->runs, *runsLimit=runs+pBiDi->runCount;
1245 int32_t markFound=0, runCount=pBiDi->runCount;
1249 for(i=0; i<runCount; i++) {
1260 for(i=runCount-1; i>=0 && markFound>0; i--) {
1277 int32_t runCount=pBiDi->runCount, logicalEnd;
1285 for(i=0; i<runCount; i++, visualStart+=length) {