Searched refs:malloc (Results 676 - 700 of 2509) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dgetgrent.c42 buffer = be->buffer = malloc(buflen);
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c37 #include <malloc.h>
111 if ((name = malloc(len+1)) == 0) {
165 if ((addrArray = malloc((addrCount+moreAddrCount+1)*sizeof (addrList) +
251 if ((aliasArray = malloc((aliasCount+realMac+1)*sizeof (char **)+
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetpwnam.c105 if (!allocbuf || (newline = malloc(newlinelen + 1)) == NULL)
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c396 new_attributes = malloc(master_template_size);
452 new_attrs = malloc(sizeof (generic_attr_t) * num_src_attrs);
466 malloc(src->attribute.ulValueLen);
570 /* Use generic storage to avoid a malloc. */
575 * If app sets a large value (triggering a malloc),
579 * FUTURE?: Store the original malloc size, so that
594 newStorage = malloc(new_attr->ulValueLen);
700 * only doing this to booleans which should not be malloc'ed.
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinit.c44 p = malloc((size_t)n);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dstring2key.c93 copystr = malloc((size_t) length);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dhmac_md5.c70 ds.data = malloc(ds.length);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchpw.c44 packet->data = (char *) malloc(packet->length);
230 result_data->data = (char *) malloc(result_data->length);
315 packet->data = (char *) malloc(packet->length);
508 result_data->data = (char *) malloc(result_data->length);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnssrv.c136 srv = (struct srv_dns_entry *) malloc(sizeof(struct srv_dns_entry));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c93 if (!(d->fn = malloc(strlen(*fn) + dirlen + 1)))
106 if (!(d->fn = malloc(30 + dirlen)))
109 if (!(*fn = malloc(35))) {
213 if (!(d->fn = malloc(strlen(fn) + dirlen + 1)))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_ctxsetup.c81 malloc((*nctypes) * sizeof(krb5_cksumtype))) == NULL) {
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetauthattr.c115 if ((newauth = (authattr_t *)malloc(sizeof (authattr_t))) == NULL)
H A Dgetprofattr.c109 if ((newprof = (profattr_t *)malloc(sizeof (profattr_t))) == NULL)
H A Dgetuserattr.c140 if ((newuser = (userattr_t *)malloc(sizeof (userattr_t))) == NULL)
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_xaction_ui.c181 bid = malloc(strlen(xaction->sip_xaction_branch_id) + 1);
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPFindAttrs.c472 if (!(n = malloc(sizeof (*n)))) {
522 if (!(n = malloc(sizeof (*n)))) {
561 if (!(attr = malloc(strlen(n->tag) + 1))) {
568 if (!(attr = malloc(1 + strlen(n->tag) + 1 +
H A DSLPOpen.c46 if (!(hp = malloc(sizeof (*hp)))) {
H A Dslp_config.c111 if (!(buf = malloc(buflen))) {
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c74 dlipath = malloc(sizeof (char) * dlipathsz);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_string.c164 if ((s2 = malloc(n + addl + 1)) == NULL)
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c96 cont_obj = malloc(sizeof (container_obj_t));
101 hash_obj = malloc(sizeof (hash_obj_t));
124 sec_obj = malloc(sizeof (section_obj_t));
129 hash_obj = malloc(sizeof (hash_obj_t));
153 seg_obj = malloc(sizeof (segment_obj_t));
158 hash_obj = malloc(sizeof (hash_obj_t));
182 pkt_obj = malloc(sizeof (packet_obj_t));
187 hash_obj = malloc(sizeof (hash_obj_t));
861 pkt_hash_obj->u.pkt_obj->payload = malloc(paylen);
/illumos-gate/usr/src/lib/libsocket/socket/
H A D_soutil.c119 * The path is malloc'ed and has to be freed by the caller.
160 *pathp = malloc(strlen(net->nc_device) + 1);
/illumos-gate/usr/src/lib/libxcurses/h/solaris2/
H A Dmkslocal.h94 #define halloc(n, s) malloc((size_t)((n)*(s)))
/illumos-gate/usr/src/lib/libnsctl/common/
H A Dhash.c49 node = (hash_node_t *)malloc(sizeof (hash_node_t));
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dfdsync.c77 * (The operation can only fail due to a malloc() failure.)
127 p = malloc(sizeof (rpcfd_block_t));

Completed in 123 milliseconds

<<21222324252627282930>>