Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/ubsan/TestCases/ImplicitConversion/
Dsigned-integer-truncation.c60 int32_t convert_unsigned_char_to_signed_int(uint8_t x) { in convert_unsigned_char_to_signed_int() function
120 convert_unsigned_char_to_signed_int(0); in main()
138 convert_unsigned_char_to_signed_int(1); in main()
157 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
176 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
197 convert_unsigned_char_to_signed_int((uint8_t)INT8_MAX); in main()
218 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
238 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
258 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
279 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
[all …]
Dinteger-arithmetic-value-change.c60 int32_t convert_unsigned_char_to_signed_int(uint8_t x) { in convert_unsigned_char_to_signed_int() function
120 convert_unsigned_char_to_signed_int(0); in main()
138 convert_unsigned_char_to_signed_int(1); in main()
157 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
182 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
208 convert_unsigned_char_to_signed_int((uint8_t)INT8_MAX); in main()
229 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
252 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
275 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
301 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
[all …]
Dinteger-truncation.c60 int32_t convert_unsigned_char_to_signed_int(uint8_t x) { in convert_unsigned_char_to_signed_int() function
120 convert_unsigned_char_to_signed_int(0); in main()
138 convert_unsigned_char_to_signed_int(1); in main()
158 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
178 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
200 convert_unsigned_char_to_signed_int((uint8_t)INT8_MAX); in main()
221 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
241 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
262 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
284 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
[all …]
Dinteger-conversion.c60 int32_t convert_unsigned_char_to_signed_int(uint8_t x) { in convert_unsigned_char_to_signed_int() function
120 convert_unsigned_char_to_signed_int(0); in main()
138 convert_unsigned_char_to_signed_int(1); in main()
158 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
184 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
211 convert_unsigned_char_to_signed_int((uint8_t)INT8_MAX); in main()
232 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
255 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
279 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
306 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
[all …]
Dunsigned-integer-truncation.c61 int32_t convert_unsigned_char_to_signed_int(uint8_t x) { in convert_unsigned_char_to_signed_int() function
125 convert_unsigned_char_to_signed_int(0); in main()
143 convert_unsigned_char_to_signed_int(1); in main()
163 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
182 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
201 convert_unsigned_char_to_signed_int((uint8_t)INT8_MAX); in main()
219 convert_unsigned_char_to_signed_int((uint8_t)UINT8_MAX); in main()
237 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
256 convert_unsigned_char_to_signed_int((uint8_t)(uint8_t)INT8_MIN); in main()
275 convert_unsigned_char_to_signed_int((uint8_t)INT8_MIN); in main()
[all …]
/external/llvm-project/clang/test/CodeGen/
Dcatch-implicit-integer-sign-changes-basics.c75 signed int convert_unsigned_char_to_signed_int(unsigned char x) { in convert_unsigned_char_to_signed_int() function
Dcatch-implicit-integer-conversions-basics.c60 signed int convert_unsigned_char_to_signed_int(unsigned char x) { in convert_unsigned_char_to_signed_int() function
Dcatch-implicit-integer-arithmetic-value-change-basics.c58 signed int convert_unsigned_char_to_signed_int(unsigned char x) { in convert_unsigned_char_to_signed_int() function
Dcatch-implicit-conversions-basics.c60 signed int convert_unsigned_char_to_signed_int(unsigned char x) { in convert_unsigned_char_to_signed_int() function
Dcatch-implicit-integer-truncations-basics.c55 signed int convert_unsigned_char_to_signed_int(unsigned char x) { in convert_unsigned_char_to_signed_int() function
Dcatch-implicit-unsigned-integer-truncations-basics.c52 signed int convert_unsigned_char_to_signed_int(unsigned char x) { in convert_unsigned_char_to_signed_int() function
Dcatch-implicit-signed-integer-truncations-basics.c53 signed int convert_unsigned_char_to_signed_int(unsigned char x) { in convert_unsigned_char_to_signed_int() function