Searched refs:pow2_ceil (Results 1 – 7 of 7) sorted by relevance
/external/jemalloc/test/unit/ |
D | util.c | 8 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/ |
D | rtree.c | 12 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/ |
D | util.h | 114 size_t pow2_ceil(size_t x); 143 pow2_ceil(size_t x) in pow2_ceil() function
|
D | private_symbols.txt | 289 pow2_ceil
|
D | private_namespace.h | 289 #define pow2_ceil JEMALLOC_N(pow2_ceil) macro
|
D | arena.h | 523 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()
|
D | private_unnamespace.h | 289 #undef pow2_ceil
|