Searched refs:n_elements (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/upstream-dlmalloc/ |
H A D | malloc.h | 126 calloc(size_t n_elements, size_t element_size); 127 Returns a pointer to n_elements * element_size bytes, with all locations 333 independent_calloc(size_t n_elements, size_t element_size, void* chunks[]); 336 single cleared space, it returns an array of pointers to n_elements 348 n_elements in length. It is filled in with the pointers to the 352 null if the allocation failed. If n_elements is zero and "chunks" 384 independent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]); 386 independent_comalloc allocates, all at once, a set of n_elements 397 must be of at least n_elements in length. It is filled in with the 401 null if the allocation failed. If n_elements i [all...] |
H A D | malloc.c | 866 calloc(size_t n_elements, size_t element_size); 867 Returns a pointer to n_elements * element_size bytes, with all locations 1076 independent_calloc(size_t n_elements, size_t element_size, void* chunks[]); 1079 single cleared space, it returns an array of pointers to n_elements 1091 n_elements in length. It is filled in with the pointers to the 1095 null if the allocation failed. If n_elements is zero and "chunks" 1127 independent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]); 1129 independent_comalloc allocates, all at once, a set of n_elements 1140 must be of at least n_elements in length. It is filled in with the 1144 null if the allocation failed. If n_elements i 4813 dlcalloc(size_t n_elements, size_t elem_size) argument 4993 ialloc(mstate m, size_t n_elements, size_t* sizes, int opts, void* chunks[]) argument 5327 dlindependent_calloc(size_t n_elements, size_t elem_size, void* chunks[]) argument 5333 dlindependent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]) argument 5739 mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) argument 5847 mspace_independent_calloc(mspace msp, size_t n_elements, size_t elem_size, void* chunks[]) argument 5858 mspace_independent_comalloc(mspace msp, size_t n_elements, size_t sizes[], void* chunks[]) argument [all...] |
/bionic/libc/bionic/ |
H A D | malloc_debug_qemu.cpp | 583 void* qemu_instrumented_calloc(size_t n_elements, size_t elem_size); 758 void* qemu_instrumented_calloc(size_t n_elements, size_t elem_size) { argument 759 if (n_elements == 0 || elem_size == 0) { 768 if (n_elements && MAX_SIZE_T / n_elements < elem_size) { 792 desc.requested_bytes = n_elements * elem_size; 804 malloc_pid, getpid(), n_elements, total_elements, elem_size, 811 malloc_pid, getpid(), n_elements, total_elements, elem_size); 819 malloc_pid, getpid(), n_elements, total_elements, elem_size);
|
H A D | malloc_debug_leak.cpp | 212 extern "C" void* fill_calloc(size_t n_elements, size_t elem_size) { argument 213 return dlcalloc(n_elements, elem_size); 324 extern "C" void* leak_calloc(size_t n_elements, size_t elem_size) { argument 327 if (n_elements && MAX_SIZE_T / n_elements < elem_size) { 330 size_t size = n_elements * elem_size;
|
H A D | malloc_debug_common.cpp | 230 extern "C" void* calloc(size_t n_elements, size_t elem_size) { argument 231 return __libc_malloc_dispatch->calloc(n_elements, elem_size);
|
Completed in 121 milliseconds