Home
last modified time | relevance | path

Searched refs:pow2_ceil (Results 1 – 7 of 7) sorted by relevance

/external/jemalloc/test/unit/
Dutil.c8 assert_zu_eq(pow2_ceil(0), 0, "Unexpected result"); in TEST_BEGIN()
11 assert_zu_eq(pow2_ceil(ZU(1) << i), ZU(1) << i, in TEST_BEGIN()
16 assert_zu_eq(pow2_ceil((ZU(1) << i) - 1), ZU(1) << i, in TEST_BEGIN()
21 assert_zu_eq(pow2_ceil((ZU(1) << i) + 1), ZU(1) << (i+1), in TEST_BEGIN()
27 assert_zu_eq(pow2_ceil(x), ZU(1) << pow2, in TEST_BEGIN()
/external/jemalloc/src/
Drtree.c12 bits_per_level = jemalloc_ffs(pow2_ceil((RTREE_NODESIZE / sizeof(void *)))) - 1; in rtree_new()
13 bits_in_leaf = jemalloc_ffs(pow2_ceil((RTREE_NODESIZE / sizeof(uint8_t)))) - 1; in rtree_new()
/external/jemalloc/include/jemalloc/internal/
Dutil.h114 size_t pow2_ceil(size_t x);
143 pow2_ceil(size_t x) in pow2_ceil() function
Dprivate_symbols.txt289 pow2_ceil
Dprivate_namespace.h289 #define pow2_ceil JEMALLOC_N(pow2_ceil) macro
Darena.h523 size_t lg_ceil = lg_floor(pow2_ceil(size)); in small_size2bin_compute()
621 size_t lg_ceil = lg_floor(pow2_ceil(size)); in small_s2u_compute()
Dprivate_unnamespace.h289 #undef pow2_ceil