/titanic_44/usr/src/uts/common/rpc/ |
H A D | xdr_array.c | 59 const uint_t elsize, const xdrproc_t elproc) in xdr_array() argument 72 if ((c > maxsize || LASTUNSIGNED / elsize < c) && in xdr_array() 76 nodesize = c * elsize; in xdr_array() 103 target += elsize; in xdr_array()
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 66 const uint_t elsize, const xdrproc_t elproc) in xdr_array() argument 78 if ((c > maxsize || LASTUNSIGNED / elsize < c) && in xdr_array() 81 nodesize = c * elsize; in xdr_array() 109 target += elsize; in xdr_array()
|
/titanic_44/usr/src/cmd/lp/lib/lp/ |
H A D | Sys_malloc.c | 118 size_t elsize, in _Calloc() argument 123 _Calloc (nelem, elsize, file, line) in _Calloc() 125 size_t elsize; 130 alloc_type ret = calloc(nelem, elsize);
|
/titanic_44/usr/src/lib/libipmp/common/ |
H A D | ipmp_query.h | 78 #define IPMP_LIST_SIZE(listtype, elsize, nel) \ argument 79 ((sizeof (ipmp_ ## listtype ## _t) - (elsize)) + ((nel) * (elsize)))
|
/titanic_44/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 ) argument
|
H A D | io.c | 1315 nslberi_calloc( size_t nelem, size_t elsize ) in nslberi_calloc() argument 1318 calloc( nelem, elsize ) : in nslberi_calloc() 1319 nslberi_memalloc_fns.lbermem_calloc( nelem, elsize )); in nslberi_calloc()
|
/titanic_44/usr/src/lib/libumem/common/ |
H A D | malloc.c | 123 calloc(size_t nelem, size_t elsize) in calloc() argument 125 size_t size = nelem * elsize; in calloc() 128 if (nelem > 0 && elsize > 0 && size/nelem != elsize) { in calloc()
|
/titanic_44/usr/src/cmd/msgfmt/ |
H A D | util.c | 81 Xcalloc(size_t nelem, size_t elsize) in Xcalloc() argument 85 t = calloc(nelem, elsize); in Xcalloc()
|
/titanic_44/usr/src/cmd/rpcgen/ |
H A D | rpc_cout.c | 453 arraysize(char *sz, declaration *dc, int elsize) in arraysize() argument 456 int elsz = elsize; in arraysize() 487 len = strlen(dc->array_max) + (elsize == 1 ? 0 : digits + 5) + 1; in arraysize() 495 if (elsize == 1) in arraysize() 500 plus, dc->array_max, elsize); in arraysize()
|
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 762 ldap_x_calloc( size_t nelem, size_t elsize ) in ldap_x_calloc() argument 765 calloc( nelem, elsize ) : in ldap_x_calloc() 766 nsldapi_memalloc_fns.ldapmem_calloc( nelem, elsize )); in ldap_x_calloc()
|
H A D | ldap-int.h | 610 #define NSLDAPI_CALLOC( nelem, elsize ) ldap_x_calloc( nelem, elsize ) argument
|
/titanic_44/usr/src/cmd/lp/include/ |
H A D | lp.h | 524 #define Calloc(nelem,elsize) _Calloc(nelem, elsize, __FILE__, __LINE__) argument
|
/titanic_44/usr/src/tools/ndrgen/ |
H A D | ndr_lex.c | 445 ndr_alloc(size_t nelem, size_t elsize) in ndr_alloc() argument 449 if ((p = calloc(nelem, elsize)) == NULL) { in ndr_alloc()
|
H A D | ndrgen.h | 196 extern void * ndr_alloc(size_t nelem, size_t elsize);
|
/titanic_44/usr/src/common/smbsrv/ |
H A D | smb_xdr.c | 534 const size_t elsize, const xdrproc_t elproc) in smb_list_xdr() argument 560 list_create(list, elsize, offset); in smb_list_xdr() 562 node = MEM_MALLOC("xdr", elsize); in smb_list_xdr()
|
/titanic_44/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | clientinit.c | 196 ldapssl_calloc( int nelem, size_t elsize ) in ldapssl_calloc() argument 200 p = calloc( nelem, elsize ); in ldapssl_calloc()
|
/titanic_44/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 );
|
/titanic_44/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 ) argument 2073 ldaptool_progname, nelem, elsize ); 2076 if (( p = ldaptool_debug_alloc( NULL, nelem * elsize )) != NULL ) { 2077 memset( p, 0, nelem * elsize );
|
/titanic_44/usr/src/cmd/lp/cmd/lpsched/ |
H A D | fncs.c | 959 _Calloc(size_t nelem, size_t elsize, const char *file, int line) in _Calloc() argument 961 alloc_type ret = calloc(nelem, elsize); in _Calloc()
|
/titanic_44/usr/src/lib/libdevinfo/ |
H A D | devinfo_retire.c | 81 s_calloc(size_t nelem, size_t elsize, int fail) in s_calloc() argument 87 return (calloc(nelem, elsize)); in s_calloc()
|
/titanic_44/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) in config_calloc_check() argument 538 p = calloc(nelem, elsize); in config_calloc_check() 540 log_printf(dgettext(TEXT_DOMAIN, alloc_fail), nelem, elsize, 0); in config_calloc_check()
|
/titanic_44/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 2275 size_t elsize) in config_calloc_check() argument 2282 p = calloc(nelem, elsize); in config_calloc_check() 2285 nelem, elsize); in config_calloc_check()
|
/titanic_44/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, in scsa1394_kmem_realloc() argument 2658 new_buf = kmem_zalloc(new_size * elsize, kf); in scsa1394_kmem_realloc() 2662 bcopy(old_buf, new_buf, old_size * elsize); in scsa1394_kmem_realloc() 2664 kmem_free(old_buf, old_size * elsize); in scsa1394_kmem_realloc()
|
/titanic_44/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 2617 rcmscript_calloc(size_t nelem, size_t elsize) in rcmscript_calloc() argument 2621 if ((ptr = calloc(nelem, elsize)) == NULL) { in rcmscript_calloc()
|
/titanic_44/usr/src/cmd/truss/ |
H A D | main.c | 2633 my_calloc(size_t nelem, size_t elsize, const char *msg) in my_calloc() argument 2637 if ((buf = calloc(nelem, elsize)) == NULL) { in my_calloc()
|