Home
last modified time | relevance | path

Searched refs:powerof2 (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Djemalloc_wrapper.cpp41 if (!powerof2(boundary)) { in je_memalign_round_up_boundary()
Dmalloc_debug_leak.cpp257 if (!powerof2(alignment)) { in fill_posix_memalign()
452 if (!powerof2(alignment)) { in leak_memalign()
495 if (!powerof2(alignment)) { in leak_posix_memalign()
Dmalloc_debug_check.cpp369 if (!powerof2(alignment)) { in chk_memalign()
571 if (!powerof2(alignment)) { in chk_posix_memalign()
Dmalloc_debug_qemu.cpp981 } else if (!powerof2(alignment)) { in qemu_instrumented_memalign()
/bionic/libc/include/sys/
Dparam.h42 #define powerof2(x) ((((x)-1)&(x))==0) macro
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dgetdelim.c90 #define powerof2(x) ((((x)-1)&(x))==0) in getdelim() macro
91 if (!powerof2(newlen)) { in getdelim()
/bionic/tests/
Dunistd_test.cpp513 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()
515 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()
517 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()
520 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()
522 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()
524 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()
/bionic/linker/
Dlinker.cpp2560 if (!powerof2(gnu_maskwords_)) { in prelink_image()