• Home
  • Raw
  • Download

Lines Matching refs:n_elements

1202 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1214 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1221 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
4462 size_t n_elements, in ialloc() argument
4490 if (n_elements == 0) in ialloc()
4497 if (n_elements == 0) in ialloc()
4500 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
4506 contents_size = n_elements * element_size; in ialloc()
4511 for (i = 0; i != n_elements; ++i) in ialloc()
4553 if (i != n_elements-1) { in ialloc()
4579 for (i = 0; i != n_elements; ++i) in ialloc()
4838 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument
4841 if (n_elements != 0) { in dlcalloc()
4842 req = n_elements * elem_size; in dlcalloc()
4843 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc()
4844 (req / n_elements != elem_size)) in dlcalloc()
4880 void** dlindependent_calloc(size_t n_elements, size_t elem_size, in dlindependent_calloc() argument
4883 return ialloc(gm, n_elements, &sz, 3, chunks); in dlindependent_calloc()
4886 void** dlindependent_comalloc(size_t n_elements, size_t sizes[], in dlindependent_comalloc() argument
4888 return ialloc(gm, n_elements, sizes, 0, chunks); in dlindependent_comalloc()
5265 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) { in mspace_calloc() argument
5273 if (n_elements != 0) { in mspace_calloc()
5274 req = n_elements * elem_size; in mspace_calloc()
5275 if (((n_elements | elem_size) & ~(size_t)0xffff) && in mspace_calloc()
5276 (req / n_elements != elem_size)) in mspace_calloc()
5318 void** mspace_independent_calloc(mspace msp, size_t n_elements, in mspace_independent_calloc() argument
5326 return ialloc(ms, n_elements, &sz, 3, chunks); in mspace_independent_calloc()
5329 void** mspace_independent_comalloc(mspace msp, size_t n_elements, in mspace_independent_comalloc() argument
5336 return ialloc(ms, n_elements, sizes, 0, chunks); in mspace_independent_comalloc()