Searched refs:malloc (Results 276 - 300 of 2509) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_nat.c107 if ((req = malloc(reqsz)) == NULL)
124 if ((rbuf = malloc(rbufsz)) == NULL) {
/illumos-gate/usr/src/cmd/valtools/
H A Dckkeywd.c153 keyword = (char **)malloc(sizeof (char *) * (nkeyword + 1));
170 strval = (char *)malloc(len);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dudpublickey.c45 extern char *malloc();
70 tmpname = malloc(strlen(fname) + 4);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_hardlink.c60 qhead = (struct hardlink_q *)malloc(sizeof (struct hardlink_q));
177 hl = (struct hardlink_node *)malloc(sizeof (struct hardlink_node));
/illumos-gate/usr/src/cmd/oawk/
H A Dmain.c88 if ((wargv = (wchar_t **)malloc((argc+1) * sizeof (wchar_t *))) == NULL)
91 if ((p = (wchar_t *)malloc((strlen(argv[i]) + 1)
/illumos-gate/usr/src/cmd/eqn/
H A Dlookup.c208 char *malloc();
223 p = (tbl *) malloc(sizeof (tbl));
/illumos-gate/usr/src/cmd/getdevpolicy/
H A Dgetdevpolicy.c88 mem = malloc(nitems * sz);
130 ds = malloc(sz);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_sn.c137 bufp = malloc(i);
169 bufp = malloc(i);
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dutils.c197 info->mdata = data = malloc(sizeof (Elf_Data));
314 p = malloc(len + 1 + data->d_size);
355 p = malloc(len + 1 + data->d_size);
396 p = malloc(data->d_size);
424 hash_key = malloc(sizeof (int) * 200);
426 hash_str = malloc(sizeof (size_t) * 200);
428 strings = malloc(str_size);
517 str = malloc(next_str);
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy1.c150 amem = (int *) malloc(sizeof (int) * new_actsize);
151 psmem = (ITEM *) malloc(sizeof (ITEM) * new_pstsize);
185 lkst = (LOOKSETS *) malloc(sizeof (LOOKSETS) * (INIT_LSIZE + 1));
198 wsets = (WSET *) malloc(sizeof (WSET) * (nnontersz + 1));
203 clset.lset = (int *)malloc(sizeof (int)*TBITSET);
204 tstates = (int *)malloc(sizeof (int)*(ntoksz + 1));
205 ntstates = (int *)malloc(sizeof (int)*(nnontersz + 1));
206 temp1 = (int *)malloc(sizeof (int)*size);
207 pres = (int ***)malloc(sizeof (int **)*(nnontersz + 2));
208 pfirst = (LOOKSETS **)malloc(sizeo
[all...]
/illumos-gate/usr/src/cmd/spell/
H A Dhashlook.c124 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table))) == 0 ||
137 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table))) == 0 ||
/illumos-gate/usr/src/cmd/syslogd/
H A Dqueue.c29 #include <malloc.h>
61 dataq_data_t *ptr = (dataq_data_t *)malloc(sizeof (*ptr));
/illumos-gate/usr/src/tools/pmodes/
H A Dbinsearch.c52 itemlist x = malloc(sizeof (struct itemlist));
67 new = malloc(sizeof (char *) * l->nused);
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_dict.c132 if ((word_block = (char *) malloc(sb.st_size + 1)) == NULL)
147 if ((word_list = (char **) malloc(word_count * sizeof(char *))) == NULL)
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_token.c115 buf = (uint8_t *)malloc(*len);
145 if ((obj = malloc(sizeof (smb_logon_t))) == NULL) {
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dpcfs_glue.c96 filep->fi_memp = malloc(filep->fi_count);
112 return (malloc(s));
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnandfs.c201 sb = malloc(fs->nf_sectorsize);
293 fs->nf_fsdata = malloc(sizeof(struct nandfs_fsdata));
294 fs->nf_sb = malloc(sizeof(struct nandfs_super_block));
377 fs = malloc(sizeof(struct nandfs));
579 fs->nf_buf = malloc(fs->nf_blocksize);
615 buffer = malloc(fs->nf_blocksize);
616 inode = malloc(sizeof(struct nandfs_inode));
617 node = malloc(sizeof(struct nandfs_node));
641 buffer = malloc(fs->nf_blocksize);
644 namebuf = malloc(
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpnp.c112 id = malloc(sizeof(struct pnpident));
125 pi = malloc(sizeof(struct pnpinfo));
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Ddevicename.c114 idev = malloc(sizeof(struct zfs_devdesc));
128 idev = malloc(sizeof(struct devdesc));
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c283 if ((*buf = (char *)malloc((size_t)datalen + 1)) == NULL)
306 if ((oid->bv_val = (char *)malloc((size_t)len + 1)) == NULL) {
324 if ((*bv = (struct berval *)malloc(sizeof (struct berval)))
335 if (((*bv)->bv_val = (char *)malloc((size_t)len + 1))
372 if ((*bv = (struct berval *)malloc(sizeof (struct berval)))
381 if (((*bv)->bv_val = (char *)malloc((size_t)len + 1))
407 if ((*buf = (char *)malloc((size_t)datalen - 1)) == NULL)
606 *sss = (char **)malloc(16 * sizeof (char *));
636 *bv = (struct berval **)malloc(
778 if ((new = (struct berval *)malloc(sizeo
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_stat.c74 scp = (struct statcache *)malloc(sizeof (*scp));
/illumos-gate/usr/src/lib/passwdutil/
H A Dnss_attr.c115 malloc(sizeof (struct passwd));
137 malloc(sizeof (struct spwd));
159 if ((pwbuf->pwd_scratch = malloc(PWD_SCRATCH_SIZE)) == NULL) {
171 if ((pwbuf->spwd_scratch = malloc(SPW_SCRATCH_SIZE)) == NULL) {
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlottable.c42 pl = malloc(sizeof (crypto_get_provider_list_t));
186 slot_table = malloc(sizeof (kernel_slot_t *) * slot_count);
193 slot_table[i] = malloc(sizeof (kernel_slot_t));
217 pl = malloc(slot_count * sizeof (crypto_get_provider_list_t));
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftARCFourCrypt.c69 keystream = malloc(sizeof (ARCFour_key));
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dscheme.c117 if ((sp = malloc(sizeof (fmd_scheme_t))) == NULL ||
206 (s = malloc(len + 1)) == NULL ||
220 return (malloc(size));
228 if ((data = malloc(size)) != NULL)

Completed in 134 milliseconds

<<11121314151617181920>>