Home
last modified time | relevance | path

Searched refs:INT32_TO_PTR (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/test/
Dtest-set.c281 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()
/systemd-251/src/basic/
Dmacro.h294 #define INT32_TO_PTR(u) ((void *) ((intptr_t) (u))) macro