Home | History | Annotate | Download | only in src

Lines Matching refs:shift_amount

41   void Shift(int shift_amount) {
42 DCHECK(-64 <= shift_amount && shift_amount <= 64);
43 if (shift_amount == 0) {
45 } else if (shift_amount == -64) {
48 } else if (shift_amount == 64) {
51 } else if (shift_amount <= 0) {
52 high_bits_ <<= -shift_amount;
53 high_bits_ += low_bits_ >> (64 + shift_amount);
54 low_bits_ <<= -shift_amount;
56 low_bits_ >>= shift_amount;
57 low_bits_ += high_bits_ << (64 - shift_amount);
58 high_bits_ >>= shift_amount;