Lines Matching refs:as_signed
736 int32_t as_signed = static_cast<int32_t>(val); in sign_extend32() local
738 as_signed -= static_cast<int32_t>(top_bit * 2); in sign_extend32()
739 return as_signed; in sign_extend32()
752 int32_t as_signed = static_cast<int32_t>(val); in has_overflow32() local
753 return as_signed > max || as_signed < min; in has_overflow32()
768 int32_t as_signed = static_cast<int32_t>(val); in has_signed_unsigned_overflow32() local
769 return as_signed > max || as_signed < min; in has_signed_unsigned_overflow32()
790 int64_t as_signed = static_cast<int64_t>(val); in sign_extend() local
792 as_signed -= static_cast<int64_t>(top_bit * 2); in sign_extend()
793 return as_signed; in sign_extend()
806 int64_t as_signed = static_cast<int64_t>(val); in has_overflow() local
807 return as_signed > max || as_signed < min; in has_overflow()
822 int64_t as_signed = static_cast<int64_t>(val); in has_signed_unsigned_overflow64() local
823 return as_signed > max || as_signed < min; in has_signed_unsigned_overflow64()