Searched refs:nelem (Results 1 – 4 of 4) sorted by relevance
/toolchain/binutils/binutils-2.25/libiberty/ |
D | calloc.c | 23 calloc (size_t nelem, size_t elsize) in calloc() argument 27 if (nelem == 0 || elsize == 0) in calloc() 28 nelem = elsize = 1; in calloc() 30 ptr = malloc (nelem * elsize); in calloc() 31 if (ptr) bzero (ptr, nelem * elsize); in calloc()
|
D | xmalloc.c | 155 xcalloc (size_t nelem, size_t elsize) in xcalloc() argument 159 if (nelem == 0 || elsize == 0) in xcalloc() 160 nelem = elsize = 1; in xcalloc() 162 newmem = calloc (nelem, elsize); in xcalloc() 164 xmalloc_failed (nelem * elsize); in xcalloc()
|
D | functions.texi | 121 @deftypefn Supplemental void* calloc (size_t @var{nelem}, size_t @var{elsize}) 123 Uses @code{malloc} to allocate storage for @var{nelem} objects of 1937 @deftypefn Replacement void* xcalloc (size_t @var{nelem}, size_t @var{elsize})
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | xsym.c | 1669 long lower, upper, nelem; in bfd_sym_print_type_information() local 1676 bfd_sym_fetch_long (buf, len, offset, &offset, &nelem); in bfd_sym_print_type_information() 1679 (unsigned long) nelem); in bfd_sym_print_type_information() 1681 for (i = 0; i < nelem; i++) in bfd_sym_print_type_information()
|