Home | History | Annotate | Download | only in src

Lines Matching defs:shift_amount

42   void Shift(int shift_amount) {
43 DCHECK(-64 <= shift_amount && shift_amount <= 64);
44 if (shift_amount == 0) {
46 } else if (shift_amount == -64) {
49 } else if (shift_amount == 64) {
52 } else if (shift_amount <= 0) {
53 high_bits_ <<= -shift_amount;
54 high_bits_ += low_bits_ >> (64 + shift_amount);
55 low_bits_ <<= -shift_amount;
57 low_bits_ >>= shift_amount;
58 low_bits_ += high_bits_ << (64 - shift_amount);
59 high_bits_ >>= shift_amount;