/illumos-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | tpcom.c | 153 _pep = malloc(sizeof (pe_args)); in process_elf() 155 _pep->pe_file = malloc(strlen(pep->pe_file) + in process_elf() 242 pep = malloc(sizeof (pe_args)); in main()
|
/illumos-gate/usr/src/cmd/man/ |
H A D | stringlist.c | 47 if ((sl = malloc(sizeof (stringlist))) == NULL) in sl_init() 52 sl->sl_str = malloc(sl->sl_max * sizeof (char *)); in sl_init()
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | setbuffer.c | 69 } else if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) != in setbuffer() 98 buf = (char *)malloc(128); in setlinebuf()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | link_addr.c | 52 ((buf = malloc(3 * size)) == NULL)) in _link_ntoa() 107 if ((netaddr = malloc(numcolons + 1)) == NULL) { in _link_aton()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _findbuf.c | 78 } else if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) != in _findbuf() 99 if ((buf = (Uchar *)malloc(sizeof (Uchar)*(size+_SMBFSZ))) != in _findbuf()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | newkey.c | 66 (((keys = (_KEY_MAP **) malloc(sizeof (_KEY_MAP *) * in newkey() 73 if ((key_info = (_KEY_MAP *) malloc(sizeof (_KEY_MAP) + len)) == in newkey()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test_subr.c | 43 (struct mtest_alloc_ent *)malloc(sizeof (struct mtest_alloc_ent)); in mtest_allocate_buf() 47 new_ent->buf = malloc(size); in mtest_allocate_buf()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | add_recip.c | 81 if ((p = malloc (sizeof(struct recip))) == (char *)NULL) { in add_recip() 87 if ((r->name = malloc (strlen(name)+1)) == (char *)NULL) { in add_recip()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_td.c | 62 t_optreq.opt.buf = malloc(MAXOPTSIZE); in __td_setnodelay() 80 t_optret.opt.buf = malloc(MAXOPTSIZE); in __td_setnodelay()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | full_ipadr.c | 47 if (!(retaddr = (krb5_address *)malloc(sizeof(*retaddr)))) { in krb5_make_full_ipaddr() 55 if (!(retaddr->contents = (krb5_octet *)malloc(retaddr->length))) { in krb5_make_full_ipaddr()
|
H A D | get_krbhst.c | 103 rethosts = malloc(sizeof(char *) * (count + 1)); in krb5_get_krbhst() 110 rethosts[i] = malloc(len); in krb5_get_krbhst()
|
/illumos-gate/usr/src/lib/libipd/common/ |
H A D | libipd.c | 146 malloc(sizeof (ipd_ioc_info_t) * ipil.ipil_nzones); in ipd_status_read() 163 if ((isp = malloc(sizeof (struct ipd_stat))) == NULL) { in ipd_status_read() 177 isp->is_zoneids = malloc(sizeof (zoneid_t) * ipil.ipil_nzones); in ipd_status_read() 183 isp->is_configs = malloc(sizeof (struct ipd_config) * ipil.ipil_nzones); in ipd_status_read()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 161 wptmp.we_wordv = malloc(sizeof (char *) * wptmp.we_wordn); in wordexp() 191 if ((env = malloc((n + 2) * sizeof (char *))) == NULL || in wordexp() 192 (wd = malloc(PATH_MAX + 4)) == NULL) in wordexp() 313 cp = line = malloc(BUFSZ); in wordexp()
|
/illumos-gate/usr/src/cmd/genmsg/ |
H A D | main.c | 188 if ((newprojfile = malloc(len)) == NULL) { in main() 214 if ((msgfile = malloc(len)) == NULL) { in main() 231 if ((cmd = malloc(len)) == NULL) { in main() 282 if ((newfile = malloc(len)) == NULL) { in main()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.c | 41 if ((ptr = malloc(sp->str_bufsz)) == NULL) in dt_strtab_grow() 62 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); in dt_strtab_create() 71 sp->str_hash = malloc(nbuckets * sizeof (dt_strhash_t *)); in dt_strtab_create() 241 if ((hp = malloc(sizeof (dt_strhash_t))) == NULL) in dt_strtab_insert()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_mem.c | 75 if (!(ta = (struct authlist *)malloc(sizeof (struct authlist)))) in rc_store() 197 if (!(t = (struct mem_data *)malloc(sizeof (struct mem_data)))) { in krb5_rc_mem_resolve() 204 t->name = malloc(strlen(name)+1); in krb5_rc_mem_resolve() 213 t->h = (struct authlist **)malloc(t->hsize*sizeof (struct authlist *)); in krb5_rc_mem_resolve()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | convutf8.c | 90 if ((dest = (char *)malloc(size)) == NULL) { in ldaptool_convert() 627 wcstr = (LPWSTR) malloc( sizeof( WCHAR ) * (inlen+1) ); 637 outstr = (char *) malloc(outlen + 2); 705 utf8 = (char *) malloc( outLen + 1);
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 767 head = malloc(sizeof (dladm_stat_chain_t)); in i_dlstat_legacy_rx_lane_stats() 803 head = malloc(sizeof (dladm_stat_chain_t)); in i_dlstat_legacy_tx_lane_stats() 954 curr = malloc(sizeof (dladm_stat_chain_t)); in i_dlstat_query_stats() 1152 head = malloc(sizeof (dladm_stat_chain_t)); in i_dlstat_rx_bcast_stats() 1201 head = malloc(sizeof (dladm_stat_chain_t)); in i_dlstat_rx_defunctlane_stats() 1374 head = malloc(sizeof (dladm_stat_chain_t)); in i_dlstat_tx_bcast_stats() 1413 head = malloc(sizeof (dladm_stat_chain_t)); in i_dlstat_tx_defunctlane_stats() 1769 diff_entry = malloc(sizeof (ring_stat_entry_t)); in i_dlstat_rx_ring_stat_entry_diff() 2078 head = malloc(sizeof (dladm_stat_chain_t)); in dlstat_total_stats() 2230 curr = malloc(sizeof (dladm_stat_chain_t)); in dlstat_aggr_port_stats() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/ |
H A D | debug.c | 52 in_tmp = inbuf = (char *)malloc(inbytesleft); in main() 53 out_tmp = outbuf = (char *)malloc(outbytesleft); in main()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strcoll.c | 73 if ((t1 = malloc(sz1 * sizeof (wchar_t))) == NULL) in strcoll_l() 81 if ((t2 = malloc(sz2 * sizeof (wchar_t))) == NULL) in strcoll_l()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.c | 70 void *retval = malloc(nbytes); in alloc_malloc() 137 retval = malloc(nbytes); in alloc_xmalloc()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_da_cache.c | 122 if (!(reply = malloc((*ans)->reply_len))) { in slp_find_das_cached() 159 if (!(ce = malloc(sizeof (*ce)))) { in slp_put_das_cached() 170 if (!(ce->reply = malloc(len))) { in slp_put_das_cached()
|
H A D | slp_queue.c | 97 if ((q = malloc(sizeof (*q))) == NULL) { in slp_new_queue() 120 if ((qe = malloc(sizeof (*qe))) == NULL) { in slp_enqueue() 149 if ((qe = malloc(sizeof (*qe))) == NULL) { in slp_enqueue_at_head()
|
/illumos-gate/usr/src/cmd/tr/ |
H A D | cmap.c | 50 cm = malloc(sizeof (*cm)); in cmap_alloc() 72 cmn = malloc(sizeof (*cmn)); in cmap_add() 90 ncmn = malloc(sizeof (*ncmn)); in cmap_add()
|
/illumos-gate/usr/src/boot/common/ |
H A D | misc.c | 53 cp = malloc(hlong); in unargv() 89 result = malloc(strlenout(str) + 1); in strdupout() 148 buf = malloc(len); in alloc_pread()
|