/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr_array.c | 53 * If addrp is NULL (*sizep * elsize) bytes are allocated. 54 * elsize is the size (in bytes) of each element, and elproc is the 59 const uint_t elsize, const xdrproc_t elproc) 72 if ((c > maxsize || LASTUNSIGNED / elsize < c) && 76 nodesize = c * elsize; 103 target += elsize; 58 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, const uint_t elsize, const xdrproc_t elproc) argument
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 62 * 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
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | Sys_malloc.c | 118 size_t elsize, 123 _Calloc (nelem, elsize, file, line) 125 size_t elsize; 130 alloc_type ret = calloc(nelem, elsize); 116 _Calloc( size_t nelem, size_t elsize, const char * file, int line ) argument
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | util.c | 81 Xcalloc(size_t nelem, size_t elsize) argument 85 t = calloc(nelem, elsize);
|
/illumos-gate/usr/src/lib/libipmp/common/ |
H A D | ipmp_query.h | 78 #define IPMP_LIST_SIZE(listtype, elsize, nel) \ 79 ((sizeof (ipmp_ ## listtype ## _t) - (elsize)) + ((nel) * (elsize)))
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | lber-int.h | 252 void *nslberi_calloc( size_t nelem, size_t elsize ); 282 #define NSLBERI_CALLOC( nelem, elsize ) nslberi_calloc( nelem, elsize )
|
H A D | io.c | 1315 nslberi_calloc( size_t nelem, size_t elsize ) 1318 calloc( nelem, elsize ) : 1319 nslberi_memalloc_fns.lbermem_calloc( nelem, elsize ));
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | malloc.c | 123 calloc(size_t nelem, size_t elsize) argument 125 size_t size = nelem * elsize; 128 if (nelem > 0 && elsize > 0 && size/nelem != elsize) {
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndrgen.h | 196 extern void * ndr_alloc(size_t nelem, size_t elsize);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 762 ldap_x_calloc( size_t nelem, size_t elsize ) 765 calloc( nelem, elsize ) : 766 nsldapi_memalloc_fns.ldapmem_calloc( nelem, elsize ));
|
H A D | ldap-int.h | 610 #define NSLDAPI_CALLOC( nelem, elsize ) ldap_x_calloc( nelem, elsize )
|
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | lp.h | 524 #define Calloc(nelem,elsize) _Calloc(nelem, elsize, __FILE__, __LINE__)
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_cout.c | 453 arraysize(char *sz, declaration *dc, int elsize) argument 456 int elsz = elsize; 483 * If elsize != 1 the allocate 3 extra bytes for the times 487 len = strlen(dc->array_max) + (elsize == 1 ? 0 : digits + 5) + 1; 495 if (elsize == 1) 500 plus, dc->array_max, elsize);
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_xdr.c | 533 * elsize - size of list element 538 const size_t elsize, const xdrproc_t elproc) 564 list_create(list, elsize, offset); 566 node = MEM_MALLOC("xdr", elsize); 537 smb_list_xdr(XDR *xdrs, list_t *list, const size_t offset, const size_t elsize, const xdrproc_t elproc) argument
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 125 size_t elsize ); 447 void *ldap_x_calloc( size_t nelem, size_t elsize );
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | clientinit.c | 196 ldapssl_calloc( int nelem, size_t elsize ) 200 p = calloc( nelem, elsize );
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | common.c | 80 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 );
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/ |
H A D | montecarlo.c | 332 static void *config_calloc_check(size_t nelem, size_t elsize); 532 size_t elsize) 538 p = calloc(nelem, elsize); 540 log_printf(dgettext(TEXT_DOMAIN, alloc_fail), nelem, elsize, 0); local 530 config_calloc_check( size_t nelem, size_t elsize) argument
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_retire.c | 81 s_calloc(size_t nelem, size_t elsize, int fail) argument 87 return (calloc(nelem, elsize));
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | fncs.c | 959 _Calloc(size_t nelem, size_t elsize, const char *file, int line) argument 961 alloc_type ret = calloc(nelem, elsize);
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 2275 size_t elsize) 2282 p = calloc(nelem, elsize); 2285 nelem, elsize); 2273 config_calloc_check( size_t nelem, size_t elsize) argument
|
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 2653 scsa1394_kmem_realloc(void *old_buf, int old_size, int new_size, size_t elsize, argument 2658 new_buf = kmem_zalloc(new_size * elsize, kf); 2662 bcopy(old_buf, new_buf, old_size * elsize); 2664 kmem_free(old_buf, old_size * elsize);
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 2617 rcmscript_calloc(size_t nelem, size_t elsize) argument 2621 if ((ptr = calloc(nelem, elsize)) == NULL) {
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 1313 size_t elsize, 1318 p = calloc(nelem, elsize); 1311 config_calloc_check( size_t nelem, size_t elsize, char **errstring) argument
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 2634 my_calloc(size_t nelem, size_t elsize, const char *msg) argument 2638 if ((buf = calloc(nelem, elsize)) == NULL) {
|