Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/ubsan/TestCases/ImplicitConversion/
Dsigned-integer-truncation.c105 int8_t convert_signed_int_to_signed_char(int32_t x) { in convert_signed_int_to_signed_char() function
129 convert_signed_int_to_signed_char(0); in main()
147 convert_signed_int_to_signed_char(1); in main()
167 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT32_MAX); in main()
187 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MIN); in main()
208 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MAX); in main()
228 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT8_MAX); in main()
248 convert_signed_int_to_signed_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
269 convert_signed_int_to_signed_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
290convert_signed_int_to_signed_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))… in main()
[all …]
Dinteger-arithmetic-value-change.c105 int8_t convert_signed_int_to_signed_char(int32_t x) { in convert_signed_int_to_signed_char() function
129 convert_signed_int_to_signed_char(0); in main()
147 convert_signed_int_to_signed_char(1); in main()
173 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT32_MAX); in main()
198 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MIN); in main()
219 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MAX); in main()
242 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT8_MAX); in main()
265 convert_signed_int_to_signed_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
291 convert_signed_int_to_signed_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
317convert_signed_int_to_signed_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))… in main()
[all …]
Dinteger-truncation.c105 int8_t convert_signed_int_to_signed_char(int32_t x) { in convert_signed_int_to_signed_char() function
129 convert_signed_int_to_signed_char(0); in main()
147 convert_signed_int_to_signed_char(1); in main()
168 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT32_MAX); in main()
189 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MIN); in main()
211 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MAX); in main()
231 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT8_MAX); in main()
251 convert_signed_int_to_signed_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
273 convert_signed_int_to_signed_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
295convert_signed_int_to_signed_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))… in main()
[all …]
Dinteger-conversion.c105 int8_t convert_signed_int_to_signed_char(int32_t x) { in convert_signed_int_to_signed_char() function
129 convert_signed_int_to_signed_char(0); in main()
147 convert_signed_int_to_signed_char(1); in main()
174 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT32_MAX); in main()
200 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MIN); in main()
222 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MAX); in main()
245 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT8_MAX); in main()
268 convert_signed_int_to_signed_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
295 convert_signed_int_to_signed_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
322convert_signed_int_to_signed_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN))… in main()
[all …]
Dunsigned-integer-truncation.c106 int8_t convert_signed_int_to_signed_char(int32_t x) { in convert_signed_int_to_signed_char() function
134 convert_signed_int_to_signed_char(0); in main()
152 convert_signed_int_to_signed_char(1); in main()
172 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT32_MAX); in main()
191 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MIN); in main()
210 convert_signed_int_to_signed_char((int32_t)(uint32_t)INT32_MAX); in main()
228 convert_signed_int_to_signed_char((int32_t)(uint32_t)UINT8_MAX); in main()
246 convert_signed_int_to_signed_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
265 convert_signed_int_to_signed_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
284convert_signed_int_to_signed_char((int32_t)(((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.c153 signed char convert_signed_int_to_signed_char(signed int x) { in convert_signed_int_to_signed_char() function
Dcatch-implicit-integer-conversions-basics.c121 signed char convert_signed_int_to_signed_char(signed int x) { in convert_signed_int_to_signed_char() function
Dcatch-implicit-integer-arithmetic-value-change-basics.c119 signed char convert_signed_int_to_signed_char(signed int x) { in convert_signed_int_to_signed_char() function
Dcatch-implicit-conversions-basics.c121 signed char convert_signed_int_to_signed_char(signed int x) { in convert_signed_int_to_signed_char() function
Dcatch-implicit-integer-truncations-basics.c111 signed char convert_signed_int_to_signed_char(signed int x) { in convert_signed_int_to_signed_char() function
Dcatch-implicit-unsigned-integer-truncations-basics.c106 signed char convert_signed_int_to_signed_char(signed int x) { in convert_signed_int_to_signed_char() function
Dcatch-implicit-signed-integer-truncations-basics.c109 signed char convert_signed_int_to_signed_char(signed int x) { in convert_signed_int_to_signed_char() function