Searched refs:malloc (Results 876 - 900 of 2509) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dprinc_xdr.c226 if ((princ_entry = (osa_princ_ent_t) malloc(sizeof(osa_princ_ent_rec))) == NULL)
259 if ((tmpbuf = (char *) malloc(new_tl_data->tl_data_length)) == NULL)
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_profile.c164 *ret_value = malloc(strlen(values[0]) + 1);
328 *ret_value = malloc(strlen(values[0]) + 1);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpoll.c47 if(!(status = (int*)malloc(2*n*sizeof(int))) )
109 if(!(fds = (struct pollfd*)malloc(m*sizeof(struct pollfd))) )
H A Dsfpopen.c69 if(!(cmd = (char*)malloc(strlen(argcmd)+1)) )
72 if(!(argv = (char**)malloc(16*sizeof(char*))) )
/illumos-gate/usr/src/cmd/logger/
H A Dlogger.c204 if ((buf = malloc(len + 1)) == NULL) {
225 if ((buf = malloc(LOGGER_BUFLEN)) == NULL) {
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dreport.cc275 newiflag = (char *)malloc(strlen(iflag) + strlen(curdir) + 2);
319 target_being_reported_for= (char *)malloc((unsigned)(strlen(p+1)+1));
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_pipesvc.c93 np = malloc(len);
300 buf = malloc(phdr.ph_uilen);
H A Dsmbd_vss.c167 vss_uint64_date.gd_gmt_array = malloc(count * sizeof (uint64_t));
203 *gmttokenp = malloc(SMB_VSS_GMT_SIZE);
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnetgroup.c291 entry = malloc(sizeof (*entry));
304 entry->cache_grl = malloc(grc * sizeof (char *));
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_sid.c380 if ((sid = malloc(size)) == NULL)
444 sid = malloc(size);
/illumos-gate/usr/src/cmd/man/
H A Dman.c60 #include <malloc.h>
510 if ((manp->path = (char *)malloc(i + 1)) == NULL)
511 err(1, "malloc");
584 if ((manp->secv = malloc(maxentries * sizeof (char *))) == NULL)
585 err(1, "malloc");
661 if ((*dirv = malloc(sizeof (char *) *
663 err(1, "malloc");
784 if ((tokv = vp = malloc(maxentries * sizeof (char *))) == NULL)
785 err(1, "malloc");
797 if ((*vp = (char *)malloc(sizeo
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dpowertop.c198 if ((g_argv = malloc(sizeof (char *))) == NULL)
201 if ((*g_argv = malloc(sizeof (char) * 5)) == NULL)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetenv.c199 * we are obliged to release this lock whenever we call malloc() or free().
270 * comment above concerning locking and malloc() etc.
279 new_chunk = malloc(sizeof (chunk_t) +
376 new_chunk = malloc(sizeof (chunk_t) + name_len + val_len + 2);
/illumos-gate/usr/src/boot/lib/libz/
H A Dzutil.c196 /* Turbo C malloc() does not allow dynamic allocation of 64K bytes
299 extern voidp malloc OF((uInt size));
310 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
H A Dzutil.h95 # include <malloc.h>
117 # include <malloc.h>
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dfiles_common.c164 if ((be->buf = malloc(be->minbuf)) == 0)
232 (be->buf = malloc(be->minbuf)) == 0)
484 if ((fhp->fh_file_start = malloc((ssize_t)st.st_size + 1)) == NULL)
536 fhp->fh_line = malloc(line * sizeof (files_linetab_t));
652 if ((be = (files_backend_ptr_t)malloc(sizeof (*be))) == 0) {
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c151 if ((auth = (AUTH *) malloc(sizeof (*auth))) != NULL)
152 ap = (rpc_gss_data *) malloc(sizeof (*ap));
608 ap->verifier = malloc(sizeof (struct opaque_auth));
611 ap->verifier->oa_base = malloc(verf->oa_length);
616 ap->verifier->oa_base = malloc(verf->oa_length);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_tree.c82 char *p = malloc(sz);
97 new = malloc(sizeof(struct profile_node));
425 if ((iter = malloc(sizeof(struct profile_iterator))) == NULL)
650 cp = malloc(strlen(new_value)+1);
679 new_string = malloc(strlen(new_name)+1);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c289 resp = malloc(NS_MAXMSG);
416 resp = malloc(NS_MAXMSG);
446 resp = malloc(NS_MAXMSG);
540 nsrr = malloc(sizeof *nsrr);
542 DPRINTF(("save_ns: malloc failed"));
601 arr = malloc(sizeof *arr);
603 DPRINTF(("save_a: malloc failed"));
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Drcfile.c107 rcp = malloc(sizeof (struct rcfile));
166 rcp = malloc(sizeof (struct rcfile));
238 p = malloc(sizeof (*p));
287 p = malloc(sizeof (*p));
679 fn = malloc(len);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_prop_decode.c32 * (1) Replace kmem_alloc by malloc. Remove negative indexing
154 if ((intp = malloc(cnt * sizeof (int))) == NULL) {
233 if ((strs = malloc(nbytes)) == NULL) {
301 if ((tmp = malloc(nbytes)) == NULL) {
991 slot_names = malloc(sizeof (*slot_names) * maxcount);
1007 malloc(sizeof (char) * (len + 1));
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_funcs.c130 if ((temp = malloc(sizeof (StaticProp))) == NULL) {
131 perror("malloc");
160 if ((new = malloc(sizeof (Prop))) == NULL) {
161 perror("malloc");
173 malloc(new->name.opp.oprom_size)) == NULL) {
174 perror("malloc");
200 malloc(new->value.opp.oprom_size))
202 perror("malloc");
381 if ((bnode = (Board_node *) malloc(sizeof (Board_node))) == NULL) {
382 perror("malloc");
[all...]
/illumos-gate/usr/src/lib/libgss/
H A Dg_initialize.c276 malloc(mList->mech_type->length);
309 (gss_OID_set) malloc(sizeof (gss_OID_set_desc))) == NULL)
341 (void *) malloc(g_mechSet.elements[i].length);
646 mech_ext = (gss_mechanism_ext)malloc(sizeof (struct gss_config_ext));
896 aMech = malloc(sizeof (struct gss_mech_config));
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpicllibdevinfo.c153 port_info = (port_info_t **)malloc(
198 cachep = (frutree_cache_t *)malloc(sizeof (frutree_cache_t));
362 port_info = malloc(sizeof (port_info_t));
624 devinfo = (frutree_devinfo_t *)malloc(sizeof (frutree_devinfo_t));
752 devinfo = (frutree_devinfo_t *)malloc(sizeof (frutree_devinfo_t));
H A Dpiclscsi.c162 temp = (cfga_list_data_t *)malloc(sizeof (cfga_list_data_t));
168 nodeptr = (node_t *)malloc(sizeof (node_t));
205 scsi_list = (plist_t *)malloc(sizeof (plist_t));
400 *bus_addr = (char *)malloc(strlen(addr)+1);
814 scsi_data = (scsi_info_t *)malloc(sizeof (scsi_info_t));

Completed in 187 milliseconds

<<31323334353637383940>>