Home | History | Annotate | Download | only in helper

Lines Matching defs:masked

1439             int masked = flags & ABS_HORIZONTAL_DIR_FLAGS;
1440 if (masked == 0) {
1443 flags &= ~masked; //remove left / right.
1446 flags |= masked << 2; // START is 2 bits after LEFT, END is 2 bits after RIGHT.
1450 flags |= ((masked << 1) & ~ABS_HORIZONTAL_DIR_FLAGS);
1452 flags |= ((masked << 1) & ABS_HORIZONTAL_DIR_FLAGS) << 2;
1528 int masked = flags & RELATIVE_DIR_FLAGS;
1529 if (masked == 0) {
1532 flags &= ~masked; //remove start / end
1535 flags |= masked >> 2; // START is 2 bits after LEFT, END is 2 bits after RIGHT.
1539 flags |= ((masked >> 1) & ~RELATIVE_DIR_FLAGS);
1541 flags |= ((masked >> 1) & RELATIVE_DIR_FLAGS) >> 2;