Searched refs:elsize (Results 1 - 15 of 15) 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/grub/grub2/include/grub/
H A Dpriority_queue.h29 grub_priority_queue_t grub_priority_queue_new (grub_size_t 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/libipmp/common/
H A Dipmp_query.h78 #define IPMP_LIST_SIZE(listtype, elsize, nel) \
79 ((sizeof (ipmp_ ## listtype ## _t) - (elsize)) + ((nel) * (elsize)))
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/
H A Dlber-int.h252 void *nslberi_calloc( size_t nelem, size_t elsize );
282 #define NSLBERI_CALLOC( nelem, elsize ) nslberi_calloc( nelem, elsize )
H A Dio.c1315 nslberi_calloc( size_t nelem, size_t elsize )
1318 calloc( nelem, elsize ) :
1319 nslberi_memalloc_fns.lbermem_calloc( nelem, elsize ));
/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/lib/libldap5/sources/ldap/common/
H A Dopen.c779 ldap_x_calloc( size_t nelem, size_t elsize )
782 calloc( nelem, elsize ) :
783 nsldapi_memalloc_fns.ldapmem_calloc( nelem, elsize ));
H A Dldap-int.h607 #define NSLDAPI_CALLOC( nelem, elsize ) ldap_x_calloc( nelem, elsize )
/osnet-11/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h125 size_t elsize );
447 void *ldap_x_calloc( size_t nelem, size_t elsize );
/osnet-11/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dclientinit.c205 ldapssl_calloc( int nelem, size_t elsize )
209 p = calloc( nelem, elsize );
/osnet-11/usr/src/cmd/ldap/common/
H A Dcommon.c80 static void *ldaptool_debug_calloc( size_t nelem, size_t elsize );
2067 ldaptool_debug_calloc( size_t nelem, size_t elsize )
2073 ldaptool_progname, nelem, elsize );
2076 if (( p = ldaptool_debug_alloc( NULL, nelem * elsize )) != NULL ) {
2077 memset( p, 0, nelem * 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
/osnet-11/usr/src/lib/libnsl/common/
H A Dllib-lnsl807 uint_t elsize, xdrproc_t elproc);

Completed in 67 milliseconds