Home
last modified time | relevance | path

Searched refs:convert_unsigned_int_to_signed_char (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/compiler-rt/test/ubsan/TestCases/ImplicitConversion/
Dsigned-integer-truncation.c100 int8_t convert_unsigned_int_to_signed_char(uint32_t x) { in convert_unsigned_int_to_signed_char() function
128 convert_unsigned_int_to_signed_char(0); in main()
146 convert_unsigned_int_to_signed_char(1); in main()
166 convert_unsigned_int_to_signed_char((uint32_t)UINT32_MAX); in main()
185 convert_unsigned_int_to_signed_char((uint32_t)INT32_MIN); in main()
206 convert_unsigned_int_to_signed_char((uint32_t)INT32_MAX); in main()
226 convert_unsigned_int_to_signed_char((uint32_t)UINT8_MAX); in main()
246 convert_unsigned_int_to_signed_char((uint32_t)(uint8_t)INT8_MIN); in main()
267 convert_unsigned_int_to_signed_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
288 convert_unsigned_int_to_signed_char((((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))); in main()
[all …]
Dinteger-arithmetic-value-change.c100 int8_t convert_unsigned_int_to_signed_char(uint32_t x) { in convert_unsigned_int_to_signed_char() function
128 convert_unsigned_int_to_signed_char(0); in main()
146 convert_unsigned_int_to_signed_char(1); in main()
171 convert_unsigned_int_to_signed_char((uint32_t)UINT32_MAX); in main()
196 convert_unsigned_int_to_signed_char((uint32_t)INT32_MIN); in main()
217 convert_unsigned_int_to_signed_char((uint32_t)INT32_MAX); in main()
240 convert_unsigned_int_to_signed_char((uint32_t)UINT8_MAX); in main()
263 convert_unsigned_int_to_signed_char((uint32_t)(uint8_t)INT8_MIN); in main()
289 convert_unsigned_int_to_signed_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
315 convert_unsigned_int_to_signed_char((((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))); in main()
[all …]
Dinteger-truncation.c100 int8_t convert_unsigned_int_to_signed_char(uint32_t x) { in convert_unsigned_int_to_signed_char() function
128 convert_unsigned_int_to_signed_char(0); in main()
146 convert_unsigned_int_to_signed_char(1); in main()
167 convert_unsigned_int_to_signed_char((uint32_t)UINT32_MAX); in main()
187 convert_unsigned_int_to_signed_char((uint32_t)INT32_MIN); in main()
209 convert_unsigned_int_to_signed_char((uint32_t)INT32_MAX); in main()
229 convert_unsigned_int_to_signed_char((uint32_t)UINT8_MAX); in main()
249 convert_unsigned_int_to_signed_char((uint32_t)(uint8_t)INT8_MIN); in main()
271 convert_unsigned_int_to_signed_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
293 convert_unsigned_int_to_signed_char((((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))); in main()
[all …]
Dinteger-conversion.c100 int8_t convert_unsigned_int_to_signed_char(uint32_t x) { in convert_unsigned_int_to_signed_char() function
128 convert_unsigned_int_to_signed_char(0); in main()
146 convert_unsigned_int_to_signed_char(1); in main()
172 convert_unsigned_int_to_signed_char((uint32_t)UINT32_MAX); in main()
198 convert_unsigned_int_to_signed_char((uint32_t)INT32_MIN); in main()
220 convert_unsigned_int_to_signed_char((uint32_t)INT32_MAX); in main()
243 convert_unsigned_int_to_signed_char((uint32_t)UINT8_MAX); in main()
266 convert_unsigned_int_to_signed_char((uint32_t)(uint8_t)INT8_MIN); in main()
293 convert_unsigned_int_to_signed_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
320 convert_unsigned_int_to_signed_char((((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))); in main()
[all …]
Dunsigned-integer-truncation.c101 int8_t convert_unsigned_int_to_signed_char(uint32_t x) { in convert_unsigned_int_to_signed_char() function
133 convert_unsigned_int_to_signed_char(0); in main()
151 convert_unsigned_int_to_signed_char(1); in main()
171 convert_unsigned_int_to_signed_char((uint32_t)UINT32_MAX); in main()
190 convert_unsigned_int_to_signed_char((uint32_t)INT32_MIN); in main()
209 convert_unsigned_int_to_signed_char((uint32_t)INT32_MAX); in main()
227 convert_unsigned_int_to_signed_char((uint32_t)UINT8_MAX); in main()
245 convert_unsigned_int_to_signed_char((uint32_t)(uint8_t)INT8_MIN); in main()
264 convert_unsigned_int_to_signed_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
283 convert_unsigned_int_to_signed_char((((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))); in main()
[all …]
/external/llvm-project/clang/test/CodeGen/
Dcatch-implicit-integer-sign-changes-basics.c144 signed char convert_unsigned_int_to_signed_char(unsigned int x) { in convert_unsigned_int_to_signed_char() function
Dcatch-implicit-integer-conversions-basics.c114 signed char convert_unsigned_int_to_signed_char(unsigned int x) { in convert_unsigned_int_to_signed_char() function
Dcatch-implicit-integer-arithmetic-value-change-basics.c112 signed char convert_unsigned_int_to_signed_char(unsigned int x) { in convert_unsigned_int_to_signed_char() function
Dcatch-implicit-conversions-basics.c114 signed char convert_unsigned_int_to_signed_char(unsigned int x) { in convert_unsigned_int_to_signed_char() function
Dcatch-implicit-integer-truncations-basics.c104 signed char convert_unsigned_int_to_signed_char(unsigned int x) { in convert_unsigned_int_to_signed_char() function
Dcatch-implicit-unsigned-integer-truncations-basics.c100 signed char convert_unsigned_int_to_signed_char(unsigned int x) { in convert_unsigned_int_to_signed_char() function
Dcatch-implicit-signed-integer-truncations-basics.c102 signed char convert_unsigned_int_to_signed_char(unsigned int x) { in convert_unsigned_int_to_signed_char() function