Home
last modified time | relevance | path

Searched refs:sz_index2size (Results 1 – 10 of 10) sorted by relevance

/external/jemalloc_new/test/unit/
Dsize_classes.c32 for (index = 0, size_class = sz_index2size(index); index < max_index || in TEST_BEGIN()
34 sz_index2size(index)) { in TEST_BEGIN()
46 sz_index2size(sz_size2index(size_class))); in TEST_BEGIN()
48 sz_index2size(sz_size2index(size_class)), in TEST_BEGIN()
52 sz_index2size(sz_size2index(size_class))); in TEST_BEGIN()
58 sz_s2u(sz_index2size(index-1)+1) : sz_s2u(1), in TEST_BEGIN()
64 assert_zu_eq(sz_s2u(size_class+1), sz_index2size(index+1), in TEST_BEGIN()
68 assert_u_eq(index, sz_size2index(sz_index2size(index)), in TEST_BEGIN()
70 assert_zu_eq(max_size_class, sz_index2size( in TEST_BEGIN()
74 assert_zu_eq(size_class, sz_s2u(sz_index2size(index-1)+1), in TEST_BEGIN()
Darena_reset.c84 return sz_index2size(szind); in vsalloc()
/external/jemalloc_new/include/jemalloc/internal/
Dtcache_inlines.h73 usize = sz_index2size(binind); in tcache_alloc_small()
136 usize = sz_index2size(binind); in tcache_alloc_large()
202 large_dalloc_junk(ptr, sz_index2size(binind)); in tcache_dalloc_large()
Darena_inlines_b.h124 return sz_index2size(szind); in arena_salloc()
157 return sz_index2size(szind); in arena_vsalloc()
Dsz.h207 sz_index2size(szind_t index) { in sz_index2size() function
Dextent_inlines.h69 return sz_index2size(extent_szind_get(extent)); in extent_usize_get()
/external/jemalloc_new/src/
Dandroid_je_mallinfo.c29 total_bytes += sz_index2size(NBINS + j) * allocs; in accumulate_large_allocs()
Darena.c148 curlextents * sz_index2size(NBINS + i)); in arena_stats_merge()
162 tbin->ncached * sz_index2size(i)); in arena_stats_merge()
167 tbin->ncached * sz_index2size(i)); in arena_stats_merge()
989 usize = sz_index2size(alloc_ctx.szind); in arena_reset()
1329 usize = sz_index2size(binind); in arena_malloc_small()
1389 return large_malloc(tsdn, arena, sz_index2size(ind), zero); in arena_malloc_hard()
Djemalloc.c1853 usize = sz_index2size(ind);
2228 usize = sz_index2size(alloc_ctx.szind);
2231 usize = sz_index2size(alloc_ctx.szind);
2343 old_usize = sz_index2size(alloc_ctx.szind);
2722 old_usize = sz_index2size(alloc_ctx.szind);
2866 old_usize = sz_index2size(alloc_ctx.szind);
Dctl.c721 sz_index2size(i); in ctl_arena_stats_amerge()
2442 CTL_RO_NL_GEN(arenas_lextent_i_size, sz_index2size(NBINS+(szind_t)mib[2]),