Lines Matching defs:shift_amount
80 void Shift(int shift_amount)
82 ASSERT(NEGATIVE_64BIT <= shift_amount && shift_amount <= SHIFT_64BIT);
83 if (shift_amount == 0) {
85 } else if (shift_amount == NEGATIVE_64BIT) {
88 } else if (shift_amount == SHIFT_64BIT) {
91 } else if (shift_amount <= 0) {
92 high_bits_ <<= -shift_amount;
93 high_bits_ += low_bits_ >> (SHIFT_64BIT + shift_amount);
94 low_bits_ <<= -shift_amount;
96 low_bits_ >>= shift_amount;
97 low_bits_ += high_bits_ << (SHIFT_64BIT - shift_amount);
98 high_bits_ >>= shift_amount;