Lines Matching refs:maxLevel
405 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel.
411 * Since each run is moved but not modified, and since at the initial maxLevel
413 * don't need to do anything there and can predecrement maxLevel.
427 * However, for all maxLevel>paraLevel, this run will never be reordered
428 * and does not need to be taken into account. maxLevel==paraLevel is only reordered
435 maxLevel) {
441 if(maxLevel<=(minLevel|1)) {
461 while(--maxLevel>=minLevel) {
466 /* look for a sequence of runs that are all at >=maxLevel */
468 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) {
476 for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {}
496 /* now do maxLevel==old minLevel (==odd!), see above */
600 UBiDiLevel minLevel=UBIDI_MAX_EXPLICIT_LEVEL+1, maxLevel=0;
631 if(level>maxLevel) {
632 maxLevel=level;
660 reorderLine(pBiDi, minLevel, maxLevel);
713 UBiDiLevel level, minLevel, maxLevel;
719 /* determine minLevel and maxLevel */
721 maxLevel=0;
730 if(level>maxLevel) {
731 maxLevel=level;
735 *pMaxLevel=maxLevel;
751 UBiDiLevel minLevel, maxLevel;
753 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) {
758 if(minLevel==maxLevel && (minLevel&1)==0) {
765 /* loop maxLevel..minLevel */
769 /* loop for all sequences of levels to reorder at the current maxLevel */
771 /* look for a sequence of levels that are all at >=maxLevel */
773 while(start<length && levels[start]<maxLevel) {
781 for(limit=start; ++limit<length && levels[limit]>=maxLevel;) {}
808 } while(--maxLevel>=minLevel);
814 UBiDiLevel minLevel, maxLevel;
816 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) {
821 if(minLevel==maxLevel && (minLevel&1)==0) {
828 /* loop maxLevel..minLevel */
832 /* loop for all sequences of levels to reorder at the current maxLevel */
834 /* look for a sequence of levels that are all at >=maxLevel */
836 while(start<length && levels[start]<maxLevel) {
844 for(limit=start; ++limit<length && levels[limit]>=maxLevel;) {}
868 } while(--maxLevel>=minLevel);