Home
last modified time | relevance | path

Searched refs:elsize (Results 1 – 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/gcclibs/libiberty/
HDcalloc.c23 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()
HDxmalloc.c155 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()
HDfunctions.texi141 @deftypefn Supplemental void* calloc (size_t @var{nelem}, size_t @var{elsize})
144 @var{elsize} bytes each, then zeros the memory.
1447 @deftypefn Replacement void* xcalloc (size_t @var{nelem}, size_t @var{elsize})
/freebsd-11-stable/contrib/binutils/libiberty/
HDcalloc.c23 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()
HDxmalloc.c155 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()
HDfunctions.texi141 @deftypefn Supplemental void* calloc (size_t @var{nelem}, size_t @var{elsize})
144 @var{elsize} bytes each, then zeros the memory.
1485 @deftypefn Replacement void* xcalloc (size_t @var{nelem}, size_t @var{elsize})
/freebsd-11-stable/contrib/tzcode/zic/
HDialloc.c31 icalloc(nelem, elsize) in icalloc() argument
33 int elsize;
35 if (nelem == 0 || elsize == 0)
36 nelem = elsize = 1;
37 return calloc((size_t) nelem, (size_t) elsize);
HDprivate.h152 char * icalloc (int nelem, int elsize);
/freebsd-11-stable/lib/libc/xdr/
HDxdr_array.c67 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) in xdr_array() argument
88 if ((c > maxsize || UINT_MAX/elsize < c) && in xdr_array()
92 nodesize = c * elsize; in xdr_array()
123 target += elsize; in xdr_array()
/freebsd-11-stable/sys/xdr/
HDxdr_array.c68 u_int elsize, /* size in bytes of each element */ in xdr_array() argument
82 if ((c > maxsize || UINT_MAX/elsize < c) && in xdr_array()
86 nodesize = c * elsize; in xdr_array()
117 target += elsize; in xdr_array()
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
HDkmp_stub.cpp174 void *kmp_calloc(size_t nelem, size_t elsize) { in kmp_calloc() argument
178 res = _aligned_recalloc(NULL, nelem, elsize, 1); in kmp_calloc()
180 res = calloc(nelem, elsize); in kmp_calloc()
HDkmp_alloc.cpp1131 void *kmpc_calloc(size_t nelem, size_t elsize) { in kmpc_calloc() argument
1133 ptr = bgetz(__kmp_entry_thread(), (bufsize)(nelem * elsize + sizeof(ptr))); in kmpc_calloc()
1195 size_t elsize KMP_SRC_LOC_DECL) { in ___kmp_thread_calloc()
1198 (int)nelem, (int)elsize KMP_SRC_LOC_PARM)); in ___kmp_thread_calloc()
1199 ptr = bgetz(th, (bufsize)(nelem * elsize)); in ___kmp_thread_calloc()
HDkmp_ftn_entry.h1242 void *FTN_STDCALL FTN_CALLOC(size_t KMP_DEREF nelem, size_t KMP_DEREF elsize) { in FTN_CALLOC() argument
1244 return kmpc_calloc(KMP_DEREF nelem, KMP_DEREF elsize); in FTN_CALLOC()
HDkmp.h3190 size_t elsize KMP_SRC_LOC_DECL);
3196 #define __kmp_thread_calloc(th, nelem, elsize) \ argument
3197 ___kmp_thread_calloc((th), (nelem), (elsize)KMP_SRC_LOC_CURR)
3441 KMP_EXPORT void *kmpc_calloc(size_t nelem, size_t elsize);
/freebsd-11-stable/contrib/file/src/
HDreadelf.c1004 size_t elsize = xauxv_sizeof; in do_auxv_note() local
1035 for (size_t off = 0; off + elsize <= descsz; off += elsize) { in do_auxv_note()
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/include/
HDomp_lib.f90.var630 function kmp_calloc(nelem, elsize) bind(c)
634 integer (kind=kmp_size_t_kind), value :: elsize
HDomp_lib.h.var706 function kmp_calloc(nelem, elsize) bind(c)
710 integer (kind=kmp_size_t_kind), value :: elsize
HDomp_lib.f.var614 function kmp_calloc(nelem, elsize)
618 integer (kind=kmp_size_t_kind) elsize
/freebsd-11-stable/contrib/gcc/
HDgcse.c887 gcalloc (size_t nelem, size_t elsize) in gcalloc() argument
889 bytes_used += nelem * elsize; in gcalloc()
890 return xcalloc (nelem, elsize); in gcalloc()
/freebsd-11-stable/contrib/binutils/gas/config/
HDtc-arm.c1391 parse_scalar (char **ccp, int elsize, struct neon_type_el *type) in parse_scalar() argument
1407 else if (atype.index >= 64 / elsize) in parse_scalar()
12261 neon_scalar_for_mul (unsigned scalar, unsigned elsize) in neon_scalar_for_mul() argument
12266 switch (elsize) in neon_scalar_for_mul()
13047 unsigned elsize = (op == 2) ? 16 : (op == 1) ? 32 : (op == 0) ? 64 : 0; in do_neon_rev() local
13048 assert (elsize != 0); in do_neon_rev()
13049 constraint (et.size >= elsize, in do_neon_rev()