Home | History | Annotate | Download | only in common

Lines Matching refs:flags

78  * in a flags variable and later checking for whether there are
82 * If the (Xn) steps are performed, then the flags are re-evaluated,
85 * more bypassing may be possible than what the initial flags suggested.
99 * and are checked with a test of (flags&MASK_EMBEDDING) to
101 * the flags variable.
108 static const Flags flagLR[2]={ DIRPROP_FLAG(L), DIRPROP_FLAG(R) };
109 static const Flags flagE[2]={ DIRPROP_FLAG(LRE), DIRPROP_FLAG(RLE) };
110 static const Flags flagO[2]={ DIRPROP_FLAG(LRO), DIRPROP_FLAG(RLO) };
144 /* reset the object, all pointers NULL, all flags FALSE, all sizes 0 */
336 * calculate the flags bit-set, and
345 Flags flags=0; /* collect all directionalities in the text */
393 flags|=DIRPROP_FLAG(dirProp=(DirProp)ubidi_getCustomizedClass(pBiDi, uchar));
396 flags|=DIRPROP_FLAG(BN);
476 flags|=DIRPROP_FLAG_LR(pBiDi->paraLevel);
478 if(pBiDi->orderParagraphsLTR && (flags&DIRPROP_FLAG(B))) {
479 flags|=DIRPROP_FLAG(L);
483 pBiDi->flags=flags;
492 Flags flags=pBiDi->flags;
494 if(!(flags&MASK_RTL || ((flags&DIRPROP_FLAG(AN)) && (flags&MASK_POSSIBLE_N)))) {
496 } else if(!(flags&MASK_LTR)) {
505 * Recalculate the flags to have them reflect the real properties
562 Flags flags=pBiDi->flags; /* collect all directionalities in the text */
577 (!(flags&MASK_EXPLICIT) ||
596 /* recalculate the flags */
597 flags=0;
622 flags|=DIRPROP_FLAG(BN);
642 flags|=DIRPROP_FLAG(BN);
658 flags|=DIRPROP_FLAG(BN);
670 flags|=DIRPROP_FLAG(B);
675 flags|=DIRPROP_FLAG(BN);
682 flags|=DIRPROP_FLAG_O(level)|DIRPROP_FLAG_MULTI_RUNS;
684 flags|=DIRPROP_FLAG_E(level)|DIRPROP_FLAG_MULTI_RUNS;
688 flags|=DIRPROP_FLAG(dirProp);
699 if(flags&MASK_EMBEDDING) {
700 flags|=DIRPROP_FLAG_LR(pBiDi->paraLevel);
702 if(pBiDi->orderParagraphsLTR && (flags&DIRPROP_FLAG(B))) {
703 flags|=DIRPROP_FLAG(L);
709 pBiDi->flags=flags;
723 * Recalculate the flags to have them reflect the real properties
734 Flags flags=0; /* collect all directionalities in the text */
742 /* keep the override flag in levels[i] but adjust the flags */
744 flags|=DIRPROP_FLAG_O(level);
746 /* set the flags */
747 flags|=DIRPROP_FLAG_E(level)|DIRPROP_FLAG(dirProp);
762 if(flags&MASK_EMBEDDING) {
763 flags|=DIRPROP_FLAG_LR(pBiDi->paraLevel);
767 pBiDi->flags=flags;
1512 if(pBiDi->flags&MASK_WS) {
1514 Flags flag;
1785 * the flags and the direction set but without allocating zero-length arrays.
1793 pBiDi->flags=DIRPROP_FLAG(R);
1796 pBiDi->flags=DIRPROP_FLAG(L);
1810 * the flags bit-set, and
1925 !(pBiDi->flags&DIRPROP_FLAG_MULTI_RUNS)) {
1980 /* remove the UBIDI_LEVEL_OVERRIDE flags */