Searched refs:sz_s2u (Results 1 – 8 of 8) sorted by relevance
/external/jemalloc_new/test/unit/ |
D | size_classes.c | 58 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/ |
D | sz.h | 249 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()
|
D | prof_inlines_b.h | 107 assert(usize == sz_s2u(usize)); in prof_alloc_prep()
|
D | tcache_inlines.h | 126 ret = large_malloc(tsd_tsdn(tsd), arena, sz_s2u(size), zero); in tcache_alloc_large()
|
/external/jemalloc_new/src/ |
D | jemalloc.c | 1742 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);
|
D | zone.c | 248 return sz_s2u(size); in zone_good_size()
|
D | large.c | 15 assert(usize == sz_s2u(usize)); in large_malloc()
|
D | arena.c | 1596 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()
|