Lines Matching full:true
61 {0, 1, 1, U8_MAX, 0, false, true, false},
63 {0, U8_MAX, U8_MAX, 1, 0, false, true, false},
65 {1, U8_MAX, 0, 2, U8_MAX, true, true, false},
66 {U8_MAX, 1, 0, U8_MAX-1, U8_MAX, true, false, false},
67 {U8_MAX, U8_MAX, U8_MAX-1, 0, 1, true, false, true},
69 {U8_MAX, U8_MAX-1, U8_MAX-2, 1, 2, true, false, true},
70 {U8_MAX-1, U8_MAX, U8_MAX-2, U8_MAX, 2, true, true, true},
73 {1U << 4, 1U << 4, 1U << 5, 0, 0, false, false, true},
75 {1U << 7, 1U << 7, 0, 0, 0, true, false, true},
77 {48, 32, 80, 16, 0, false, false, true},
78 {128, 128, 0, 0, 0, true, false, true},
79 {123, 234, 101, 145, 110, true, true, true},
84 {0, 1, 1, U16_MAX, 0, false, true, false},
86 {0, U16_MAX, U16_MAX, 1, 0, false, true, false},
88 {1, U16_MAX, 0, 2, U16_MAX, true, true, false},
89 {U16_MAX, 1, 0, U16_MAX-1, U16_MAX, true, false, false},
90 {U16_MAX, U16_MAX, U16_MAX-1, 0, 1, true, false, true},
92 {U16_MAX, U16_MAX-1, U16_MAX-2, 1, 2, true, false, true},
93 {U16_MAX-1, U16_MAX, U16_MAX-2, U16_MAX, 2, true, true, true},
96 {1U << 8, 1U << 8, 1U << 9, 0, 0, false, false, true},
98 {1U << 15, 1U << 15, 0, 0, 0, true, false, true},
100 {123, 234, 357, 65425, 28782, false, true, false},
101 {1234, 2345, 3579, 64425, 10146, false, true, true},
106 {0, 1, 1, U32_MAX, 0, false, true, false},
108 {0, U32_MAX, U32_MAX, 1, 0, false, true, false},
110 {1, U32_MAX, 0, 2, U32_MAX, true, true, false},
111 {U32_MAX, 1, 0, U32_MAX-1, U32_MAX, true, false, false},
112 {U32_MAX, U32_MAX, U32_MAX-1, 0, 1, true, false, true},
114 {U32_MAX, U32_MAX-1, U32_MAX-2, 1, 2, true, false, true},
115 {U32_MAX-1, U32_MAX, U32_MAX-2, U32_MAX, 2, true, true, true},
118 {1U << 16, 1U << 16, 1U << 17, 0, 0, false, false, true},
120 {1U << 31, 1U << 31, 0, 0, 0, true, false, true},
123 {-4U, 5U, 1U, -9U, -20U, true, false, true},
129 {0, 1, 1, U64_MAX, 0, false, true, false},
131 {0, U64_MAX, U64_MAX, 1, 0, false, true, false},
133 {1, U64_MAX, 0, 2, U64_MAX, true, true, false},
134 {U64_MAX, 1, 0, U64_MAX-1, U64_MAX, true, false, false},
135 {U64_MAX, U64_MAX, U64_MAX-1, 0, 1, true, false, true},
137 {U64_MAX, U64_MAX-1, U64_MAX-2, 1, 2, true, false, true},
138 {U64_MAX-1, U64_MAX, U64_MAX-2, U64_MAX, 2, true, true, true},
141 {1ULL << 32, 1ULL << 32, 1ULL << 33, 0, 0, false, false, true},
143 {1ULL << 63, 1ULL << 63, 0, 0, 0, true, false, true},
146 false, true, false},
147 {-15ULL, 10ULL, -5ULL, -25ULL, -150ULL, false, false, true},
155 {0, S8_MIN, S8_MIN, S8_MIN, 0, false, true, false},
158 {-1, S8_MIN, S8_MAX, S8_MAX, S8_MIN, true, false, true},
159 {S8_MIN, -1, S8_MAX, -S8_MAX, S8_MIN, true, false, true},
161 {S8_MAX, -1, S8_MAX-1, S8_MIN, -S8_MAX, false, true, false},
165 {1, S8_MIN, -S8_MAX, -S8_MAX, S8_MIN, false, true, false},
166 {S8_MIN, 1, -S8_MAX, S8_MAX, S8_MIN, false, true, false},
167 {1, S8_MAX, S8_MIN, S8_MIN+2, S8_MAX, true, false, false},
168 {S8_MAX, 1, S8_MIN, S8_MAX-1, S8_MAX, true, false, false},
170 {S8_MIN, S8_MIN, 0, 0, 0, true, false, true},
171 {S8_MAX, S8_MAX, -2, 0, 1, true, false, true},
173 {-4, -32, -36, 28, -128, false, false, true},
182 {0, S16_MIN, S16_MIN, S16_MIN, 0, false, true, false},
185 {-1, S16_MIN, S16_MAX, S16_MAX, S16_MIN, true, false, true},
186 {S16_MIN, -1, S16_MAX, -S16_MAX, S16_MIN, true, false, true},
188 {S16_MAX, -1, S16_MAX-1, S16_MIN, -S16_MAX, false, true, false},
192 {1, S16_MIN, -S16_MAX, -S16_MAX, S16_MIN, false, true, false},
193 {S16_MIN, 1, -S16_MAX, S16_MAX, S16_MIN, false, true, false},
194 {1, S16_MAX, S16_MIN, S16_MIN+2, S16_MAX, true, false, false},
195 {S16_MAX, 1, S16_MIN, S16_MAX-1, S16_MAX, true, false, false},
197 {S16_MIN, S16_MIN, 0, 0, 0, true, false, true},
198 {S16_MAX, S16_MAX, -2, 0, 1, true, false, true},
205 {0, S32_MIN, S32_MIN, S32_MIN, 0, false, true, false},
208 {-1, S32_MIN, S32_MAX, S32_MAX, S32_MIN, true, false, true},
209 {S32_MIN, -1, S32_MAX, -S32_MAX, S32_MIN, true, false, true},
211 {S32_MAX, -1, S32_MAX-1, S32_MIN, -S32_MAX, false, true, false},
215 {1, S32_MIN, -S32_MAX, -S32_MAX, S32_MIN, false, true, false},
216 {S32_MIN, 1, -S32_MAX, S32_MAX, S32_MIN, false, true, false},
217 {1, S32_MAX, S32_MIN, S32_MIN+2, S32_MAX, true, false, false},
218 {S32_MAX, 1, S32_MIN, S32_MAX-1, S32_MAX, true, false, false},
220 {S32_MIN, S32_MIN, 0, 0, 0, true, false, true},
221 {S32_MAX, S32_MAX, -2, 0, 1, true, false, true},
229 {0, S64_MIN, S64_MIN, S64_MIN, 0, false, true, false},
232 {-1, S64_MIN, S64_MAX, S64_MAX, S64_MIN, true, false, true},
233 {S64_MIN, -1, S64_MAX, -S64_MAX, S64_MIN, true, false, true},
235 {S64_MAX, -1, S64_MAX-1, S64_MIN, -S64_MAX, false, true, false},
239 {1, S64_MIN, -S64_MAX, -S64_MAX, S64_MIN, false, true, false},
240 {S64_MIN, 1, -S64_MAX, S64_MAX, S64_MIN, false, true, false},
241 {1, S64_MAX, S64_MIN, S64_MIN+2, S64_MAX, true, false, false},
242 {S64_MAX, 1, S64_MIN, S64_MAX-1, S64_MAX, true, false, false},
244 {S64_MIN, S64_MIN, 0, 0, 0, true, false, true},
245 {S64_MAX, S64_MAX, -2, 0, 1, true, false, true},
370 {U8_MAX, 2, 1, U8_MAX - 2, U8_MAX - 1, true, false, true},
371 {U8_MAX + 1, 0, 0, 0, 0, true, true, false},
377 {U32_MAX, 0, -1, -1, 0, true, true, false},
390 {1, 2, 3, U8_MAX, 2, false, true, false},
391 {-1, 0, U8_MAX, U8_MAX, 0, true, true, false},
472 TEST_ONE_SHIFT(1, 8, u8, 0, true); in shift_overflow_test()
473 TEST_ONE_SHIFT(1, 16, u16, 0, true); in shift_overflow_test()
474 TEST_ONE_SHIFT(1, 32, unsigned int, 0, true); in shift_overflow_test()
475 TEST_ONE_SHIFT(1, 32, u32, 0, true); in shift_overflow_test()
476 TEST_ONE_SHIFT(1, 64, u64, 0, true); in shift_overflow_test()
479 TEST_ONE_SHIFT(1, 7, s8, 0, true); in shift_overflow_test()
480 TEST_ONE_SHIFT(1, 15, s16, 0, true); in shift_overflow_test()
481 TEST_ONE_SHIFT(1, 31, int, 0, true); in shift_overflow_test()
482 TEST_ONE_SHIFT(1, 31, s32, 0, true); in shift_overflow_test()
483 TEST_ONE_SHIFT(1, 63, s64, 0, true); in shift_overflow_test()
487 TEST_ONE_SHIFT(150, 1, u8, 0, true); in shift_overflow_test()
489 TEST_ONE_SHIFT(34966, 1, u16, 0, true); in shift_overflow_test()
491 TEST_ONE_SHIFT(2215151766U, 1, u32, 0, true); in shift_overflow_test()
492 TEST_ONE_SHIFT(2215151766U, 1, unsigned int, 0, true); in shift_overflow_test()
494 TEST_ONE_SHIFT(9372061470395238550ULL, 1, u64, 0, true); in shift_overflow_test()
498 TEST_ONE_SHIFT(75, 1, s8, 0, true); in shift_overflow_test()
500 TEST_ONE_SHIFT(17483, 1, s16, 0, true); in shift_overflow_test()
502 TEST_ONE_SHIFT(1107575883, 1, s32, 0, true); in shift_overflow_test()
503 TEST_ONE_SHIFT(1107575883, 1, int, 0, true); in shift_overflow_test()
505 TEST_ONE_SHIFT(4686030735197619275LL, 1, s64, 0, true); in shift_overflow_test()
509 TEST_ONE_SHIFT(75, 2, s8, 0, true); in shift_overflow_test()
511 TEST_ONE_SHIFT(17483, 2, s16, 0, true); in shift_overflow_test()
513 TEST_ONE_SHIFT(1107575883, 2, s32, 0, true); in shift_overflow_test()
514 TEST_ONE_SHIFT(1107575883, 2, int, 0, true); in shift_overflow_test()
516 TEST_ONE_SHIFT(4686030735197619275LL, 2, s64, 0, true); in shift_overflow_test()
526 TEST_ONE_SHIFT(0x100, 0, u8, 0, true); in shift_truncate_test()
527 TEST_ONE_SHIFT(0xFF, 0, s8, 0, true); in shift_truncate_test()
528 TEST_ONE_SHIFT(0x10000U, 0, u16, 0, true); in shift_truncate_test()
529 TEST_ONE_SHIFT(0xFFFFU, 0, s16, 0, true); in shift_truncate_test()
530 TEST_ONE_SHIFT(0x100000000ULL, 0, u32, 0, true); in shift_truncate_test()
531 TEST_ONE_SHIFT(0x100000000ULL, 0, unsigned int, 0, true); in shift_truncate_test()
532 TEST_ONE_SHIFT(0xFFFFFFFFUL, 0, s32, 0, true); in shift_truncate_test()
533 TEST_ONE_SHIFT(0xFFFFFFFFUL, 0, int, 0, true); in shift_truncate_test()
534 TEST_ONE_SHIFT(0xFFFFFFFFFFFFFFFFULL, 0, s64, 0, true); in shift_truncate_test()
537 TEST_ONE_SHIFT(0, 8, u8, 0, true); in shift_truncate_test()
538 TEST_ONE_SHIFT(0, 9, u8, 0, true); in shift_truncate_test()
539 TEST_ONE_SHIFT(0, 8, s8, 0, true); in shift_truncate_test()
540 TEST_ONE_SHIFT(0, 9, s8, 0, true); in shift_truncate_test()
541 TEST_ONE_SHIFT(0, 16, u16, 0, true); in shift_truncate_test()
542 TEST_ONE_SHIFT(0, 17, u16, 0, true); in shift_truncate_test()
543 TEST_ONE_SHIFT(0, 16, s16, 0, true); in shift_truncate_test()
544 TEST_ONE_SHIFT(0, 17, s16, 0, true); in shift_truncate_test()
545 TEST_ONE_SHIFT(0, 32, u32, 0, true); in shift_truncate_test()
546 TEST_ONE_SHIFT(0, 33, u32, 0, true); in shift_truncate_test()
547 TEST_ONE_SHIFT(0, 32, int, 0, true); in shift_truncate_test()
548 TEST_ONE_SHIFT(0, 33, int, 0, true); in shift_truncate_test()
549 TEST_ONE_SHIFT(0, 32, s32, 0, true); in shift_truncate_test()
550 TEST_ONE_SHIFT(0, 33, s32, 0, true); in shift_truncate_test()
551 TEST_ONE_SHIFT(0, 64, u64, 0, true); in shift_truncate_test()
552 TEST_ONE_SHIFT(0, 65, u64, 0, true); in shift_truncate_test()
553 TEST_ONE_SHIFT(0, 64, s64, 0, true); in shift_truncate_test()
554 TEST_ONE_SHIFT(0, 65, s64, 0, true); in shift_truncate_test()
564 TEST_ONE_SHIFT(-1, 0, s8, 0, true); in shift_nonsense_test()
565 TEST_ONE_SHIFT(-1, 0, u8, 0, true); in shift_nonsense_test()
566 TEST_ONE_SHIFT(-5, 0, s16, 0, true); in shift_nonsense_test()
567 TEST_ONE_SHIFT(-5, 0, u16, 0, true); in shift_nonsense_test()
568 TEST_ONE_SHIFT(-10, 0, int, 0, true); in shift_nonsense_test()
569 TEST_ONE_SHIFT(-10, 0, unsigned int, 0, true); in shift_nonsense_test()
570 TEST_ONE_SHIFT(-100, 0, s32, 0, true); in shift_nonsense_test()
571 TEST_ONE_SHIFT(-100, 0, u32, 0, true); in shift_nonsense_test()
572 TEST_ONE_SHIFT(-10000, 0, s64, 0, true); in shift_nonsense_test()
573 TEST_ONE_SHIFT(-10000, 0, u64, 0, true); in shift_nonsense_test()
576 TEST_ONE_SHIFT(0, -5, s8, 0, true); in shift_nonsense_test()
577 TEST_ONE_SHIFT(0, -5, u8, 0, true); in shift_nonsense_test()
578 TEST_ONE_SHIFT(0, -10, s16, 0, true); in shift_nonsense_test()
579 TEST_ONE_SHIFT(0, -10, u16, 0, true); in shift_nonsense_test()
580 TEST_ONE_SHIFT(0, -15, int, 0, true); in shift_nonsense_test()
581 TEST_ONE_SHIFT(0, -15, unsigned int, 0, true); in shift_nonsense_test()
582 TEST_ONE_SHIFT(0, -20, s32, 0, true); in shift_nonsense_test()
583 TEST_ONE_SHIFT(0, -20, u32, 0, true); in shift_nonsense_test()
584 TEST_ONE_SHIFT(0, -30, s64, 0, true); in shift_nonsense_test()
585 TEST_ONE_SHIFT(0, -30, u64, 0, true); in shift_nonsense_test()
821 TEST_OVERFLOWS_TYPE(u8, s8, U8_MAX, true); in overflows_type_test()
823 TEST_OVERFLOWS_TYPE(u8, s8, (u8)S8_MAX + 1, true); in overflows_type_test()
826 TEST_OVERFLOWS_TYPE(s8, u8, -1, true); in overflows_type_test()
827 TEST_OVERFLOWS_TYPE(s8, u8, S8_MIN, true); in overflows_type_test()
829 TEST_OVERFLOWS_TYPE(s8, u16, -1, true); in overflows_type_test()
830 TEST_OVERFLOWS_TYPE(s8, u16, S8_MIN, true); in overflows_type_test()
832 TEST_OVERFLOWS_TYPE(s8, u32, -1, true); in overflows_type_test()
833 TEST_OVERFLOWS_TYPE(s8, u32, S8_MIN, true); in overflows_type_test()
836 TEST_OVERFLOWS_TYPE(s8, u64, -1, true); in overflows_type_test()
837 TEST_OVERFLOWS_TYPE(s8, u64, S8_MIN, true); in overflows_type_test()
844 TEST_OVERFLOWS_TYPE(u16, u8, (u16)U8_MAX + 1, true); in overflows_type_test()
845 TEST_OVERFLOWS_TYPE(u16, u8, U16_MAX, true); in overflows_type_test()
847 TEST_OVERFLOWS_TYPE(u16, s8, (u16)S8_MAX + 1, true); in overflows_type_test()
848 TEST_OVERFLOWS_TYPE(u16, s8, U16_MAX, true); in overflows_type_test()
850 TEST_OVERFLOWS_TYPE(u16, s16, (u16)S16_MAX + 1, true); in overflows_type_test()
851 TEST_OVERFLOWS_TYPE(u16, s16, U16_MAX, true); in overflows_type_test()
855 TEST_OVERFLOWS_TYPE(s16, u8, (s16)U8_MAX + 1, true); in overflows_type_test()
856 TEST_OVERFLOWS_TYPE(s16, u8, -1, true); in overflows_type_test()
857 TEST_OVERFLOWS_TYPE(s16, u8, S16_MIN, true); in overflows_type_test()
859 TEST_OVERFLOWS_TYPE(s16, u16, -1, true); in overflows_type_test()
860 TEST_OVERFLOWS_TYPE(s16, u16, S16_MIN, true); in overflows_type_test()
862 TEST_OVERFLOWS_TYPE(s16, u32, -1, true); in overflows_type_test()
863 TEST_OVERFLOWS_TYPE(s16, u32, S16_MIN, true); in overflows_type_test()
866 TEST_OVERFLOWS_TYPE(s16, u64, -1, true); in overflows_type_test()
867 TEST_OVERFLOWS_TYPE(s16, u64, S16_MIN, true); in overflows_type_test()
871 TEST_OVERFLOWS_TYPE(s16, s8, (s16)S8_MAX + 1, true); in overflows_type_test()
872 TEST_OVERFLOWS_TYPE(s16, s8, (s16)S8_MIN - 1, true); in overflows_type_test()
873 TEST_OVERFLOWS_TYPE(s16, s8, S16_MAX, true); in overflows_type_test()
874 TEST_OVERFLOWS_TYPE(s16, s8, S16_MIN, true); in overflows_type_test()
880 TEST_OVERFLOWS_TYPE(u32, u8, (u32)U8_MAX + 1, true); in overflows_type_test()
881 TEST_OVERFLOWS_TYPE(u32, u8, U32_MAX, true); in overflows_type_test()
883 TEST_OVERFLOWS_TYPE(u32, s8, (u32)S8_MAX + 1, true); in overflows_type_test()
884 TEST_OVERFLOWS_TYPE(u32, s8, U32_MAX, true); in overflows_type_test()
886 TEST_OVERFLOWS_TYPE(u32, u16, U16_MAX + 1, true); in overflows_type_test()
887 TEST_OVERFLOWS_TYPE(u32, u16, U32_MAX, true); in overflows_type_test()
889 TEST_OVERFLOWS_TYPE(u32, s16, (u32)S16_MAX + 1, true); in overflows_type_test()
890 TEST_OVERFLOWS_TYPE(u32, s16, U32_MAX, true); in overflows_type_test()
893 TEST_OVERFLOWS_TYPE(u32, s32, U32_MAX, true); in overflows_type_test()
894 TEST_OVERFLOWS_TYPE(u32, s32, (u32)S32_MAX + 1, true); in overflows_type_test()
900 TEST_OVERFLOWS_TYPE(s32, u8, (s32)U8_MAX + 1, true); in overflows_type_test()
901 TEST_OVERFLOWS_TYPE(s32, u16, S32_MAX, true); in overflows_type_test()
902 TEST_OVERFLOWS_TYPE(s32, u8, -1, true); in overflows_type_test()
903 TEST_OVERFLOWS_TYPE(s32, u8, S32_MIN, true); in overflows_type_test()
905 TEST_OVERFLOWS_TYPE(s32, u16, (s32)U16_MAX + 1, true); in overflows_type_test()
906 TEST_OVERFLOWS_TYPE(s32, u16, S32_MAX, true); in overflows_type_test()
907 TEST_OVERFLOWS_TYPE(s32, u16, -1, true); in overflows_type_test()
908 TEST_OVERFLOWS_TYPE(s32, u16, S32_MIN, true); in overflows_type_test()
910 TEST_OVERFLOWS_TYPE(s32, u32, -1, true); in overflows_type_test()
911 TEST_OVERFLOWS_TYPE(s32, u32, S32_MIN, true); in overflows_type_test()
914 TEST_OVERFLOWS_TYPE(s32, u64, -1, true); in overflows_type_test()
915 TEST_OVERFLOWS_TYPE(s32, u64, S32_MIN, true); in overflows_type_test()
919 TEST_OVERFLOWS_TYPE(s32, s8, (s32)S8_MAX + 1, true); in overflows_type_test()
920 TEST_OVERFLOWS_TYPE(s32, s8, (s32)S8_MIN - 1, true); in overflows_type_test()
921 TEST_OVERFLOWS_TYPE(s32, s8, S32_MAX, true); in overflows_type_test()
922 TEST_OVERFLOWS_TYPE(s32, s8, S32_MIN, true); in overflows_type_test()
925 TEST_OVERFLOWS_TYPE(s32, s16, (s32)S16_MAX + 1, true); in overflows_type_test()
926 TEST_OVERFLOWS_TYPE(s32, s16, (s32)S16_MIN - 1, true); in overflows_type_test()
927 TEST_OVERFLOWS_TYPE(s32, s16, S32_MAX, true); in overflows_type_test()
928 TEST_OVERFLOWS_TYPE(s32, s16, S32_MIN, true); in overflows_type_test()
934 TEST_OVERFLOWS_TYPE(u64, u8, U64_MAX, true); in overflows_type_test()
936 TEST_OVERFLOWS_TYPE(u64, u8, (u64)U8_MAX + 1, true); in overflows_type_test()
937 TEST_OVERFLOWS_TYPE(u64, u16, U64_MAX, true); in overflows_type_test()
939 TEST_OVERFLOWS_TYPE(u64, u16, (u64)U16_MAX + 1, true); in overflows_type_test()
940 TEST_OVERFLOWS_TYPE(u64, u32, U64_MAX, true); in overflows_type_test()
942 TEST_OVERFLOWS_TYPE(u64, u32, (u64)U32_MAX + 1, true); in overflows_type_test()
945 TEST_OVERFLOWS_TYPE(u64, s8, (u64)S8_MAX + 1, true); in overflows_type_test()
946 TEST_OVERFLOWS_TYPE(u64, s8, U64_MAX, true); in overflows_type_test()
948 TEST_OVERFLOWS_TYPE(u64, s16, (u64)S16_MAX + 1, true); in overflows_type_test()
949 TEST_OVERFLOWS_TYPE(u64, s16, U64_MAX, true); in overflows_type_test()
951 TEST_OVERFLOWS_TYPE(u64, s32, (u64)S32_MAX + 1, true); in overflows_type_test()
952 TEST_OVERFLOWS_TYPE(u64, s32, U64_MAX, true); in overflows_type_test()
954 TEST_OVERFLOWS_TYPE(u64, s64, U64_MAX, true); in overflows_type_test()
955 TEST_OVERFLOWS_TYPE(u64, s64, (u64)S64_MAX + 1, true); in overflows_type_test()
956 TEST_OVERFLOWS_TYPE(s64, u8, S64_MAX, true); in overflows_type_test()
957 TEST_OVERFLOWS_TYPE(s64, u8, S64_MIN, true); in overflows_type_test()
958 TEST_OVERFLOWS_TYPE(s64, u8, -1, true); in overflows_type_test()
960 TEST_OVERFLOWS_TYPE(s64, u8, (s64)U8_MAX + 1, true); in overflows_type_test()
961 TEST_OVERFLOWS_TYPE(s64, u16, S64_MAX, true); in overflows_type_test()
962 TEST_OVERFLOWS_TYPE(s64, u16, S64_MIN, true); in overflows_type_test()
963 TEST_OVERFLOWS_TYPE(s64, u16, -1, true); in overflows_type_test()
965 TEST_OVERFLOWS_TYPE(s64, u16, (s64)U16_MAX + 1, true); in overflows_type_test()
966 TEST_OVERFLOWS_TYPE(s64, u32, S64_MAX, true); in overflows_type_test()
967 TEST_OVERFLOWS_TYPE(s64, u32, S64_MIN, true); in overflows_type_test()
968 TEST_OVERFLOWS_TYPE(s64, u32, -1, true); in overflows_type_test()
970 TEST_OVERFLOWS_TYPE(s64, u32, (s64)U32_MAX + 1, true); in overflows_type_test()
972 TEST_OVERFLOWS_TYPE(s64, u64, S64_MIN, true); in overflows_type_test()
973 TEST_OVERFLOWS_TYPE(s64, u64, -1, true); in overflows_type_test()
976 TEST_OVERFLOWS_TYPE(s64, s8, (s64)S8_MAX + 1, true); in overflows_type_test()
977 TEST_OVERFLOWS_TYPE(s64, s8, (s64)S8_MIN - 1, true); in overflows_type_test()
978 TEST_OVERFLOWS_TYPE(s64, s8, S64_MAX, true); in overflows_type_test()
981 TEST_OVERFLOWS_TYPE(s64, s16, (s64)S16_MAX + 1, true); in overflows_type_test()
982 TEST_OVERFLOWS_TYPE(s64, s16, (s64)S16_MIN - 1, true); in overflows_type_test()
983 TEST_OVERFLOWS_TYPE(s64, s16, S64_MAX, true); in overflows_type_test()
986 TEST_OVERFLOWS_TYPE(s64, s32, (s64)S32_MAX + 1, true); in overflows_type_test()
987 TEST_OVERFLOWS_TYPE(s64, s32, (s64)S32_MIN - 1, true); in overflows_type_test()
988 TEST_OVERFLOWS_TYPE(s64, s32, S64_MAX, true); in overflows_type_test()
997 __TEST_OVERFLOWS_TYPE(__overflows_type, var++, int, true); in overflows_type_test()
1001 __TEST_OVERFLOWS_TYPE(overflows_type, var++, int, true); in overflows_type_test()
1018 KUNIT_EXPECT_EQ(test, true, __same_type(t1, __t1h)); \ in same_type_test()
1019 KUNIT_EXPECT_EQ(test, true, __same_type(t1, __t1l)); \ in same_type_test()
1020 KUNIT_EXPECT_EQ(test, true, __same_type(__t1h, t1)); \ in same_type_test()
1021 KUNIT_EXPECT_EQ(test, true, __same_type(__t1l, t1)); \ in same_type_test()
1022 KUNIT_EXPECT_EQ(test, true, __same_type(t2, __t2h)); \ in same_type_test()
1023 KUNIT_EXPECT_EQ(test, true, __same_type(t2, __t2l)); \ in same_type_test()
1024 KUNIT_EXPECT_EQ(test, true, __same_type(__t2h, t2)); \ in same_type_test()
1025 KUNIT_EXPECT_EQ(test, true, __same_type(__t2l, t2)); \ in same_type_test()
1055 TEST_TYPE_SETS(u8, true, false, false, false, false, false, false, false); in same_type_test()
1056 TEST_TYPE_SETS(u16, false, true, false, false, false, false, false, false); in same_type_test()
1057 TEST_TYPE_SETS(u32, false, false, true, false, false, false, false, false); in same_type_test()
1058 TEST_TYPE_SETS(s8, false, false, false, true, false, false, false, false); in same_type_test()
1059 TEST_TYPE_SETS(s16, false, false, false, false, true, false, false, false); in same_type_test()
1060 TEST_TYPE_SETS(s32, false, false, false, false, false, true, false, false); in same_type_test()
1062 TEST_TYPE_SETS(u64, false, false, false, false, false, false, true, false); in same_type_test()
1063 TEST_TYPE_SETS(s64, false, false, false, false, false, false, false, true); in same_type_test()
1095 TEST_CASTABLE_TO_TYPE(16, u8, true); in castable_to_type_test()
1096 TEST_CASTABLE_TO_TYPE(16, u16, true); in castable_to_type_test()
1097 TEST_CASTABLE_TO_TYPE(16, u32, true); in castable_to_type_test()
1098 TEST_CASTABLE_TO_TYPE(16, s8, true); in castable_to_type_test()
1099 TEST_CASTABLE_TO_TYPE(16, s16, true); in castable_to_type_test()
1100 TEST_CASTABLE_TO_TYPE(16, s32, true); in castable_to_type_test()
1101 TEST_CASTABLE_TO_TYPE(-16, s8, true); in castable_to_type_test()
1102 TEST_CASTABLE_TO_TYPE(-16, s16, true); in castable_to_type_test()
1103 TEST_CASTABLE_TO_TYPE(-16, s32, true); in castable_to_type_test()
1105 TEST_CASTABLE_TO_TYPE(16, u64, true); in castable_to_type_test()
1106 TEST_CASTABLE_TO_TYPE(-16, s64, true); in castable_to_type_test()
1114 TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width, true); \ in castable_to_type_test()
1115 TEST_CASTABLE_TO_TYPE(type_min(u ## width), u ## width, true); \ in castable_to_type_test()
1116 TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width ## var, true); \ in castable_to_type_test()
1117 TEST_CASTABLE_TO_TYPE(type_min(u ## width), u ## width ## var, true); \ in castable_to_type_test()
1118 TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width, true); \ in castable_to_type_test()
1119 TEST_CASTABLE_TO_TYPE(type_min(s ## width), s ## width, true); \ in castable_to_type_test()
1120 TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width ## var, true); \ in castable_to_type_test()
1121 TEST_CASTABLE_TO_TYPE(type_min(u ## width), s ## width ## var, true); \ in castable_to_type_test()
1139 TEST_CASTABLE_TO_TYPE(U ## width ## _MAX, u ## width, true); \ in castable_to_type_test()
1140 TEST_CASTABLE_TO_TYPE(U ## width ## _MAX, u ## width ## var, true); \ in castable_to_type_test()
1141 TEST_CASTABLE_TO_TYPE(S ## width ## _MIN, s ## width, true); \ in castable_to_type_test()
1142 TEST_CASTABLE_TO_TYPE(S ## width ## _MIN, s ## width ## var, true); \ in castable_to_type_test()