Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/ubsan/TestCases/ImplicitConversion/
Dsigned-integer-truncation.c80 uint8_t convert_signed_int_to_unsigned_char(int32_t x) { in convert_signed_int_to_unsigned_char() function
124 convert_signed_int_to_unsigned_char(0); in main()
142 convert_signed_int_to_unsigned_char(1); in main()
161 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT32_MAX); in main()
180 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MIN); in main()
201 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MAX); in main()
222 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT8_MAX); in main()
242 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
262 convert_signed_int_to_unsigned_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
283convert_signed_int_to_unsigned_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN… in main()
[all …]
Dinteger-arithmetic-value-change.c80 uint8_t convert_signed_int_to_unsigned_char(int32_t x) { in convert_signed_int_to_unsigned_char() function
124 convert_signed_int_to_unsigned_char(0); in main()
142 convert_signed_int_to_unsigned_char(1); in main()
163 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT32_MAX); in main()
188 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MIN); in main()
212 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MAX); in main()
233 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT8_MAX); in main()
256 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
281 convert_signed_int_to_unsigned_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
307convert_signed_int_to_unsigned_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN… in main()
[all …]
Dinteger-truncation.c80 uint8_t convert_signed_int_to_unsigned_char(int32_t x) { in convert_signed_int_to_unsigned_char() function
124 convert_signed_int_to_unsigned_char(0); in main()
142 convert_signed_int_to_unsigned_char(1); in main()
162 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT32_MAX); in main()
182 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MIN); in main()
204 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MAX); in main()
225 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT8_MAX); in main()
245 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
266 convert_signed_int_to_unsigned_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
288convert_signed_int_to_unsigned_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN… in main()
[all …]
Dinteger-conversion.c80 uint8_t convert_signed_int_to_unsigned_char(int32_t x) { in convert_signed_int_to_unsigned_char() function
124 convert_signed_int_to_unsigned_char(0); in main()
142 convert_signed_int_to_unsigned_char(1); in main()
164 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT32_MAX); in main()
190 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MIN); in main()
215 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MAX); in main()
236 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT8_MAX); in main()
259 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
285 convert_signed_int_to_unsigned_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
312convert_signed_int_to_unsigned_char((int32_t)(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN… in main()
[all …]
Dunsigned-integer-truncation.c81 uint8_t convert_signed_int_to_unsigned_char(int32_t x) { in convert_signed_int_to_unsigned_char() function
129 convert_signed_int_to_unsigned_char(0); in main()
147 convert_signed_int_to_unsigned_char(1); in main()
167 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT32_MAX); in main()
186 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MIN); in main()
205 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)INT32_MAX); in main()
223 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)UINT8_MAX); in main()
241 convert_signed_int_to_unsigned_char((int32_t)(uint32_t)(uint8_t)INT8_MIN); in main()
260 convert_signed_int_to_unsigned_char((int32_t)(~((uint32_t)(uint8_t)INT8_MIN))); in main()
279convert_signed_int_to_unsigned_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.c112 unsigned char convert_signed_int_to_unsigned_char(signed int x) { in convert_signed_int_to_unsigned_char() function
Dcatch-implicit-integer-conversions-basics.c86 unsigned char convert_signed_int_to_unsigned_char(signed int x) { in convert_signed_int_to_unsigned_char() function
Dcatch-implicit-integer-arithmetic-value-change-basics.c84 unsigned char convert_signed_int_to_unsigned_char(signed int x) { in convert_signed_int_to_unsigned_char() function
Dcatch-implicit-conversions-basics.c86 unsigned char convert_signed_int_to_unsigned_char(signed int x) { in convert_signed_int_to_unsigned_char() function
Dcatch-implicit-integer-truncations-basics.c79 unsigned char convert_signed_int_to_unsigned_char(signed int x) { in convert_signed_int_to_unsigned_char() function
Dcatch-implicit-unsigned-integer-truncations-basics.c76 unsigned char convert_signed_int_to_unsigned_char(signed int x) { in convert_signed_int_to_unsigned_char() function
Dcatch-implicit-signed-integer-truncations-basics.c77 unsigned char convert_signed_int_to_unsigned_char(signed int x) { in convert_signed_int_to_unsigned_char() function