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