Searched refs:old_ptr (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 483 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 484 CHECK(old_ptr && new_size); in Reallocate() 485 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 497 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 498 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cpp | 705 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in Reallocate() 706 CHECK(old_ptr && new_size); in Reallocate() 707 uptr p = reinterpret_cast<uptr>(old_ptr); in Reallocate() 719 ReportInvalidFree(old_ptr, chunk_state, stack); in Reallocate() 724 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 725 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp_alloc.cpp | 2158 void *old_ptr; in ___kmp_fast_free() local 2174 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2177 *((void **)tail) = old_ptr; in ___kmp_fast_free() 2180 &q_th->th.th_free_lists[index].th_free_list_sync, old_ptr, head)) { in ___kmp_fast_free() 2182 old_ptr = TCR_PTR(q_th->th.th_free_lists[index].th_free_list_sync); in ___kmp_fast_free() 2183 *((void **)tail) = old_ptr; in ___kmp_fast_free()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | builtins.c | 46 void *old_ptr = __sync_val_compare_and_swap((void**)0, 0, 0); in test9() local
|