Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/ubsan/TestCases/ImplicitConversion/
Dsigned-integer-truncation.c50 uint8_t convert_unsigned_int_to_unsigned_char(uint32_t x) { in convert_unsigned_int_to_unsigned_char() function
118 convert_unsigned_int_to_unsigned_char(0); in main()
136 convert_unsigned_int_to_unsigned_char(1); in main()
155 convert_unsigned_int_to_unsigned_char((uint32_t)UINT32_MAX); in main()
174 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MIN); in main()
195 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MAX); in main()
216 convert_unsigned_int_to_unsigned_char((uint32_t)UINT8_MAX); in main()
236 convert_unsigned_int_to_unsigned_char((uint32_t)(uint8_t)INT8_MIN); in main()
256 convert_unsigned_int_to_unsigned_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
277 convert_unsigned_int_to_unsigned_char(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN)); in main()
[all …]
Dinteger-arithmetic-value-change.c50 uint8_t convert_unsigned_int_to_unsigned_char(uint32_t x) { in convert_unsigned_int_to_unsigned_char() function
118 convert_unsigned_int_to_unsigned_char(0); in main()
136 convert_unsigned_int_to_unsigned_char(1); in main()
155 convert_unsigned_int_to_unsigned_char((uint32_t)UINT32_MAX); in main()
180 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MIN); in main()
206 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MAX); in main()
227 convert_unsigned_int_to_unsigned_char((uint32_t)UINT8_MAX); in main()
250 convert_unsigned_int_to_unsigned_char((uint32_t)(uint8_t)INT8_MIN); in main()
273 convert_unsigned_int_to_unsigned_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
299 convert_unsigned_int_to_unsigned_char(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN)); in main()
[all …]
Dinteger-truncation.c50 uint8_t convert_unsigned_int_to_unsigned_char(uint32_t x) { in convert_unsigned_int_to_unsigned_char() function
118 convert_unsigned_int_to_unsigned_char(0); in main()
136 convert_unsigned_int_to_unsigned_char(1); in main()
155 convert_unsigned_int_to_unsigned_char((uint32_t)UINT32_MAX); in main()
175 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MIN); in main()
197 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MAX); in main()
219 convert_unsigned_int_to_unsigned_char((uint32_t)UINT8_MAX); in main()
239 convert_unsigned_int_to_unsigned_char((uint32_t)(uint8_t)INT8_MIN); in main()
259 convert_unsigned_int_to_unsigned_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
281 convert_unsigned_int_to_unsigned_char(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN)); in main()
[all …]
Dinteger-conversion.c50 uint8_t convert_unsigned_int_to_unsigned_char(uint32_t x) { in convert_unsigned_int_to_unsigned_char() function
118 convert_unsigned_int_to_unsigned_char(0); in main()
136 convert_unsigned_int_to_unsigned_char(1); in main()
155 convert_unsigned_int_to_unsigned_char((uint32_t)UINT32_MAX); in main()
181 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MIN); in main()
208 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MAX); in main()
230 convert_unsigned_int_to_unsigned_char((uint32_t)UINT8_MAX); in main()
253 convert_unsigned_int_to_unsigned_char((uint32_t)(uint8_t)INT8_MIN); in main()
276 convert_unsigned_int_to_unsigned_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
303 convert_unsigned_int_to_unsigned_char(((uint32_t)INT32_MIN) | ((uint32_t)(uint8_t)INT8_MIN)); in main()
[all …]
Dunsigned-integer-truncation.c51 uint8_t convert_unsigned_int_to_unsigned_char(uint32_t x) { in convert_unsigned_int_to_unsigned_char() function
123 convert_unsigned_int_to_unsigned_char(0); in main()
141 convert_unsigned_int_to_unsigned_char(1); in main()
160 convert_unsigned_int_to_unsigned_char((uint32_t)UINT32_MAX); in main()
179 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MIN); in main()
198 convert_unsigned_int_to_unsigned_char((uint32_t)INT32_MAX); in main()
217 convert_unsigned_int_to_unsigned_char((uint32_t)UINT8_MAX); in main()
235 convert_unsigned_int_to_unsigned_char((uint32_t)(uint8_t)INT8_MIN); in main()
253 convert_unsigned_int_to_unsigned_char((~((uint32_t)(uint8_t)INT8_MIN))); in main()
272 convert_unsigned_int_to_unsigned_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.c58 unsigned char convert_unsigned_int_to_unsigned_char(unsigned int x) { in convert_unsigned_int_to_unsigned_char() function
Dcatch-implicit-integer-conversions-basics.c47 unsigned char convert_unsigned_int_to_unsigned_char(unsigned int x) { in convert_unsigned_int_to_unsigned_char() function
Dcatch-implicit-integer-arithmetic-value-change-basics.c46 unsigned char convert_unsigned_int_to_unsigned_char(unsigned int x) { in convert_unsigned_int_to_unsigned_char() function
Dcatch-implicit-conversions-basics.c47 unsigned char convert_unsigned_int_to_unsigned_char(unsigned int x) { in convert_unsigned_int_to_unsigned_char() function
Dcatch-implicit-integer-truncations-basics.c42 unsigned char convert_unsigned_int_to_unsigned_char(unsigned int x) { in convert_unsigned_int_to_unsigned_char() function
Dcatch-implicit-unsigned-integer-truncations-basics.c39 unsigned char convert_unsigned_int_to_unsigned_char(unsigned int x) { in convert_unsigned_int_to_unsigned_char() function
Dcatch-implicit-signed-integer-truncations-basics.c41 unsigned char convert_unsigned_int_to_unsigned_char(unsigned int x) { in convert_unsigned_int_to_unsigned_char() function