Lines Matching refs:s8
149 DEFINE_TEST_ARRAY(s8) = {
300 DEFINE_TEST_FUNC(s8, "%d");
398 TEST_ONE_SHIFT(0, 6, s8, 0, false); in shift_sane_test()
419 TEST_ONE_SHIFT(1, 7, s8, 0, true); in shift_overflow_test()
438 TEST_ONE_SHIFT(75, 1, s8, 0, true); in shift_overflow_test()
449 TEST_ONE_SHIFT(75, 2, s8, 0, true); in shift_overflow_test()
467 TEST_ONE_SHIFT(0xFF, 0, s8, 0, true); in shift_truncate_test()
479 TEST_ONE_SHIFT(0, 8, s8, 0, true); in shift_truncate_test()
480 TEST_ONE_SHIFT(0, 9, s8, 0, true); in shift_truncate_test()
504 TEST_ONE_SHIFT(-1, 0, s8, 0, true); in shift_nonsense_test()
516 TEST_ONE_SHIFT(0, -5, s8, 0, true); in shift_nonsense_test()
536 TEST_ONE_SHIFT(0, 7, s8, 0, false); in shift_nonsense_test()
764 TEST_OVERFLOWS_TYPE(u8, s8, U8_MAX, true); in overflows_type_test()
765 TEST_OVERFLOWS_TYPE(u8, s8, S8_MAX, false); in overflows_type_test()
766 TEST_OVERFLOWS_TYPE(u8, s8, (u8)S8_MAX + 1, true); in overflows_type_test()
768 TEST_OVERFLOWS_TYPE(s8, u8, S8_MAX, false); in overflows_type_test()
769 TEST_OVERFLOWS_TYPE(s8, u8, -1, true); in overflows_type_test()
770 TEST_OVERFLOWS_TYPE(s8, u8, S8_MIN, true); in overflows_type_test()
771 TEST_OVERFLOWS_TYPE(s8, u16, S8_MAX, false); in overflows_type_test()
772 TEST_OVERFLOWS_TYPE(s8, u16, -1, true); in overflows_type_test()
773 TEST_OVERFLOWS_TYPE(s8, u16, S8_MIN, true); in overflows_type_test()
774 TEST_OVERFLOWS_TYPE(s8, u32, S8_MAX, false); in overflows_type_test()
775 TEST_OVERFLOWS_TYPE(s8, u32, -1, true); in overflows_type_test()
776 TEST_OVERFLOWS_TYPE(s8, u32, S8_MIN, true); in overflows_type_test()
778 TEST_OVERFLOWS_TYPE(s8, u64, S8_MAX, false); in overflows_type_test()
779 TEST_OVERFLOWS_TYPE(s8, u64, -1, true); in overflows_type_test()
780 TEST_OVERFLOWS_TYPE(s8, u64, S8_MIN, true); in overflows_type_test()
782 TEST_OVERFLOWS_TYPE(s8, s8, S8_MAX, false); in overflows_type_test()
783 TEST_OVERFLOWS_TYPE(s8, s8, S8_MIN, false); in overflows_type_test()
784 TEST_OVERFLOWS_TYPE(s8, s16, S8_MAX, false); in overflows_type_test()
785 TEST_OVERFLOWS_TYPE(s8, s16, S8_MIN, false); in overflows_type_test()
789 TEST_OVERFLOWS_TYPE(u16, s8, S8_MAX, false); in overflows_type_test()
790 TEST_OVERFLOWS_TYPE(u16, s8, (u16)S8_MAX + 1, true); in overflows_type_test()
791 TEST_OVERFLOWS_TYPE(u16, s8, U16_MAX, true); in overflows_type_test()
812 TEST_OVERFLOWS_TYPE(s16, s8, S8_MAX, false); in overflows_type_test()
813 TEST_OVERFLOWS_TYPE(s16, s8, S8_MIN, false); in overflows_type_test()
814 TEST_OVERFLOWS_TYPE(s16, s8, (s16)S8_MAX + 1, true); in overflows_type_test()
815 TEST_OVERFLOWS_TYPE(s16, s8, (s16)S8_MIN - 1, true); in overflows_type_test()
816 TEST_OVERFLOWS_TYPE(s16, s8, S16_MAX, true); in overflows_type_test()
817 TEST_OVERFLOWS_TYPE(s16, s8, S16_MIN, true); in overflows_type_test()
825 TEST_OVERFLOWS_TYPE(u32, s8, S8_MAX, false); in overflows_type_test()
826 TEST_OVERFLOWS_TYPE(u32, s8, (u32)S8_MAX + 1, true); in overflows_type_test()
827 TEST_OVERFLOWS_TYPE(u32, s8, U32_MAX, true); in overflows_type_test()
860 TEST_OVERFLOWS_TYPE(s32, s8, S8_MAX, false); in overflows_type_test()
861 TEST_OVERFLOWS_TYPE(s32, s8, S8_MIN, false); in overflows_type_test()
862 TEST_OVERFLOWS_TYPE(s32, s8, (s32)S8_MAX + 1, true); in overflows_type_test()
863 TEST_OVERFLOWS_TYPE(s32, s8, (s32)S8_MIN - 1, true); in overflows_type_test()
864 TEST_OVERFLOWS_TYPE(s32, s8, S32_MAX, true); in overflows_type_test()
865 TEST_OVERFLOWS_TYPE(s32, s8, S32_MIN, true); in overflows_type_test()
887 TEST_OVERFLOWS_TYPE(u64, s8, S8_MAX, false); in overflows_type_test()
888 TEST_OVERFLOWS_TYPE(u64, s8, (u64)S8_MAX + 1, true); in overflows_type_test()
889 TEST_OVERFLOWS_TYPE(u64, s8, U64_MAX, true); in overflows_type_test()
917 TEST_OVERFLOWS_TYPE(s64, s8, S8_MAX, false); in overflows_type_test()
918 TEST_OVERFLOWS_TYPE(s64, s8, S8_MIN, false); in overflows_type_test()
919 TEST_OVERFLOWS_TYPE(s64, s8, (s64)S8_MAX + 1, true); in overflows_type_test()
920 TEST_OVERFLOWS_TYPE(s64, s8, (s64)S8_MIN - 1, true); in overflows_type_test()
921 TEST_OVERFLOWS_TYPE(s64, s8, S64_MAX, true); in overflows_type_test()
991 TEST_SAME_TYPE(base, s8, ms8); \ in same_type_test()
1001 TEST_TYPE_SETS(s8, false, false, false, true, false, false, false, false); in same_type_test()
1041 TEST_CASTABLE_TO_TYPE(16, s8, true); in castable_to_type_test()
1044 TEST_CASTABLE_TO_TYPE(-16, s8, true); in castable_to_type_test()