Home
last modified time | relevance | path

Searched refs:old_usize (Results 1 – 5 of 5) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Dvalgrind.h38 ptr_maybe_null, old_ptr, old_usize, old_rzsize, old_ptr_maybe_null, \ argument
44 VALGRIND_RESIZEINPLACE_BLOCK(ptr, old_usize, \
46 if (zero && old_usize < usize) { \
49 old_usize), usize - old_usize); \
57 size_t copy_size = (old_usize < usize) \
58 ? old_usize : usize; \
86 ptr_maybe_null, old_ptr, old_usize, old_rzsize, old_ptr_maybe_null, \ argument
Dprof.h340 prof_tctx_t *tctx, bool updated, size_t old_usize, prof_tctx_t *old_tctx);
481 bool updated, size_t old_usize, prof_tctx_t *old_tctx) in prof_realloc() argument
502 prof_free_sampled_object(tsd, old_usize, old_tctx); in prof_realloc()
/external/jemalloc/src/
Djemalloc.c1672 irealloc_prof_sample(tsd_t *tsd, void *oldptr, size_t old_usize, size_t usize, argument
1680 p = iralloc(tsd, oldptr, old_usize, LARGE_MINCLASS, 0, false);
1685 p = iralloc(tsd, oldptr, old_usize, usize, 0, false);
1691 irealloc_prof(tsd_t *tsd, void *oldptr, size_t old_usize, size_t usize) argument
1699 p = irealloc_prof_sample(tsd, oldptr, old_usize, usize, tctx);
1701 p = iralloc(tsd, oldptr, old_usize, usize, 0, false);
1704 prof_realloc(tsd, p, usize, tctx, true, old_usize, old_tctx);
1755 size_t old_usize = 0; local
1774 old_usize = isalloc(ptr, config_prof);
1776 old_rzsize = config_prof ? p2rz(ptr) : u2rz(old_usize);
[all …]
Darena.c2522 arena_ralloc_junk_large(void *ptr, size_t old_usize, size_t usize) in arena_ralloc_junk_large() argument
2527 old_usize - usize); in arena_ralloc_junk_large()
/external/jemalloc/test/unit/
Djunk.c171 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, arena_maxclass, "Unexpected old_usize"); in arena_ralloc_junk_large_intercept()