Home
last modified time | relevance | path

Searched refs:nxt_is_power_of_two (Results 1 – 2 of 2) sorted by path

/unit/src/
H A Dnxt_clang.h238 #define nxt_is_power_of_two(value) \ macro
H A Dnxt_mp.c357 valid = nxt_expect(1, (nxt_is_power_of_two(page_alignment) in nxt_mp_test_sizes()
358 && nxt_is_power_of_two(page_size) in nxt_mp_test_sizes()
359 && nxt_is_power_of_two(min_chunk_size))); in nxt_mp_test_sizes()
437 if (nxt_fast_path(nxt_is_power_of_two(alignment))) { in nxt_mp_align()
726 if (nxt_is_power_of_two(size)) { in nxt_mp_alloc_large()