Lines Matching refs:valsize
1499 template<int valsize>
1504 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_signed()
1505 limit <<= ((valsize - 1) >> 1); in has_overflow_signed()
1506 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_signed()
1510 template<int valsize>
1514 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_unsigned()
1515 limit <<= ((valsize - 1) >> 1); in has_overflow_unsigned()
1516 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_unsigned()
1520 template<int valsize>
1524 return (has_overflow_unsigned<valsize>(value) in has_overflow_bitfield()
1525 && has_overflow_signed<valsize>(value)); in has_overflow_bitfield()
1528 template<int valsize>
1534 if (has_overflow_signed<valsize>(value)) in overflowed()
1539 if (has_overflow_unsigned<valsize>(value)) in overflowed()
1544 if (has_overflow_bitfield<valsize>(value)) in overflowed()
1551 template<int fieldsize, int valsize>
1558 return overflowed<valsize>(value, overflow); in rela()
1561 template<int fieldsize, int valsize>
1576 return overflowed<valsize>(value >> right_shift, overflow); in rela()
1580 template<int fieldsize, int valsize>
1585 return overflowed<valsize>(value, overflow); in rela_ua()
1588 template<int fieldsize, int valsize>
1603 return overflowed<valsize>(value >> right_shift, overflow); in rela_ua()