Searched refs:malloc (Results 801 - 825 of 2509) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchpw.c44 packet->data = (char *) malloc(packet->length);
239 result_data->data = (char *) malloc(result_data->length);
/illumos-gate/usr/src/lib/libsec/common/
H A Dacltext.c159 if (*sidp = malloc(len + 1)) {
739 if ((dstr = malloc(sizeof (dynaclstr_t))) == NULL)
742 if ((dstr->d_aclexport = malloc(dstr->d_bufsize)) == NULL) {
894 if ((dstr = malloc(sizeof (dynaclstr_t))) == NULL)
897 if ((dstr->d_aclexport = malloc(dstr->d_bufsize)) == NULL) {
994 buf = malloc(strlen(acltextp) + 2);
1038 if ((dstr = malloc(sizeof (dynaclstr_t))) == NULL)
1041 if ((dstr->d_aclexport = malloc(dstr->d_bufsize)) == NULL) {
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dtimers.c191 else if(!(tp=(Timer_t*)malloc(sizeof(Timer_t))))
206 Handler_t *hp = (Handler_t*)malloc(sizeof(Handler_t));
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb.c113 ctx = malloc(sizeof (struct nb_ctx));
213 ctx->nb_scope = malloc(slen + 1);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c277 events = (struct event_list *)malloc(sizeof (struct event_list));
294 new_event = (struct event_list *)malloc(sizeof (struct event_list));
H A Dinuse_fs.c243 malloc(sizeof (struct heuristic));
311 vfsp = (struct vfstab_list *)malloc(sizeof (struct vfstab_list));
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfsignlib.c128 malloc(filesig_ALIGN(sizeof (struct filesignatures) +
272 if ((ess = malloc(sizeof (struct ELFsign_s))) == NULL) {
565 if ((new_d_buf = malloc(new_size)) == NULL)
648 if ((data->d_buf = malloc(fssize)) == NULL)
667 *fsspp = malloc(data->d_size);
759 tmpscnip = (struct scninfo *)malloc(sizeof (struct scninfo));
972 char *hashstr = malloc(hashstr_len);
1139 char *sigstr = malloc(sigstr_len);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhomedir.c109 home = (HomeDir *) malloc(sizeof(HomeDir));
159 home->buffer = (char *) malloc(home->buflen);
H A Dpathutil.c65 path = (PathName *) malloc(sizeof(PathName));
86 path->name = (char *)malloc(path->dim * sizeof(char));
/illumos-gate/usr/src/lib/libtsol/common/
H A Dsetflabel.c114 if ((callp = (labeld_data_t *)malloc(datasize)) == NULL) {
206 if ((callp = (labeld_data_t *)malloc(datasize)) == NULL) {
/illumos-gate/usr/src/lib/libumem/
H A DMakefile.com81 malloc.o \
/illumos-gate/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c113 if ((dhcack = malloc(dhcacksz)) == NULL) {
131 if ((dhcp_pl->pkt = malloc(dhcp_pl->len)) == NULL) {
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c122 key_sizes = (int *)malloc(LIBIPSEC_ALGS_KEY_NUM_VAL *
134 key_sizes = (int *)malloc(sizeof (int));
392 block_sizes = (int *)malloc(sizeof (int));
421 mech_params = (int *)malloc(sizeof (int));
470 curalg->a_names = (char **)malloc(sizeof (char *));
680 iwalker = malloc(allocsize);
803 rc = malloc((num_protos == 0) ? 1 : num_protos * sizeof (int));
831 rc = malloc((proto->proto_numalgs == 0) ? 1 :
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_callmsg.c117 oa->oa_base = malloc(oa->oa_length);
154 oa->oa_base = malloc(oa->oa_length);
H A Dsvc_simple.c155 if (((xdrbuf = malloc((unsigned)recvsz)) == NULL) ||
192 pl = malloc(sizeof (struct proglst));
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_bind.c274 * any other error, we return 0. We have to malloc the binding
294 svcaddr = malloc(sizeof (struct netbuf));
299 svcaddr->buf = malloc(SOCKADDR_SIZE);
306 binding = malloc(sizeof (struct ypbind_binding));
374 if ((pdomb = malloc(sizeof (struct dom_binding))) == NULL) {
375 syslog(LOG_ERR, "load_dom_binding: malloc failure.");
400 pdomb->dom_domain = malloc(strlen(domain) + (unsigned)1);
473 if ((pdomb = malloc(sizeof (struct dom_binding))) == NULL) {
474 syslog(LOG_ERR, "load_dom_binding_rsvdport: malloc failure.");
506 pdomb->dom_domain = malloc(strle
[all...]
/illumos-gate/usr/src/lib/libpcp/common/
H A Dpcp_utils.c252 dev_path = malloc(strlen(glvc_path) +
304 dev_path = malloc(strlen(vldc_path) +
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm_event.c187 result = malloc(sizeof (*result));
190 result = malloc(sizeof (*result));
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c36 #include <malloc.h>
61 * If buffers had been obtained via malloc(), the space will
227 * or allocates a buffer using malloc. If a buffer is obtained from malloc,
255 if ((iop->_base = (unsigned char *) malloc(size+8)) != NULL) {
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_class.c251 malloc(sizeof (au_class_ent_t));
267 malloc(sizeof (au_class_ent_t));
H A Daudit_rexecd.c216 if ((tbuf = malloc(tlen)) == NULL) {
324 if ((tbuf = malloc(tlen)) == NULL) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dattrat.c123 packbuf = malloc(bufsize);
190 if ((nv_response = malloc(nv_responselen)) == NULL)
H A Dnlspath_checks.c503 ofmt = malloc(osz);
514 nfmt = malloc(nsz);
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory_error.c38 #include <malloc.h>
398 s = malloc(bufsiz);
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_utils.c526 if ((tmp = (void *) malloc(size)) == NULL) {
537 * Alloc 'size' bytes from heap using malloc()
539 * size - number of bytes to malloc
541 * NULL - malloc() failure
551 if ((tmp = (void *) malloc(size)) == NULL) {

Completed in 160 milliseconds

<<31323334353637383940>>