Home
last modified time | relevance | path

Searched refs:item_size (Results 1 – 2 of 2) sorted by relevance

/bionic/linker/
Dlinker_memory.cpp75 void* calloc(size_t item_count, size_t item_size) { in calloc() argument
76 return get_allocator().alloc(item_count*item_size); in calloc()
83 void* reallocarray(void* p, size_t item_count, size_t item_size) { in reallocarray() argument
85 if (__builtin_mul_overflow(item_count, item_size, &byte_count)) { in reallocarray()
/bionic/libc/bionic/
Dmalloc_common.cpp196 extern "C" void* reallocarray(void* old_mem, size_t item_count, size_t item_size) { in reallocarray() argument
198 if (__builtin_mul_overflow(item_count, item_size, &new_size)) { in reallocarray()
200 old_mem, item_count, item_size); in reallocarray()