Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_memory.cpp83 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/
Dmalloc_common.cpp211 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()