Lines Matching refs:paraLevel
37 * paraLevel and direction are also set.
64 * at the paraLevel,
84 * before the WS if it is at the paraLevel - we merge the two here.
86 * This function is called only from ubidi_setLine(), so pBiDi->paraLevel is
96 UBiDiLevel paraLevel=pBiDi->paraLevel;
101 level of B chars from 0 to paraLevel in ubidi_getLevels when
114 while(start>0 && levels[start-1]==paraLevel) {
151 pLineBiDi->paraLevel=GET_PARALEVEL(pParaBiDi, start);
178 * implicitly or explicitly ==paraLevel;
198 /* all levels are at paraLevel */
199 pLineBiDi->direction=(UBiDiDirection)(pLineBiDi->paraLevel&1);
205 if(trailingWSStart<length && (pLineBiDi->paraLevel&1)!=level) {
206 /* the trailing WS is at paraLevel, which differs from levels[0] */
209 /* see if levels[1..trailingWSStart-1] have the same direction as levels[0] and paraLevel */
227 /* make sure paraLevel is even */
228 pLineBiDi->paraLevel=(UBiDiLevel)((pLineBiDi->paraLevel+1)&~1);
230 /* all levels are implicitly at paraLevel (important for ubidi_getLevels()) */
234 /* make sure paraLevel is odd */
235 pLineBiDi->paraLevel|=1;
237 /* all levels are implicitly at paraLevel (important for ubidi_getLevels()) */
250 /* return paraLevel if in the trailing WS run, otherwise the real level */
288 /* pBiDi->paraLevel is ok even if contextual multiple paragraphs,
290 uprv_memset(levels+start, pBiDi->paraLevel, length-start);
405 * Here, runCount>1 and maxLevel>=minLevel>=paraLevel.
426 * paraLevel.
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
429 * if minLevel==paraLevel is odd, which is done in the extra segment.
456 /* do not include the WS run at paraLevel<=old minLevel except in the simple loop */
559 /* pBiDi->paraLevel is ok even for contextual multiple paragraphs */
560 getSingleRun(pBiDi, pBiDi->paraLevel);
570 * paraLevel, then they will form their own run at paraLevel (L1).
576 * levels[]!=paraLevel but we have to treat it like it were so.
649 /* For the trailing WS run, pBiDi->paraLevel is ok even
651 if(pBiDi->paraLevel<minLevel) {
652 minLevel=pBiDi->paraLevel;
673 /* For the trailing WS run, pBiDi->paraLevel is ok even if
676 int32_t trailingRun = ((pBiDi->paraLevel & 1) != 0)? 0 : runIndex;
678 ADD_ODD_BIT_FROM_LEVEL(runs[trailingRun].logicalStart, pBiDi->paraLevel);