Searched defs:div (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-util.c168 int div; local
178 div = 0;
179 assert_se(DIV_ROUND_UP(div++, 8) == 0 && div == 1);
180 assert_se(DIV_ROUND_UP(++div, 8) == 1 && div == 2);
181 assert_se(DIV_ROUND_UP(8, div++) == 4 && div == 3);
182 assert_se(DIV_ROUND_UP(8, ++div) == 2 && div
[all...]

Completed in 11 milliseconds