Searched refs:ALIGN_POWER2 (Results 1 - 2 of 2) sorted by relevance

/systemd/src/test/
H A Dtest-util.c67 assert_se(ALIGN_POWER2(0) == 0);
68 assert_se(ALIGN_POWER2(1) == 1);
69 assert_se(ALIGN_POWER2(2) == 2);
70 assert_se(ALIGN_POWER2(3) == 4);
71 assert_se(ALIGN_POWER2(12) == 16);
73 assert_se(ALIGN_POWER2(ULONG_MAX) == 0);
74 assert_se(ALIGN_POWER2(ULONG_MAX - 1) == 0);
75 assert_se(ALIGN_POWER2(ULONG_MAX - 1024) == 0);
76 assert_se(ALIGN_POWER2(ULONG_MAX / 2) == ULONG_MAX / 2 + 1);
77 assert_se(ALIGN_POWER2(ULONG_MA
[all...]
/systemd/src/basic/
H A Dmacro.h111 static inline unsigned long ALIGN_POWER2(unsigned long u) { function

Completed in 2232 milliseconds