Searched refs:malloc (Results 301 - 325 of 2509) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c49 copystr = malloc(len);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dkeyed_checksum_types.c66 if ((*cksumtypes = (krb5_cksumtype *) malloc(c*sizeof(krb5_cksumtype)))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpr_to_salt.c61 if (!(ret->data = malloc (size)))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dccdefname.c113 new_name = malloc(name_length+1);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_mem.c77 if (!(ta = (struct authlist *)malloc(sizeof (struct authlist))))
199 if (!(t = (struct mem_data *)malloc(sizeof (struct mem_data)))) {
206 t->name = malloc(strlen(name)+1);
215 t->h = (struct authlist **)malloc(t->hsize*sizeof (struct authlist *));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dset_allowable_enctypes.c111 if ((new_ktypes = (krb5_enctype *)malloc(sizeof(krb5_enctype) * (i + 1)))) {
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dmtctxres.c77 if ((mt = malloc(sizeof (mtctxres_t))) == 0) {
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_gids.c146 guid = (char *)malloc(SIP_RANDOM_LEN + 1);
170 r = (uint8_t *)malloc(guidlen);
207 if ((branchid = (char *)malloc(SIP_BRANCHID_LEN + 1)) == NULL)
239 if ((branchid = malloc(len)) == NULL)
H A Dsip_reass.c140 msgbuf = (char *)malloc(*msglen + 1);
194 newmsg = malloc(newlen + 1);
228 msg = (char *)malloc(value + 1);
229 splitbuf = (char *)malloc(splitlen + 1);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dtohexstr.c57 * returns a malloc'ed byte array with the length of that new byte array.
58 * The caller needs to provide a pointer to where this new malloc'ed byte array
62 * The caller is responsible for freeing the malloc'ed array when done
86 b = malloc(*blen);
H A Dutil.c59 fullpath = (char *)malloc(len);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_audit.c78 if ((node = malloc(sizeof (obj_list_t))) == NULL) {
H A Ddt_strtab.c43 if ((ptr = malloc(sp->str_bufsz)) == NULL)
64 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t));
73 sp->str_hash = malloc(nbuckets * sizeof (dt_strhash_t *));
243 if ((hp = malloc(sizeof (dt_strhash_t))) == NULL)
/illumos-gate/usr/src/lib/libeti/panel/common/
H A Dnew.c74 !(panel = (PANEL *) malloc(sizeof (PANEL))))
/illumos-gate/usr/src/lib/libgen/common/
H A Dbufsplit.c64 strp = malloc(sizeof (char *));
H A Dcopylist.c58 if ((ptr = malloc(size)) == NULL) {
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c163 curr->ifa_addr = malloc(sizeof (struct sockaddr_storage));
172 curr->ifa_netmask = malloc(sizeof (struct sockaddr_storage));
182 curr->ifa_dstaddr = malloc(
191 curr->ifa_broadaddr = malloc(
H A Dsourcefilter.c50 gf = (struct group_filter *)malloc(mallocsize);
110 gf = (struct group_filter *)malloc(mallocsize);
166 imsf = (struct ip_msfilter *)malloc(mallocsize);
205 imsf = (struct ip_msfilter *)malloc(mallocsize);
/illumos-gate/usr/src/lib/libtecla/common/
H A Derrmsg.c60 err = malloc(sizeof(ErrMsg));
/illumos-gate/usr/src/lib/libtsol/common/
H A Dbtohex.c56 * Calls malloc;
78 return ((char *)malloc(size));
H A Dbtos.c65 if ((*string = malloc(val_len)) == NULL)
92 if ((*string = malloc(ALLOC_CHUNK)) == NULL)
139 * clnt_perror, malloc, strcat, strlen.
234 * clnt_perror, malloc, strcat, strlen.
354 if ((wstring = malloc(slen * sizeof (wchar_t))) == NULL)
450 if ((wstring = malloc(slen * sizeof (wchar_t))) == NULL)
/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_mt.cc67 if ((tsd = (nisdb_tsd_t *)malloc(sizeof (*tsd))) != 0) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_refer.c76 *pp = loc = malloc(size);
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_enum.c183 if ((*key = malloc((size_t)resp.keydat.dsize + 2)) != NULL) {
185 if ((*val = malloc(
355 if ((*outkey = malloc((size_t)
358 if ((*val = malloc((size_t)
/illumos-gate/usr/src/lib/libpkg/common/
H A Dprogerr.c129 * Alloc 'size' bytes from heap using malloc()
131 * size - number of bytes to malloc
133 * NULL - malloc() failure
143 if ((tmp = (void *) malloc(size)) == NULL) {

Completed in 179 milliseconds

<<11121314151617181920>>