Home
last modified time | relevance | path

Searched refs:new_ptr (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_dlsym.h66 void *new_ptr = Allocate(new_size); in Realloc() local
67 if (new_ptr) in Realloc()
68 internal_memcpy(new_ptr, ptr, memcpy_size); in Realloc()
70 return new_ptr; in Realloc()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp493 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC); in Reallocate() local
494 if (new_ptr) { in Reallocate()
497 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
500 return new_ptr; in Reallocate()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp715 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true); in Reallocate() local
716 if (new_ptr) { in Reallocate()
724 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
727 return new_ptr; in Reallocate()