Searched refs:malloc (Results 1451 - 1475 of 2509) sorted by relevance

<<51525354555657585960>>

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen_sv.c195 res = (struct __res_state *)malloc(sizeof *res);
H A Dgetaddrinfo.c910 ai->ai_canonname = (char *)malloc(strlen(str) + 1);
927 ai = (struct addrinfo *)malloc(sizeof(struct addrinfo)
945 /* XXX need to malloc() the same way we do from other functions! */
954 if ((ai = (struct addrinfo *)malloc(l)) == NULL)
963 if ((ai->ai_canonname = malloc(l)) == NULL) {
H A Dlcl_pr.c225 if ((ndbuf = malloc(bufsiz + GROWBUF)) != NULL)
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dheap.c60 ctx = (heap_context)malloc(sizeof (struct heap_context));
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Drandom.c180 rp = (struct _randomjunk *)malloc(sizeof (*rp));
H A Dsyslog.c44 #include <malloc.h>
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_open.c224 if ((buffer = malloc((size_t)byte_count)) == NULL) {
H A Daudit_rshd.c141 if ((tbuf = malloc(tlen)) == NULL) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c215 subpath = malloc(n + strlen(direntp->d_name) + 2);
H A Drandom.c195 rp = (struct _randomjunk *)malloc(sizeof (*rp));
H A Dselect_large_fdset.c86 * we start with a small one and then malloc larger chunks
142 * less one. If realloc_fds returns NULL it is because malloc
143 * failed. We expect malloc() to have done the proper
368 * Reallocate buffers of pollfds for our list. We malloc a new buffer
381 b = malloc(nta);
H A Ducred.c77 r = malloc(sz);
H A Dwalkstack.c471 * malloc so it is NOT async safe! A rather mis-designed and certainly misused
503 if ((ret = (char **)malloc(bufferlen)) == NULL)
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c214 charset = malloc(len + 1);
505 ptr = malloc(bufsize + sizeof (uint32_t));
583 /* malloc failed */
962 d_macro = malloc((size_t)num_of_d_macro * sizeof (gnu_d_macro_t));
1129 chunk = malloc(hash_mem_size + d_msgid_size + d_msgstr_size);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dregexec.c157 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dpos4obj.c176 if ((dfile = malloc(len)) == NULL)
H A Dsem.c133 if ((next = malloc(sizeof (semaddr_t))) == NULL) {
/illumos-gate/usr/src/lib/libgss/
H A Dg_imp_name.c101 union_name = (gss_union_name_t)malloc(sizeof (gss_union_name_desc));
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory_client.c36 #include <malloc.h>
H A Dutils.c130 if ((*list = malloc(valsize)) == NULL) {
/illumos-gate/usr/src/lib/libinetutil/common/
H A Deh.c60 iu_eh_t *eh = malloc(sizeof (iu_eh_t));
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_fru.c80 if ((tmp = malloc(sz)) == NULL) {
H A Dipmi_util.c103 if ((ptr = malloc(size)) == NULL)
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c382 if (dn = (char *)malloc(dns_len * 3 + 1)) {
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c36 * Simplified version of malloc(), free() and realloc(), to be linked with
96 malloc(size_t size) function

Completed in 217 milliseconds

<<51525354555657585960>>