Searched refs:index2size (Results 1 – 12 of 12) sorted by relevance
/external/jemalloc/test/unit/ |
D | size_classes.c | 34 for (index = 0, size_class = index2size(index); index < max_index || in TEST_BEGIN() 36 index2size(index)) { in TEST_BEGIN() 48 index2size(size2index(size_class))); in TEST_BEGIN() 49 assert_zu_eq(size_class, index2size(size2index(size_class)), in TEST_BEGIN() 53 index2size(size2index(size_class))); in TEST_BEGIN() 59 s2u(index2size(index-1)+1) : s2u(1), in TEST_BEGIN() 65 assert_zu_eq(s2u(size_class+1), index2size(index+1), in TEST_BEGIN() 69 assert_u_eq(index, size2index(index2size(index)), in TEST_BEGIN() 71 assert_zu_eq(max_size_class, index2size(size2index(max_size_class)), in TEST_BEGIN() 74 assert_zu_eq(size_class, s2u(index2size(index-1)+1), in TEST_BEGIN()
|
/external/jemalloc/src/ |
D | extent.c | 21 return (index2size(0)); in extent_quantize() 23 ret = index2size(ind - 1); in extent_quantize()
|
D | ctl.c | 575 index2size(i); in ctl_arena_stats_amerge() 1941 CTL_RO_NL_GEN(arenas_lrun_i_size, index2size(NBINS+(szind_t)mib[2]), size_t) in CTL_RO_NL_GEN() 1952 CTL_RO_NL_GEN(arenas_hchunk_i_size, index2size(NBINS+nlclasses+(szind_t)mib[2]), in CTL_RO_NL_GEN()
|
D | arena.c | 2574 usize = index2size(binind); in arena_malloc_small() 2629 usize = index2size(binind); in arena_malloc_large() 2697 return (huge_malloc(tsdn, arena, index2size(ind), zero)); in arena_malloc_hard() 3119 usize = index2size(size2index(usize)-1); in arena_ralloc_large_grow() 3792 large_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
|
D | jemalloc.c | 1604 *usize = index2size(ind); 2262 *usize = index2size(ind);
|
/external/jemalloc/include/jemalloc/internal/ |
D | tcache.h | 325 usize = index2size(binind); in tcache_alloc_small() 383 usize = index2size(binind); in tcache_alloc_large()
|
D | private_symbols.txt | 299 index2size
|
D | jemalloc_internal.h | 571 size_t index2size(szind_t index); 753 index2size(szind_t index) in index2size() function
|
D | private_namespace.h | 299 #define index2size JEMALLOC_N(index2size) macro
|
D | private_unnamespace.h | 299 #undef index2size
|
D | jemalloc_internal.h.in | 571 size_t index2size(szind_t index); 753 index2size(szind_t index) function
|
D | arena.h | 1428 ret = index2size(binind); in arena_salloc()
|