Home
last modified time | relevance | path

Searched refs:old_ptr (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/jemalloc/src/
H A Djemalloc.c2158 p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false); in irealloc_prof_sample()
2164 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false); in irealloc_prof_sample()
2178 old_tctx = prof_tctx_get(tsd_tsdn(tsd), old_ptr, alloc_ctx); in irealloc_prof()
2181 p = irealloc_prof_sample(tsd, old_ptr, old_usize, usize, tctx); in irealloc_prof()
2183 p = iralloc(tsd, old_ptr, old_usize, usize, 0, false); in irealloc_prof()
2608 p = iralloct(tsdn, old_ptr, old_usize, LARGE_MINCLASS, in irallocx_prof_sample()
2615 p = iralloct(tsdn, old_ptr, old_usize, usize, alignment, zero, in irallocx_prof_sample()
2631 old_tctx = prof_tctx_get(tsd_tsdn(tsd), old_ptr, alloc_ctx); in irallocx_prof()
2634 p = irallocx_prof_sample(tsd_tsdn(tsd), old_ptr, old_usize, in irallocx_prof()
2645 if (p == old_ptr && alignment != 0) { in irallocx_prof()
[all …]
/freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_inlines_b.h138 bool prof_active, bool updated, const void *old_ptr, size_t old_usize, in prof_realloc() argument
162 moved = (ptr != old_ptr); in prof_realloc()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_allocator.cc651 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate()
652 CHECK(old_ptr && new_size); in Reallocate()
653 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate()
665 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate()
670 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
671 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_alloc.cpp1711 void *old_ptr; in ___kmp_fast_free() local
1727 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free()
1730 *((void **)tail) = old_ptr; in ___kmp_fast_free()
1733 &q_th->th.th_free_lists[index].th_free_list_sync, old_ptr, head)) { in ___kmp_fast_free()
1735 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free()
1736 *((void **)tail) = old_ptr; in ___kmp_fast_free()
/freebsd-12.1/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c2495 void *old_ptr; in ta_modify_ifidx() local
2500 old_ptr = icfg->main_ptr; in ta_modify_ifidx()
2505 mi->main_ptr = old_ptr; in ta_modify_ifidx()
2953 void *old_ptr; in ta_modify_numarray() local
2958 old_ptr = cfg->main_ptr; in ta_modify_numarray()
2963 mi->main_ptr = old_ptr; in ta_modify_numarray()
/freebsd-12.1/contrib/gcc/
H A Dread-rtl.c754 copy_rtx_ptr_loc (const void *new_ptr, const void *old_ptr) in copy_rtx_ptr_loc() argument
756 const struct ptr_loc *loc = get_rtx_ptr_loc (old_ptr); in copy_rtx_ptr_loc()