Searched refs:malloc (Results 1301 - 1325 of 2509) sorted by relevance
<<51525354555657585960>>
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 482 chksumbuf = (char *)malloc(buflen); 698 msg_fail = (char *)malloc(msgsize); 768 data = malloc(datalen); 774 "malloc error (%d bytes)", 906 buf = malloc(len); 951 if (!(rlbuf = malloc(BUFSIZ))) { 952 syslog(LOG_ERR, "rlbuf malloc failed\n"); 1281 ivec.data = (char *)malloc(blocksize);
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 279 char **argv = malloc(sizeof (char *) * (strlen(s) / 2 + 1)); 316 if ((buf = malloc((sz = sbuf.st_size) + 1)) == NULL) 392 if ((buf = malloc((sz = sbuf.st_size) + 1)) == NULL) 1180 if ((g_argv = malloc(sizeof (char *) * argc)) == NULL || 1181 (g_cmdv = malloc(sizeof (dtrace_cmd_t) * argc)) == NULL || 1182 (g_psv = malloc(sizeof (struct ps_prochandle *) * argc)) == NULL)
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_svc_com.c | 168 rbl = malloc(sizeof (RPCBLIST)); 560 rmt = malloc(sizeof (struct rmtcallfd_list)); 997 outbuf_alloc = malloc(sendsz); 1250 fi = malloc(sizeof (*fi)); 1366 np = malloc(sizeof (struct netbuf) + ap->len); 1625 pml = (pmaplist *) malloc((uint_t)sizeof (pmaplist));
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 646 protobp0 = protobp = (struct protob *)malloc(sizeof (struct protob)); 836 malloc(poll_array_size * sizeof (struct pollfd) + 256); 838 malloc(poll_array_size * sizeof (struct conn_entry) + 256); 841 syslog(LOG_ERR, "malloc failed for poll array"); 970 conn = (struct conn_ind *)malloc(sizeof (*conn)); 972 syslog(LOG_ERR, "malloc for listen indication failed"); 1549 buf = (char *)malloc(uderr->addr.len * 2 + 1); 1866 mask->buf = (char *)malloc(mask->len);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 48 #include <malloc.h> 786 malloc(poll_array_size * sizeof (struct pollfd) + 256); 788 malloc(poll_array_size * sizeof (struct conn_entry) + 256); 791 syslog(LOG_ERR, "malloc failed for poll array"); 1100 buf = (char *)malloc(uderr->addr.len * 2 + 1); 1219 conn = (struct conn_ind *)malloc(sizeof (*conn)); 1221 syslog(LOG_ERR, "malloc for listen indication failed"); 1738 mask->buf = (char *)malloc(mask->len);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_realm.c | 95 out = (char *)malloc((len + (count * 2) + 1) * sizeof (char)); 1005 dn = malloc(strlen("cn=") + strlen(realm_name) + strlen(ldap_context->krbcontainer->DN) + 2); 1232 rlparams =(krb5_ldap_realm_params *) malloc(sizeof(krb5_ldap_realm_params)); 1237 rlparams->tl_data = malloc (sizeof(krb5_tl_data)); 1253 rlparams->realmdn = (char *) malloc(strlen("cn=") + strlen(lrealm) + strlen(krbcontDN) + 2); 1288 rlparams->subtree = (char **) malloc(sizeof(char *) * (rlparams->subtreecount + 1));
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_clnt.c | 201 return_pa_data = (krb5_pa_data **) malloc(3 * sizeof(krb5_pa_data *)); 208 return_pa_data[0] = (krb5_pa_data *) malloc(sizeof(krb5_pa_data)); 212 return_pa_data[1] = (krb5_pa_data *) malloc(sizeof(krb5_pa_data)); 1248 reqctx = (struct _pkinit_req_context *) malloc(sizeof(*reqctx)); 1419 out = malloc(2 * sizeof(char *)); 1432 out = malloc( (i + 2) * sizeof(char *));
|
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | getpwnam.c | 80 buffer = be->buffer = malloc(buflen); 342 if ((searchfilter = (char *)malloc(filterlen)) == NULL)
|
/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | dhkeys.c | 93 * Returns 0 on malloc failure, else 1. 116 if ((skey = malloc(skeylen)) == NULL) { 228 if ((scratch = malloc(scratchlen)) == NULL)
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaMechManager.c | 355 tmp_slot_mechlist = malloc( 374 slot_mechlist = malloc(slot_mechlistsize * sizeof (CK_MECHANISM_TYPE));
|
H A D | pkcs11Conf.c | 309 if ((fullpath = (char *)malloc(len)) == NULL) { 764 tmp_list = malloc(mech_count * sizeof (CK_MECHANISM_TYPE));
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSessionUtil.c | 571 ret_val = (CK_BYTE_PTR) malloc(sizeof (MD5_CTX)); 574 ret_val = (CK_BYTE_PTR) malloc(sizeof (SHA1_CTX));
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | obj_mgr.c | 509 map_node = (OBJECT_MAP *)malloc(sizeof (OBJECT_MAP)); 1163 sess->find_list = (CK_OBJECT_HANDLE *)malloc( 2023 new_obj = (OBJECT *)malloc(sizeof (OBJECT)); 2029 new_node = (DL_NODE *)malloc(sizeof (DL_NODE)); 2048 new_obj = (OBJECT *)malloc(sizeof (OBJECT)); 2131 new_obj = (OBJECT *)malloc(sizeof (OBJECT)); 2137 new_node = (DL_NODE *)malloc(sizeof (DL_NODE)); 2156 new_obj = (OBJECT *)malloc(sizeof (OBJECT));
|
/illumos-gate/usr/src/lib/sasl_plugins/plain/ |
H A D | plain.c | 169 passcopy = params->utils->malloc(password_len + 1); 289 text = params->utils->malloc(sizeof(client_context_t));
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 66 if ((acl = malloc(size)) == NULL) 511 if ((acl->acl_aclp = malloc(acl->acl_entry_size * acenum)) == NULL)
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gc_via_tkt.c | 45 if ((*ppcreds = (krb5_creds *)malloc(sizeof(krb5_creds))) == NULL) { 221 enctypes = (krb5_enctype *) malloc(sizeof(krb5_enctype)*2);
|
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 218 if ((pathname = malloc(PATH_MAX)) == NULL) { 219 PERROR("malloc failed"); 353 handle = (rmedia_handle_t *)malloc(sizeof (rmedia_handle_t));
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 311 if ((sp = malloc(nbytes)) == NULL) 323 if ((sp32 = malloc(nbytes)) == NULL || pread64(fd,
|
/illumos-gate/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 138 dt_dprintf("mr sparkle: malloc() failed\n"); 285 if ((text = malloc(symp->st_size)) == NULL) { 286 dt_dprintf("mr sparkle: malloc() failed\n"); 364 if ((text = malloc(symp->st_size)) == NULL) { 365 dt_dprintf("mr sparkle: malloc() failed\n");
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | nfs_mntinfo.c | 324 if ((mrp = malloc(sizeof (nfs_mntlist_t))) == 0) { 355 malloc(strlen(rep_list[i].host) + strlen(":") +
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_menu.c | 229 if ((lp->gl_cmd = malloc(n + 1)) == NULL) 238 if ((lp->gl_sep = malloc(n + 1)) == NULL)
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 119 mem = (HashMemory *) malloc(sizeof(HashMemory)); 260 hash->bucket = (HashBucket *) malloc(sizeof(HashBucket) * size);
|
H A D | keytab.c | 94 kt = (KeyTab *) malloc(sizeof(KeyTab)); 119 kt->table = (KeySym *) malloc(sizeof(kt->table[0]) * kt->size);
|
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 187 item = (struct use_item *) malloc(sizeof(struct use_item)); 416 if ((string_table = malloc(1024)) == NULL)
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | callers.c | 130 pbuf = malloc(2*(MAXPH+2)); 418 info = malloc(MAXLINE); 420 DEBUG(1, "malloc failed for info in gdial\n", 0);
|
Completed in 252 milliseconds
<<51525354555657585960>>