Searched refs:item_size (Results 1 – 2 of 2) sorted by relevance
/bionic/linker/ |
D | linker_memory.cpp | 83 void* calloc(size_t item_count, size_t item_size) { in calloc() argument 84 return get_allocator().alloc(item_count*item_size); in calloc() 91 void* reallocarray(void* p, size_t item_count, size_t item_size) { in reallocarray() argument 93 if (__builtin_mul_overflow(item_count, item_size, &byte_count)) { in reallocarray()
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 211 extern "C" void* reallocarray(void* old_mem, size_t item_count, size_t item_size) { in reallocarray() argument 213 if (__builtin_mul_overflow(item_count, item_size, &new_size)) { in reallocarray() 215 old_mem, item_count, item_size); in reallocarray()
|