Searched defs:elsize (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/libnsl/rpc/
H A Dxdr_array.c62 * If *addrp is NULL (*sizep * elsize) bytes are allocated.
63 * elsize is the size (in bytes) of each element, and elproc is the
68 const uint_t elsize, const xdrproc_t elproc)
80 if ((c > maxsize || LASTUNSIGNED / elsize < c) &&
83 nodesize = c * elsize;
111 target += elsize;
67 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, const uint_t elsize, const xdrproc_t elproc) argument
/osnet-11/usr/src/lib/libumem/common/
H A Dmalloc.c113 calloc(size_t nelem, size_t elsize) argument
115 size_t size = nelem * elsize;
118 if (nelem > 0 && elsize > 0 && size/nelem != elsize) {
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A Dpriority_queue.c52 grub_size_t elsize; member in struct:grub_priority_queue
66 return ((grub_uint8_t *) pq->els) + k * pq->elsize;
76 for (l = pq->elsize; l; l--, p1++, p2++)
119 grub_priority_queue_new (grub_size_t elsize, argument
124 els = grub_malloc (elsize * 8);
133 ret->elsize = elsize;
149 els = grub_realloc (pq->els, pq->elsize * 2 * pq->allocated);
156 grub_memcpy (element (pq, pq->used - 1), el, pq->elsize);
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c81 s_calloc(size_t nelem, size_t elsize, int fail) argument
87 return (calloc(nelem, elsize));
/osnet-11/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1312 size_t elsize,
1317 p = calloc(nelem, elsize);
1310 config_calloc_check( size_t nelem, size_t elsize, char **errstring) argument

Completed in 46 milliseconds