Lines Matching refs:levels

94     UBiDiLevel *levels=pBiDi->levels;  in setTrailingWSStart()  local
114 while(start>0 && levels[start-1]==paraLevel) { in setTrailingWSStart()
169 pLineBiDi->levels=pParaBiDi->levels+start; in ubidi_setLine()
189 const UBiDiLevel *levels=pLineBiDi->levels; in ubidi_setLine() local
202 level=(UBiDiLevel)(levels[0]&1); in ubidi_setLine()
216 } else if((levels[i]&1)!=level) { in ubidi_setLine()
256 return pBiDi->levels[charIndex]; in ubidi_getLevelAt()
272 return pBiDi->levels; in ubidi_getLevels()
283 UBiDiLevel *levels=pBiDi->levelsMemory; in ubidi_getLevels() local
285 if(start>0 && levels!=pBiDi->levels) { in ubidi_getLevels()
286 uprv_memcpy(levels, pBiDi->levels, start); in ubidi_getLevels()
290 uprv_memset(levels+start, pBiDi->paraLevel, length-start); in ubidi_getLevels()
294 return pBiDi->levels=levels; in ubidi_getLevels()
342 *pLevel=pBiDi->levels[logicalPosition]; in ubidi_getLogicalRun()
437 UBiDiLevel *levels; in reorderLine() local
453 levels=pBiDi->levels; in reorderLine()
468 while(firstRun<runCount && levels[runs[firstRun].logicalStart]<maxLevel) { in reorderLine()
476 … for(limitRun=firstRun; ++limitRun<runCount && levels[runs[limitRun].logicalStart]>=maxLevel;) {} in reorderLine()
564 UBiDiLevel *levels=pBiDi->levels; in ubidi_getRuns() local
583 if(levels[i]!=level) { in ubidi_getRuns()
585 level=levels[i]; in ubidi_getRuns()
595 getSingleRun(pBiDi, levels[0]); in ubidi_getRuns()
627 level=levels[i]; in ubidi_getRuns()
636 while(++i<limit && levels[i]==level) {} in ubidi_getRuns()
666 ADD_ODD_BIT_FROM_LEVEL(runs[i].logicalStart, levels[runs[i].logicalStart]); in ubidi_getRuns()
710 prepareReorder(const UBiDiLevel *levels, int32_t length, in prepareReorder() argument
716 if(levels==NULL || length<=0) { in prepareReorder()
724 level=levels[--start]; in prepareReorder()
750 ubidi_reorderLogical(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderLogical() argument
754 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderLogical()
774 while(start<length && levels[start]<maxLevel) { in ubidi_reorderLogical()
782 for(limit=start; ++limit<length && levels[limit]>=maxLevel;) {} in ubidi_reorderLogical()
813 ubidi_reorderVisual(const UBiDiLevel *levels, int32_t length, int32_t *indexMap) { in ubidi_reorderVisual() argument
817 if(indexMap==NULL || !prepareReorder(levels, length, indexMap, &minLevel, &maxLevel)) { in ubidi_reorderVisual()
837 while(start<length && levels[start]<maxLevel) { in ubidi_reorderVisual()
845 for(limit=start; ++limit<length && levels[limit]>=maxLevel;) {} in ubidi_reorderVisual()