Searched refs:malloc (Results 526 - 550 of 2509) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/fmtmsg/
H A Dmain.c64 * malloc Allocate memory from the memory pool
77 extern void *malloc();
335 * Returns a pointer to a (malloc'd) structure that contains the
345 * A pointer to a malloc'd structure containing the severity definition
426 if (rtnval = (struct sevstr *) malloc(sizeof(struct sevstr))) {
703 p = strcpy(malloc((unsigned int) strlen(ustr)+1), ustr);
769 sevval = (char *) malloc((unsigned int) strlen(sevstrval)+1);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.h74 #define malloc(a) my_malloc(a, __FILE__, __LINE__) macro
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c184 * processed each utmpx entry. These malloc'd entries must be freed after the
186 * For RUSERSVERS_3, this routine uses array entries that are malloc'd prior
220 malloc(sizeof (struct utmpidle));
273 * malloc'd string that's a duplicate of the string.
282 tmp = (char *)malloc(size+1);
284 msgout("rpc.rusersd: malloc failed (2)");
333 malloc(MAXUSERS*sizeof (struct utmpidle *));
359 malloc(cnt * sizeof (rusers_utmp));
361 msgout("rpc.rusersd: malloc failed (1)");
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Derror.c115 if ((buffer = malloc(MAXELFERR)) == 0)
H A Dnewphdr.c116 if ((ph = malloc(sz)) == 0) {
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dzmalloc.c33 * These functions should be better than malloc(3) for large memory allocation.
64 bm = (struct buffer_map *)malloc(sizeof (struct buffer_map));
/illumos-gate/usr/src/cmd/auditreduce/
H A Dregex2.c75 p_exp = (struct exp *)malloc(nexp * sizeof (struct exp));
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c176 cs_cur = malloc(sizeof (_sd_stats_t) +
178 cs_prev = malloc(sizeof (_sd_stats_t) +
180 cs_persec = malloc(sizeof (_sd_stats_t) +
182 range = malloc(100);
/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c130 suf_pat = malloc(suf_len);
132 (void) fputs("malloc failed\n", stderr);
/illumos-gate/usr/src/cmd/bnu/
H A Dgetargs.c183 if ((ret = malloc(len)) == NULL)
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c178 rsa = (struct rdma_svc_args *)malloc(sizeof (struct rdma_svc_args));
/illumos-gate/usr/src/cmd/hal/utils/
H A Dadt_data.c78 buf = (uchar_t *)malloc (bufsize);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintpool.c88 ipnp = (ip_pool_node_t *)malloc(sizeof(*ipnp));
/illumos-gate/usr/src/cmd/sgs/libldmake/common/
H A Dld_file.c72 if (!(newstr = malloc(strlen(str) + 1))) {
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A DMakefile33 malloc.o paths.o setup.o util.o \
/illumos-gate/usr/src/cmd/lms/heci/
H A DMNGCommand.cpp62 *readBuffer = (UINT8 *)malloc(sizeof(UINT8) * inBuffSize);
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dremovef.c59 extlist = malloc(max_eptnum * sizeof (struct cfextra *));
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlog.c139 rstr = (char *)malloc(vres+2);
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsysevent_client.c77 if ((scp = (struct sysevent_client *)malloc(
/illumos-gate/usr/src/cmd/syslogd/
H A Dlist.c29 #include <malloc.h>
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_sort_line.c69 avoid is reading past the end of a malloc'd buffer in
165 line_ptr = malloc(buffer_len);
287 This copies the entire array to a malloc area, then
288 mallocs pieces of it (another malloc) for sorting a CU entries
294 This alternative would save some temporary malloc space.
617 area = malloc(sizeof(struct a_line_area));
682 ala_array = malloc(area_count * sizeof(struct a_line_area));
707 new_area = malloc(remaining_bytes);
/illumos-gate/usr/src/stand/lib/sa/
H A DMakefile27 LOCOBJS = assert.o ctype.o errno.o libintl.o malloc.o memlist.o \
/illumos-gate/usr/src/lib/krb5/ss/
H A Dparse.c61 argv = (char **) malloc (sizeof(char *));
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dhsearch.c130 (o = (Hash_t*)malloc(sizeof(Hash_t)) ) )
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdctee.c86 if(!(te = (Tee_t*)malloc(sizeof(Tee_t))) )

Completed in 137 milliseconds

<<21222324252627282930>>