Lines Matching refs:n_elements
1081 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1093 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1100 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
3998 size_t n_elements, in ialloc() argument
4025 if (n_elements == 0) in ialloc()
4032 if (n_elements == 0) in ialloc()
4035 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
4041 contents_size = n_elements * element_size; in ialloc()
4046 for (i = 0; i != n_elements; ++i) in ialloc()
4088 if (i != n_elements-1) { in ialloc()
4114 for (i = 0; i != n_elements; ++i) in ialloc()
4360 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument
4363 if (n_elements != 0) { in dlcalloc()
4364 req = n_elements * elem_size; in dlcalloc()
4365 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc()
4366 (req / n_elements != elem_size)) in dlcalloc()
4402 void** dlindependent_calloc(size_t n_elements, size_t elem_size, in dlindependent_calloc() argument
4405 return ialloc(gm, n_elements, &sz, 3, chunks); in dlindependent_calloc()
4408 void** dlindependent_comalloc(size_t n_elements, size_t sizes[], in dlindependent_comalloc() argument
4410 return ialloc(gm, n_elements, sizes, 0, chunks); in dlindependent_comalloc()
4758 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) { in mspace_calloc() argument
4766 if (n_elements != 0) { in mspace_calloc()
4767 req = n_elements * elem_size; in mspace_calloc()
4768 if (((n_elements | elem_size) & ~(size_t)0xffff) && in mspace_calloc()
4769 (req / n_elements != elem_size)) in mspace_calloc()
4811 void** mspace_independent_calloc(mspace msp, size_t n_elements, in mspace_independent_calloc() argument
4819 return ialloc(ms, n_elements, &sz, 3, chunks); in mspace_independent_calloc()
4822 void** mspace_independent_comalloc(mspace msp, size_t n_elements, in mspace_independent_comalloc() argument
4829 return ialloc(ms, n_elements, sizes, 0, chunks); in mspace_independent_comalloc()