/external/jemalloc_new/include/jemalloc/internal/ |
D | bit_util.h | 32 #if LG_SIZEOF_PTR == LG_SIZEOF_INT in ffs_zu() 34 #elif LG_SIZEOF_PTR == LG_SIZEOF_LONG in ffs_zu() 36 #elif LG_SIZEOF_PTR == LG_SIZEOF_LONG_LONG in ffs_zu() 92 #if (LG_SIZEOF_PTR == 3) in pow2_ceil_zu() 119 #if (LG_SIZEOF_PTR == 3) in lg_floor() 121 #elif (LG_SIZEOF_PTR == 2) in lg_floor() 134 #if (LG_SIZEOF_PTR == LG_SIZEOF_INT) in lg_floor() 135 return ((8 << LG_SIZEOF_PTR) - 1) - __builtin_clz(x); in lg_floor() 136 #elif (LG_SIZEOF_PTR == LG_SIZEOF_LONG) in lg_floor() 137 return ((8 << LG_SIZEOF_PTR) - 1) - __builtin_clzl(x); in lg_floor() [all …]
|
D | atomic.h | 51 #if (LG_SIZEOF_PTR == 3 || LG_SIZEOF_INT == 3) 55 JEMALLOC_GENERATE_ATOMICS(void *, p, LG_SIZEOF_PTR) 65 JEMALLOC_GENERATE_INT_ATOMICS(size_t, zu, LG_SIZEOF_PTR) 67 JEMALLOC_GENERATE_INT_ATOMICS(ssize_t, zd, LG_SIZEOF_PTR)
|
D | prng.h | 47 #if LG_SIZEOF_PTR == 2 in prng_state_next_zu() 49 #elif LG_SIZEOF_PTR == 3 in prng_state_next_zu() 108 assert(lg_range <= ZU(1) << (3 + LG_SIZEOF_PTR)); in prng_lg_range_zu() 121 ret = state1 >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) - lg_range); in prng_lg_range_zu()
|
D | rtree.h | 18 #define RTREE_NHIB ((1U << (LG_SIZEOF_PTR+3)) - LG_VADDR) 133 unsigned ptrbits = ZU(1) << (LG_SIZEOF_PTR+3); in rtree_leafkey() 143 unsigned ptrbits = ZU(1) << (LG_SIZEOF_PTR+3); in rtree_cache_direct_map() 152 unsigned ptrbits = ZU(1) << (LG_SIZEOF_PTR+3); in rtree_subkey()
|
D | ckh.h | 21 #define LG_CKH_BUCKET_CELLS (LG_CACHELINE - LG_SIZEOF_PTR - 1)
|
/external/jemalloc/include/jemalloc/internal/ |
D | util.h | 169 #if LG_SIZEOF_PTR == LG_SIZEOF_INT in ffs_zu() 171 #elif LG_SIZEOF_PTR == LG_SIZEOF_LONG in ffs_zu() 173 #elif LG_SIZEOF_PTR == LG_SIZEOF_LONG_LONG in ffs_zu() 239 #if (LG_SIZEOF_PTR == 3) in pow2_ceil_zu() 269 #if (LG_SIZEOF_PTR == 3) in lg_floor() 271 #elif (LG_SIZEOF_PTR == 2) in lg_floor() 286 #if (LG_SIZEOF_PTR == LG_SIZEOF_INT) in lg_floor() 287 return (((8 << LG_SIZEOF_PTR) - 1) - __builtin_clz(x)); in lg_floor() 288 #elif (LG_SIZEOF_PTR == LG_SIZEOF_LONG) in lg_floor() 289 return (((8 << LG_SIZEOF_PTR) - 1) - __builtin_clzl(x)); in lg_floor() [all …]
|
D | atomic.h | 69 #if (LG_SIZEOF_PTR == 3 || LG_SIZEOF_INT == 3) 509 #if (LG_SIZEOF_PTR == 3) in atomic_add_p() 511 #elif (LG_SIZEOF_PTR == 2) in atomic_add_p() 520 #if (LG_SIZEOF_PTR == 3) in atomic_sub_p() 523 #elif (LG_SIZEOF_PTR == 2) in atomic_sub_p() 533 #if (LG_SIZEOF_PTR == 3) in atomic_cas_p() 535 #elif (LG_SIZEOF_PTR == 2) in atomic_cas_p() 544 #if (LG_SIZEOF_PTR == 3) in atomic_write_p() 546 #elif (LG_SIZEOF_PTR == 2) in atomic_write_p() 557 #if (LG_SIZEOF_PTR == 3) in atomic_add_z() [all …]
|
D | prng.h | 75 #if LG_SIZEOF_PTR == 2 in prng_state_next_zu() 77 #elif LG_SIZEOF_PTR == 3 in prng_state_next_zu() 130 assert(lg_range <= ZU(1) << (3 + LG_SIZEOF_PTR)); in prng_lg_range_zu() 143 ret = state1 >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) - lg_range); in prng_lg_range_zu()
|
D | ckh.h | 20 #define LG_CKH_BUCKET_CELLS (LG_CACHELINE - LG_SIZEOF_PTR - 1)
|
/external/jemalloc/test/unit/ |
D | prng.c | 84 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 86 rb = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 91 rb = prng_lg_range_zu(&sb, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 96 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 97 rb = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 102 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 103 for (lg_range = (ZU(1) << (3 + LG_SIZEOF_PTR)) - 1; lg_range > 0; in test_prng_lg_range_zu() 109 assert_zu_eq(rb, (ra >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) - in test_prng_lg_range_zu()
|
/external/jemalloc_new/test/unit/ |
D | prng.c | 83 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 85 rb = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 90 rb = prng_lg_range_zu(&sb, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 95 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 96 rb = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 101 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu() 102 for (lg_range = (ZU(1) << (3 + LG_SIZEOF_PTR)) - 1; lg_range > 0; in test_prng_lg_range_zu() 108 assert_zu_eq(rb, (ra >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) - in test_prng_lg_range_zu()
|
/external/jemalloc_new/test/integration/ |
D | posix_memalign.c | 39 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 50 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 62 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 90 size += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
D | aligned_alloc.c | 41 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 54 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 68 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 97 size += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
D | mallocx.c | 102 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 178 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
D | sdallocx.c | 27 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
/external/jemalloc/test/integration/ |
D | posix_memalign.c | 44 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 55 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 67 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 95 size += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
D | aligned_alloc.c | 46 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 59 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 73 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 102 size += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
D | mallocx.c | 114 #if LG_SIZEOF_PTR == 3 in TEST_BEGIN() 183 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
D | sdallocx.c | 28 sz += (alignment >> (LG_SIZEOF_PTR-1)) - 1) { in TEST_BEGIN()
|
/external/jemalloc_new/include/jemalloc/ |
D | jemalloc_defs.h | 47 #define LG_SIZEOF_PTR 3 macro 49 #define LG_SIZEOF_PTR 2 macro
|
D | jemalloc_defs.h.in | 44 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */ 45 #undef LG_SIZEOF_PTR
|
D | jemalloc.h | 52 #define LG_SIZEOF_PTR 3 macro 54 #define LG_SIZEOF_PTR 2 78 #if LG_SIZEOF_PTR == 2
|
/external/jemalloc/include/jemalloc/ |
D | jemalloc_defs.h | 49 #define LG_SIZEOF_PTR 3 macro 51 #define LG_SIZEOF_PTR 2 macro
|
D | jemalloc_defs.h.in | 44 /* sizeof(void *) == 2^LG_SIZEOF_PTR. */ 45 #undef LG_SIZEOF_PTR
|
D | jemalloc.h | 56 #define LG_SIZEOF_PTR 3 macro 58 #define LG_SIZEOF_PTR 2 130 # if LG_SIZEOF_PTR == 2
|