Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp144 void* mremap(void* old_address, size_t old_size, size_t new_size, int flags, ...) { in mremap() argument
147 size_t rounded = __BIONIC_ALIGN(new_size, page_size()); in mremap()
148 if (rounded < new_size || rounded > PTRDIFF_MAX) { in mremap()
162 return __mremap(old_address, old_size, new_size, flags, new_address); in mremap()
Dmalloc_common.cpp212 size_t new_size; in reallocarray() local
213 if (__builtin_mul_overflow(item_count, item_size, &new_size)) { in reallocarray()
219 return realloc(old_mem, new_size); in reallocarray()
/bionic/libc/stdio/
Dprintf_common.h671 int new_size = *tablesize * 2; in __grow_type_table() local
673 if (new_size < getpagesize()) new_size = getpagesize(); in __grow_type_table()
676 *typetable = static_cast<unsigned char*>(mmap(nullptr, new_size, in __grow_type_table()
682 unsigned char* new_table = static_cast<unsigned char*>(mmap(nullptr, new_size, in __grow_type_table()
690 memset(*typetable + *tablesize, T_UNUSED, (new_size - *tablesize)); in __grow_type_table()
692 *tablesize = new_size; in __grow_type_table()