| /src/sys/net/route/ |
| H A D | nhop_utils.c | 138 void *old_ptr; in bitmask_swap() local 140 old_ptr = bh->idx; in bitmask_swap() 146 *pidx = old_ptr; in bitmask_swap()
|
| /src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/include/scudo/ |
| H A D | interface.h | 33 __scudo_realloc_allocate_hook(void *old_ptr, void *new_ptr, size_t size); 34 __attribute__((weak)) void __scudo_realloc_deallocate_hook(void *old_ptr);
|
| /src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_c.inc | 30 static void reportReallocAllocation(void *old_ptr, void *new_ptr, size_t size) { 35 __scudo_realloc_allocate_hook(old_ptr, new_ptr, size); 40 static void reportReallocDeallocation(void *old_ptr) { 43 __scudo_realloc_deallocate_hook(old_ptr); 45 __scudo_deallocate_hook(old_ptr);
|
| /src/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | prof_inlines.h | 163 prof_tctx_t *tctx, bool prof_active, const void *old_ptr, size_t old_usize, in prof_realloc() argument 187 moved = (ptr != old_ptr); in prof_realloc()
|
| /src/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 546 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 547 CHECK(old_ptr && new_size); in Reallocate() 548 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 560 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 561 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /src/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cpp | 756 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 757 CHECK(old_ptr && new_size); in Reallocate() 758 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 770 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate() 775 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 776 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /src/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_alloc.cpp | 2226 void *old_ptr; in ___kmp_fast_free() local 2242 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2245 *((void **)tail) = old_ptr; in ___kmp_fast_free() 2248 &q_th->th.th_free_lists[index].th_free_list_sync, old_ptr, head)) { in ___kmp_fast_free() 2250 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2251 *((void **)tail) = old_ptr; in ___kmp_fast_free()
|
| /src/contrib/jemalloc/src/ |
| H A D | jemalloc.c | 3440 irallocx_prof_sample(tsdn_t *tsdn, void *old_ptr, size_t old_usize, in irallocx_prof_sample() argument 3451 p = iralloct(tsdn, old_ptr, old_usize, in irallocx_prof_sample() 3459 p = iralloct(tsdn, old_ptr, old_usize, usize, alignment, zero, in irallocx_prof_sample() 3468 irallocx_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t size, in irallocx_prof() argument 3473 prof_info_get_and_reset_recent(tsd, old_ptr, alloc_ctx, &old_prof_info); in irallocx_prof() 3479 p = irallocx_prof_sample(tsd_tsdn(tsd), old_ptr, old_usize, in irallocx_prof() 3482 p = iralloct(tsd_tsdn(tsd), old_ptr, old_usize, size, alignment, in irallocx_prof() 3490 prof_realloc(tsd, p, size, usize, tctx, prof_active, old_ptr, in irallocx_prof()
|
| /src/sys/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 2492 void *old_ptr; in ta_modify_ifidx() local 2497 old_ptr = icfg->main_ptr; in ta_modify_ifidx() 2502 mi->main_ptr = old_ptr; in ta_modify_ifidx() 2949 void *old_ptr; in ta_modify_numarray() local 2954 old_ptr = cfg->main_ptr; in ta_modify_numarray() 2959 mi->main_ptr = old_ptr; in ta_modify_numarray()
|