Home
last modified time | relevance | path

Searched refs:index2size (Results 1 – 12 of 12) 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.c21 return (index2size(0)); in extent_quantize()
23 ret = index2size(ind - 1); in extent_quantize()
Dctl.c575 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()
Darena.c2574 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()
Djemalloc.c1604 *usize = index2size(ind);
2262 *usize = index2size(ind);
/external/jemalloc/include/jemalloc/internal/
Dtcache.h325 usize = index2size(binind); in tcache_alloc_small()
383 usize = index2size(binind); in tcache_alloc_large()
Dprivate_symbols.txt299 index2size
Djemalloc_internal.h571 size_t index2size(szind_t index);
753 index2size(szind_t index) in index2size() function
Dprivate_namespace.h299 #define index2size JEMALLOC_N(index2size) macro
Dprivate_unnamespace.h299 #undef index2size
Djemalloc_internal.h.in571 size_t index2size(szind_t index);
753 index2size(szind_t index) function
Darena.h1428 ret = index2size(binind); in arena_salloc()