Home
last modified time | relevance | path

Searched refs:index2size (Results 1 – 11 of 11) sorted by relevance

/external/jemalloc/test/unit/
Dsize_classes.c34 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/
Dextent.c14 return (index2size(size2index(size + 1) - 1)); in extent_quantize()
Darena.c78 qsize = index2size(size2index(size - large_pad + 1) - 1) + large_pad; in rb_gen()
101 large_run_size_next = PAGE_CEILING(index2size(size2index(size - in run_quantize_next()
1969 size = index2size(binind); in arena_malloc_small()
2470 usize = index2size(size2index(usize)-1); in arena_ralloc_large_grow()
3069 arena_maxclass = index2size(size2index(chunksize)-1); in arena_boot()
Dctl.c557 index2size(i); in ctl_arena_stats_amerge()
1825 CTL_RO_NL_GEN(arenas_lrun_i_size, index2size(NBINS+mib[2]), size_t) in CTL_RO_NL_GEN()
1836 CTL_RO_NL_GEN(arenas_hchunk_i_size, index2size(NBINS+nlclasses+mib[2]), size_t) in CTL_RO_NL_GEN()
/external/jemalloc/include/jemalloc/internal/
Dtcache.h289 usize = index2size(binind); in tcache_alloc_small()
332 usize = index2size(binind); in tcache_alloc_large()
Dprivate_symbols.txt275 index2size
Djemalloc_internal.h508 size_t index2size(index_t index);
611 index2size(index_t index) in index2size() function
Dprivate_namespace.h275 #define index2size JEMALLOC_N(index2size) macro
Dprivate_unnamespace.h275 #undef index2size
Djemalloc_internal.h.in508 size_t index2size(index_t index);
611 index2size(index_t index) function
Darena.h1146 ret = index2size(binind); in arena_salloc()