Lines Matching defs:shift
688 UInt shift = (a & 3) << 1; // shift by 0, 2, 4, or 6
689 *vabits8 &= ~(0x3 << shift); // mask out the two old bits
690 *vabits8 |= (vabits2 << shift); // mask in the two new bits
696 UInt shift;
698 shift = (a & 2) << 1; // shift by 0 or 4
699 *vabits8 &= ~(0xf << shift); // mask out the four old bits
700 *vabits8 |= (vabits4 << shift); // mask in the four new bits
706 UInt shift = (a & 3) << 1; // shift by 0, 2, 4, or 6
707 vabits8 >>= shift; // shift the two bits to the bottom
714 UInt shift;
716 shift = (a & 2) << 1; // shift by 0 or 4
717 vabits8 >>= shift; // shift the four bits to the bottom
4647 UInt shift;
4649 shift = (a & 2) << 1; // shift by 0 or 4
4650 vabits8 >>= shift; // shift the four bits to the bottom