Lines Matching refs:val
16 volatile int val = INT_MAX; in test_ubsan_add_overflow() local
19 val += 2; in test_ubsan_add_overflow()
24 volatile int val = INT_MIN; in test_ubsan_sub_overflow() local
28 val -= val2; in test_ubsan_sub_overflow()
33 volatile int val = INT_MAX / 2; in test_ubsan_mul_overflow() local
36 val *= 3; in test_ubsan_mul_overflow()
41 volatile int val = INT_MIN; in test_ubsan_negate_overflow() local
44 val = -val; in test_ubsan_negate_overflow()
49 volatile int val = 16; in test_ubsan_divrem_overflow() local
53 val /= val2; in test_ubsan_divrem_overflow()
58 volatile long val = LONG_MAX; in test_ubsan_truncate_signed() local
62 val2 = val; in test_ubsan_truncate_signed()
107 bool val, val2, *ptr; in test_ubsan_load_invalid_value() local
112 dst = (char *)&val; in test_ubsan_load_invalid_value()
117 val2 = val; in test_ubsan_load_invalid_value()
131 volatile int *ptr, val = 6; in test_ubsan_misaligned_access() local
135 *ptr = val; in test_ubsan_misaligned_access()