Lines Matching refs:n_elements
1076 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1088 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1095 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
3993 size_t n_elements, in ialloc() argument
4020 if (n_elements == 0) in ialloc()
4027 if (n_elements == 0) in ialloc()
4030 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
4036 contents_size = n_elements * element_size; in ialloc()
4041 for (i = 0; i != n_elements; ++i) in ialloc()
4083 if (i != n_elements-1) { in ialloc()
4109 for (i = 0; i != n_elements; ++i) in ialloc()
4355 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument
4358 if (n_elements != 0) { in dlcalloc()
4359 req = n_elements * elem_size; in dlcalloc()
4360 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc()
4361 (req / n_elements != elem_size)) in dlcalloc()
4397 void** dlindependent_calloc(size_t n_elements, size_t elem_size, in dlindependent_calloc() argument
4400 return ialloc(gm, n_elements, &sz, 3, chunks); in dlindependent_calloc()
4403 void** dlindependent_comalloc(size_t n_elements, size_t sizes[], in dlindependent_comalloc() argument
4405 return ialloc(gm, n_elements, sizes, 0, chunks); in dlindependent_comalloc()
4753 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) { in mspace_calloc() argument
4761 if (n_elements != 0) { in mspace_calloc()
4762 req = n_elements * elem_size; in mspace_calloc()
4763 if (((n_elements | elem_size) & ~(size_t)0xffff) && in mspace_calloc()
4764 (req / n_elements != elem_size)) in mspace_calloc()
4806 void** mspace_independent_calloc(mspace msp, size_t n_elements, in mspace_independent_calloc() argument
4814 return ialloc(ms, n_elements, &sz, 3, chunks); in mspace_independent_calloc()
4817 void** mspace_independent_comalloc(mspace msp, size_t n_elements, in mspace_independent_comalloc() argument
4824 return ialloc(ms, n_elements, sizes, 0, chunks); in mspace_independent_comalloc()