Searched refs:old_size (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/bionic/ |
D | mremap.cpp | 39 void* mremap(void* old_address, size_t old_size, size_t new_size, int flags, ...) { in mremap() argument 56 return __mremap(old_address, old_size, new_size, flags, new_address); in mremap()
|
D | bionic_allocator.cpp | 355 size_t old_size = 0; in realloc() local 358 old_size = info->allocated_size - (static_cast<char*>(ptr) - reinterpret_cast<char*>(info)); in realloc() 365 old_size = allocator->get_block_size(); in realloc() 368 if (old_size < size) { in realloc() 370 memcpy(result, ptr, old_size); in realloc()
|
D | gwp_asan_wrappers.cpp | 149 size_t old_size = GuardedAlloc.getSize(old_mem); in gwp_asan_realloc() local 151 if (new_ptr) memcpy(new_ptr, old_mem, (bytes < old_size) ? bytes : old_size); in gwp_asan_realloc()
|