Lines Matching defs:shift
695 UInt shift = (a & 3) << 1; // shift by 0, 2, 4, or 6
696 *vabits8 &= ~(0x3 << shift); // mask out the two old bits
697 *vabits8 |= (vabits2 << shift); // mask in the two new bits
703 UInt shift;
705 shift = (a & 2) << 1; // shift by 0 or 4
706 *vabits8 &= ~(0xf << shift); // mask out the four old bits
707 *vabits8 |= (vabits4 << shift); // mask in the four new bits
713 UInt shift = (a & 3) << 1; // shift by 0, 2, 4, or 6
714 vabits8 >>= shift; // shift the two bits to the bottom
721 UInt shift;
723 shift = (a & 2) << 1; // shift by 0 or 4
724 vabits8 >>= shift; // shift the four bits to the bottom