Home
last modified time | relevance | path

Searched refs:s2u (Results 1 – 14 of 14) sorted by relevance

/external/jemalloc/test/unit/
Dsize_classes.c59 s2u(index2size(index-1)+1) : s2u(1), in TEST_BEGIN()
61 assert_zu_eq(size_class, s2u(size_class-1), in TEST_BEGIN()
63 assert_zu_eq(size_class, s2u(size_class), in TEST_BEGIN()
65 assert_zu_eq(s2u(size_class+1), index2size(index+1), in TEST_BEGIN()
74 assert_zu_eq(size_class, s2u(index2size(index-1)+1), in TEST_BEGIN()
76 assert_zu_eq(size_class, s2u(size_class-1), in TEST_BEGIN()
78 assert_zu_eq(size_class, s2u(size_class), in TEST_BEGIN()
/external/jemalloc/src/
Dhuge.c39 usize = s2u(size); in huge_malloc()
143 while (usize < s2u(size+extra) && (usize_next = s2u(usize+1)) < oldsize) in huge_ralloc_no_move_similar()
238 usize = s2u(size); in huge_ralloc_no_move_expand()
293 assert(s2u(oldsize) == oldsize); in huge_ralloc_no_move()
294 usize = s2u(size); in huge_ralloc_no_move()
Djemalloc.c1404 *usize = s2u(size);
1409 *usize = s2u(size);
1645 usize = s2u(num_size);
1649 usize = s2u(num_size);
1779 usize = s2u(size);
1784 usize = s2u(size);
1896 *usize = s2u(size);
1925 *usize = s2u(size);
1967 assert(((alignment == 0) ? s2u(LARGE_MINCLASS) :
2022 *usize = s2u(size);
[all …]
Dbase.c92 usize = s2u(csize); in base_alloc()
Dzone.c150 return (s2u(size)); in zone_good_size()
Darena.c1003 arena_run_t *run = arena_run_first_best_fit(arena, s2u(size)); in arena_run_alloc_large_helper()
2024 usize = s2u(size); in arena_malloc_large()
2448 size_t usize_min = s2u(size); in arena_ralloc_large_grow()
2468 usize = s2u(size + extra); in arena_ralloc_large_grow()
2551 usize = s2u(size + extra); in arena_ralloc_large()
2975 assert(actual_run_size == s2u(actual_run_size)); in bin_info_run_size_calc()
Dchunk.c94 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize)); in chunk_recycle()
/external/jemalloc/include/jemalloc/internal/
Djemalloc_internal.h511 size_t s2u(size_t size);
657 s2u(size_t size) in s2u() function
694 usize = s2u(ALIGNMENT_CEILING(size, alignment)); in sa2u()
708 usize = (size <= LARGE_MINCLASS) ? LARGE_MINCLASS : s2u(size); in sa2u()
734 usize = s2u(size); in sa2u()
Djemalloc_internal.h.in511 size_t s2u(size_t size);
657 s2u(size_t size) function
694 usize = s2u(ALIGNMENT_CEILING(size, alignment));
708 usize = (size <= LARGE_MINCLASS) ? LARGE_MINCLASS : s2u(size);
734 usize = s2u(size);
Dprivate_symbols.txt416 s2u
Dprof.h451 assert(usize == s2u(usize)); in prof_alloc_prep()
Dprivate_namespace.h416 #define s2u JEMALLOC_N(s2u) macro
Darena.h1231 assert(s2u(size) == s2u(arena_salloc(ptr, false))); in arena_sdalloc()
Dprivate_unnamespace.h416 #undef s2u