Home
last modified time | relevance | path

Searched refs:sz_s2u (Results 1 – 8 of 8) sorted by relevance

/external/jemalloc_new/test/unit/
Dsize_classes.c58 sz_s2u(sz_index2size(index-1)+1) : sz_s2u(1), in TEST_BEGIN()
60 assert_zu_eq(size_class, sz_s2u(size_class-1), in TEST_BEGIN()
62 assert_zu_eq(size_class, sz_s2u(size_class), in TEST_BEGIN()
64 assert_zu_eq(sz_s2u(size_class+1), sz_index2size(index+1), in TEST_BEGIN()
74 assert_zu_eq(size_class, sz_s2u(sz_index2size(index-1)+1), in TEST_BEGIN()
76 assert_zu_eq(size_class, sz_s2u(size_class-1), in TEST_BEGIN()
78 assert_zu_eq(size_class, sz_s2u(size_class), in TEST_BEGIN()
152 assert_zu_eq(sz_s2u(max_size_class+1), 0, in TEST_BEGIN()
154 assert_zu_eq(sz_s2u(ZU(PTRDIFF_MAX)+1), 0, in TEST_BEGIN()
156 assert_zu_eq(sz_s2u(SIZE_T_MAX), 0, in TEST_BEGIN()
/external/jemalloc_new/include/jemalloc/internal/
Dsz.h249 sz_s2u(size_t size) { in sz_s2u() function
283 usize = sz_s2u(ALIGNMENT_CEILING(size, alignment)); in sz_sa2u()
299 usize = sz_s2u(size); in sz_sa2u()
Dprof_inlines_b.h107 assert(usize == sz_s2u(usize)); in prof_alloc_prep()
Dtcache_inlines.h126 ret = large_malloc(tsd_tsdn(tsd), arena, sz_s2u(size), zero); in tcache_alloc_large()
/external/jemalloc_new/src/
Djemalloc.c1742 assert(((dopts->alignment == 0) ? sz_s2u(LARGE_MINCLASS) :
1746 bumped_usize = sz_s2u(LARGE_MINCLASS);
2346 usize = sz_s2u(size);
2352 usize = sz_s2u(size);
2726 sz_s2u(size) : sz_sa2u(size, alignment);
2811 usize_max = sz_s2u(size+extra);
2986 usize = sz_s2u(size);
Dzone.c248 return sz_s2u(size); in zone_good_size()
Dlarge.c15 assert(usize == sz_s2u(usize)); in large_malloc()
Darena.c1596 size_t usize_min = sz_s2u(size); in arena_ralloc_no_move()
1597 size_t usize_max = sz_s2u(size + extra); in arena_ralloc_no_move()
1638 size_t usize = sz_s2u(size); in arena_ralloc()