Home | History | Annotate | Download | only in common

Lines Matching defs:runCount

174     pLineBiDi->runCount=-1;
310 int32_t runCount, visualStart, logicalLimit, logicalFirst, i;
316 runCount=ubidi_countRuns((UBiDi *)pBiDi, &errorCode);
326 for(i=0; i<runCount; i++) {
361 return pBiDi->runCount;
375 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LTR);
397 pBiDi->runCount=1;
409 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel.
435 runCount. If it is later part of the all-runs
436 * reordering, then runCount is adjusted accordingly.
442 int32_t firstRun, endRun, limitRun, runCount;
458 runCount=pBiDi->runCount;
462 --runCount;
472 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) {
475 if(firstRun>=runCount) {
480 for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {}
492 if(limitRun==runCount) {
506 --runCount;
509 /* Swap the entire sequence of all runs. (endRun==runCount) */
510 while(firstRun<runCount) {
512 runs[firstRun]=runs[runCount];
513 runs[runCount]=tempRun;
515 --runCount;
524 int32_t runCount=pBiDi->runCount, visualStart=0, i, length, logicalStart;
526 for(i=0; i<runCount; i++) {
542 * After ubidi_getRuns() returns TRUE, runCount is guaranteed to be >0
557 if (pBiDi->runCount>=0) {
569 int32_t i, runCount;
584 runCount=0;
586 /* increment runCount at the start of each run */
588 ++runCount;
597 if(runCount==1 && limit==length) {
600 } else /* runCount>1 || limit<length */ {
608 ++runCount;
611 /* runCount>1 */
612 if(getRunsMemory(pBiDi, runCount)) {
662 pBiDi->runCount=runCount;
669 for(i=0; i<runCount; ++i) {
679 if(runIndex<runCount) {
902 for(i=0; i<pBiDi->runCount; ++i) {
917 if(i>=pBiDi->runCount) {
991 int32_t i, runCount, start;
1010 runCount=pBiDi->runCount;
1079 if(runCount<=10) {
1084 int32_t begin=0, limit=runCount;
1135 for(j=0; j<pBiDi->runCount; ++j) {
1152 int32_t markFound=0, runCount=pBiDi->runCount;
1156 for(i=0; i<runCount; i++, visualStart+=length) {
1175 int32_t controlFound=0, runCount=pBiDi->runCount;
1181 for(i=0; i<runCount; i++, visualStart+=length) {
1225 Run *runs=pBiDi->runs, *runsLimit=runs+pBiDi->runCount;
1250 int32_t markFound=0, runCount=pBiDi->runCount;
1254 for(i=0; i<runCount; i++) {
1265 for(i=runCount-1; i>=0 && markFound>0; i--) {
1282 int32_t runCount=pBiDi->runCount, logicalEnd;
1290 for(i=0; i<runCount; i++, visualStart+=length) {