Searched refs:new_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 41 size_t rounded = __BIONIC_ALIGN(new_size, PAGE_SIZE); in mremap() 42 if (rounded < new_size || rounded > PTRDIFF_MAX) { in mremap() 56 return __mremap(old_address, old_size, new_size, flags, new_address); in mremap()
|
D | malloc_common.cpp | 197 size_t new_size; in reallocarray() local 198 if (__builtin_mul_overflow(item_count, item_size, &new_size)) { in reallocarray() 204 return realloc(old_mem, new_size); in reallocarray()
|
/bionic/libc/stdio/ |
D | printf_common.h | 646 int new_size = *tablesize * 2; in __grow_type_table() local 648 if (new_size < getpagesize()) new_size = getpagesize(); in __grow_type_table() 651 *typetable = static_cast<unsigned char*>(mmap(nullptr, new_size, in __grow_type_table() 657 unsigned char* new_table = static_cast<unsigned char*>(mmap(nullptr, new_size, in __grow_type_table() 665 memset(*typetable + *tablesize, T_UNUSED, (new_size - *tablesize)); in __grow_type_table() 667 *tablesize = new_size; in __grow_type_table()
|