/external/jemalloc/include/jemalloc/internal/ |
D | valgrind.h | 52 old_ptr, old_usize, old_rzsize, old_ptr_null, zero) do { \ argument 58 VALGRIND_RESIZEINPLACE_BLOCK(ptr, old_usize, \ 60 if (zero && old_usize < usize) { \ 63 old_usize), usize - old_usize); \ 73 size_t copy_size = (old_usize < usize) \ 74 ? old_usize : usize; \ 102 ptr_maybe_null, old_ptr, old_usize, old_rzsize, old_ptr_maybe_null, \ argument
|
D | prof.h | 346 size_t old_usize, prof_tctx_t *old_tctx); 498 bool prof_active, bool updated, const void *old_ptr, size_t old_usize, in prof_realloc() argument 530 prof_free_sampled_object(tsd, old_usize, old_tctx); in prof_realloc()
|
/external/jemalloc/src/ |
D | jemalloc.c | 1840 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument 1848 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false); 1853 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false); 1859 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize) argument 1869 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx); 1871 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false); 1876 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize, 1939 size_t old_usize = 0; local 1964 old_usize = isalloc(tsd_tsdn(tsd), ptr, config_prof); 1967 u2rz(old_usize); [all …]
|
D | arena.c | 3196 arena_ralloc_junk_large(void *ptr, size_t old_usize, size_t usize) in arena_ralloc_junk_large() argument 3201 old_usize - usize); in arena_ralloc_junk_large()
|
/external/jemalloc_new/src/ |
D | jemalloc.c | 2162 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument 2170 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false); 2176 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false); 2183 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, argument 2193 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx); 2195 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false); 2201 prof_realloc(tsd, p, usize, tctx, prof_active, true, old_ptr, old_usize, 2309 size_t old_usize = 0; local 2343 old_usize = sz_index2size(alloc_ctx.szind); 2344 assert(old_usize == isalloc(tsd_tsdn(tsd), ptr)); [all …]
|
/external/jemalloc/test/unit/ |
D | junk.c | 171 arena_ralloc_junk_large_intercept(void *ptr, size_t old_usize, size_t usize) in arena_ralloc_junk_large_intercept() argument 174 arena_ralloc_junk_large_orig(ptr, old_usize, usize); in arena_ralloc_junk_large_intercept() 175 assert_zu_eq(old_usize, large_maxclass, "Unexpected old_usize"); in arena_ralloc_junk_large_intercept()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | prof_inlines_b.h | 138 bool prof_active, bool updated, const void *old_ptr, size_t old_usize, in prof_realloc() argument 190 prof_free_sampled_object(tsd, old_usize, old_tctx); in prof_realloc()
|