Searched refs:old_size (Results 1 – 2 of 2) 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()
|
/bionic/linker/ |
D | linker_allocator.cpp | 289 size_t old_size = 0; in realloc() local 292 old_size = info->allocated_size - sizeof(page_info); in realloc() 299 old_size = allocator->get_block_size(); in realloc() 302 if (old_size < size) { in realloc() 304 memcpy(result, ptr, old_size); in realloc()
|