Searched refs:malloc (Results 576 - 600 of 2509) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_hc.c116 if ((rbuf = malloc(rbufsz)) == NULL) {
153 if ((rbuf = malloc(rbufsz)) == NULL)
198 if ((tmp_rbuf = malloc(*rbufsz)) == NULL) {
/illumos-gate/usr/src/lib/libmail/common/
H A Ds_string.c69 freep = (stralloc *)malloc(sizeof (stralloc));
93 sp->base = sp->ptr = malloc(STRLEN);
159 sp->base = malloc(len);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_net_secure.c37 #include <malloc.h>
73 tmp1 = (struct seclist *) malloc(sizeof (struct seclist));
120 malloc(sizeof (struct seclist));
/illumos-gate/usr/src/common/tsol/
H A Dstol.c307 if ((callp = malloc(datasize)) == NULL) {
388 if ((l = malloc(sizeof (_mac_label_impl_t))) == NULL) {
424 if ((*d = malloc(sizeof (_mac_label_impl_t))) == NULL) {
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dabienv.c42 static char const *malloc_sym = "malloc";
70 if ((lp = malloc(sizeof (Liblist))) == NULL)
127 if ((ip = malloc(sizeof (Intlist))) == NULL)
170 if ((lp = malloc(sizeof (Liblist))) == NULL)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c116 if ((hs = malloc(hostslim * sizeof (struct hs))) == NULL) {
117 (void) fprintf(stderr, "initial hs malloc failed\n");
121 if ((buf = malloc(sizeof (struct whod))) == NULL) {
122 (void) fprintf(stderr, "initial buf malloc failed\n");
168 hsp->hs_wd = malloc(whdrsize);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_enc.c153 buf = malloc(buf_len);
220 buf = malloc(buf_len);
251 buf = malloc(buf_len);
/illumos-gate/usr/src/cmd/diskscan/
H A Ddiskscan.c38 #include <malloc.h>
203 if ((verbuf = malloc(sector_size * dkg.dkg_nsect)) ==
205 perror("malloc");
211 if ((verbuf = malloc(sector_size + sector_size * dkg.dkg_nsect))
213 perror("malloc");
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dar.c151 if ((m = (Member *)malloc(sizeof (Member))) == 0) {
156 if ((l = (Memlist *)malloc(sizeof (Memlist) +
310 if ((nmem = malloc(sz)) == 0) {
/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A DString.c42 #include <malloc.h>
66 if ((ns = (String *)malloc(sz + sizeof (StringGuts) + 1)) == NULL)
187 s = (String *)malloc(STRING_START + sizeof (StringGuts) + 1);
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c949 malloc(sizeof (binding_bucket));
1036 malloc(sizeof (binding_bucket));
1115 binding = (binding_bucket *) malloc(sizeof (binding_bucket));
1190 c = (obj_list *) malloc(sizeof (obj_list));
1191 c->obj = (obj_com *) malloc(sizeof (obj_com));
1192 fullname = (char *)malloc(strlen(com->obj->ename)
1455 tmp_lib = (dt_list *) malloc(sizeof (dt_list));
1543 dep_obj = (obj_list *) malloc(sizeof (obj_list));
1545 dep_obj->obj = (obj_com *) malloc(sizeof (obj_com));
1670 malloc(sizeo
[all...]
/illumos-gate/usr/src/cmd/boot/fiocompress/
H A Dfiocompress.c183 hdr = malloc(hlen);
196 dstbuf = malloc(dstlen);
273 dstbuf = malloc(blksize);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c123 *aname = malloc((unsigned)
146 *apass = malloc((unsigned)strlen(tokval) + 1);
164 *aacct = malloc((unsigned)strlen(tokval) + 1);
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslogtab.c74 if ((lep = (struct logtab_ent *)malloc(sizeof (*lep))) == NULL) {
234 malloc(sizeof (struct logtab_ent));
317 malloc(sizeof (struct logtab_ent));
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c33 #include <malloc.h>
198 n = (struct hostdata *)malloc(sizeof (struct hostdata4));
212 n = (struct hostdata *)malloc(sizeof (struct hostdata6));
/illumos-gate/usr/src/cmd/ldap/common/
H A Dfileurl.c182 if (( url = malloc( strlen( prefix ) + 3 * strlen( path ) + 1 )) == NULL ) {
226 * and bvp->bv_val are set (the latter is set to malloc'd memory).
311 if (( bvp->bv_val = (char *)malloc( vlen + 1 )) == NULL ) {
312 if ( reporterrs ) perror( "malloc" );
354 * and bvp->bv_val are set (the latter is set to malloc'd memory).
387 if (( bvp->bv_val = (char *)malloc( bvp->bv_len + 1 )) == NULL ) {
388 if ( reporterrs ) perror( "malloc" );
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_system.c170 status = pri_get(PRI_GET, &token, &buf, malloc, ldma_md_free);
176 mdp = md_init_intern(buf, malloc, ldma_md_free);
219 component_nodes = malloc(list_size);
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dkadm_host_srv_names.c162 name = malloc(strlen(KADM5_ADMIN_HOST_SERVICE)+ strlen(host) + 2);
196 name = malloc(strlen(KADM5_CHANGEPW_HOST_SERVICE) + strlen(host) + 2);
224 name = malloc(strlen(KADM5_KIPROP_HOST_SERVICE) + strlen(host) + 2);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c136 malloc(t->bt_reclen) :
209 malloc(t->bt_rdata.size) :
248 malloc(t->bt_reclen) :
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_stash.c142 *password = (unsigned char *)malloc(strlen(start) + 2);
205 ret->data = malloc((unsigned int)in.length * 2 + 1 /*Null termination */);
261 ret->value = (unsigned char *)malloc((pwd.len - strlen("{HEX}")) / 2 + 1);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_krb5ssp.c62 be = malloc(sizeof (*be));
283 ad_data->value = malloc(ad_data->length);
337 ctx->ctx_token->tkn_ssnkey.val = malloc(keylen);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbzipfs.c169 bzfname = malloc(strlen(fname) + 5);
192 bzf = malloc(sizeof(struct bz_file));
280 bzf_tmp = malloc(sizeof(struct bz_file));
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinterp_forth.c106 line = malloc(strlen(name) + len + 1);
123 line = malloc(strlen(name) + len + 2);
262 fsi = malloc(sizeof(ficlSystemInformation));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dauth_con.c18 if (!(tmpad = (krb5_address *)malloc(sizeof(*tmpad))))
21 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) {
288 if ((auth_context->i_vector = (krb5_pointer)malloc(blocksize))) {
356 if ((newpe = (krb5_enctype *) malloc(i*sizeof(krb5_enctype)))
387 if ((newpe = (krb5_enctype *) malloc(i*sizeof(krb5_enctype)))
H A Dpreauth.c170 if ((send_pa_list = malloc((size+1) * sizeof(krb5_pa_data *))) == NULL)
305 if ((pa = malloc(sizeof(krb5_pa_data))) == NULL) {
441 p = prompt1 = malloc(label_len + strlen(sep1) +
497 char *passcode = malloc(pcsize+1);
560 if ((pa = malloc(sizeof(krb5_pa_data))) == NULL) {

Completed in 133 milliseconds

<<21222324252627282930>>