Searched refs:INT32_TO_PTR (Results 1 – 2 of 2) sorted by relevance
281 p = INT32_TO_PTR(1 + (random_u32() & 0xFFFU)); in TEST()287 assert_se(set_put(a, INT32_TO_PTR(0x1000U)) >= 0); in TEST()302 assert_se(set_remove(a, INT32_TO_PTR(0x1000U)) == INT32_TO_PTR(0x1000U)); in TEST()307 assert_se(set_remove(b, INT32_TO_PTR(0x1000U)) == INT32_TO_PTR(0x1000U)); in TEST()312 assert_se(set_put(b, INT32_TO_PTR(0x1001U)) >= 0); in TEST()317 assert_se(set_put(a, INT32_TO_PTR(0x1001U)) >= 0); in TEST()
294 #define INT32_TO_PTR(u) ((void *) ((intptr_t) (u))) macro